# `mix run.live`
[🔗](https://github.com/nshkrdotcom/claude_agent_sdk/blob/v0.9.2/lib/mix/tasks/run.live.ex#L1)

Runs Elixir scripts against the live Claude API instead of using mocks.

This task temporarily disables mocking and runs the specified script with actual API calls.
Use with caution as it will make real API calls and incur costs.

## Usage

    mix run.live script.exs
    mix run.live examples/basic_example.exs
    mix run.live examples/simple_analyzer.exs path/to/file.txt

## Examples

    # Run a simple analysis script
    mix run.live examples/simple_analyzer.exs lib/claude_agent_sdk.ex
    
    # Run any custom script with live API
    mix run.live my_script.exs

## Options

All additional arguments are passed through to the script.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
