Overview
Once deployed, invoke your agents through multiple interfaces:- CLI
- API
- Python SDK
- Dashboard
Via CLI
Basic Usage
Stream Logs
Follow execution in real-time:Async Mode
Start run and return immediately:CLI Options
string
JSON string of input data
string
Path to JSON input file
string
Individual parameters (repeatable)
boolean
Stream logs in real-time
boolean
Start run without waiting for completion
string
Environment:
development or productionVia API
POST /agents//run
Request:Status Codes
- 200 - Run completed successfully
- 202 - Run accepted (async mode)
- 400 - Invalid input
- 401 - Unauthorized (check API key)
- 404 - Agent not found
- 500 - Internal error
Get Run Status
Via Python SDK
Install
Basic Usage
Async Mode
SDK Methods
run_agent()
run_agent()
Run agent and wait for completion
run_agent_async()
run_agent_async()
Start run without waiting
get_run_status()
get_run_status()
Check run status
wait_for_run()
wait_for_run()
Wait for run to complete
cancel_run()
cancel_run()
Cancel a running agent
list_runs()
list_runs()
List recent runs
Via Dashboard
1
Navigate to agent
2
Click Run Agent
Click the Run Agent button
3
Fill input
Enter your input data in the form
4
Execute
Click Execute and watch real-time logs
- Real-time execution logs
- Action calls
- Memory operations
- Final result
- Execution time
Examples
Python Script
Node.js Script
cURL
Best Practices
Use async for long-running agents
Use async for long-running agents
Handle errors gracefully
Handle errors gracefully
Set appropriate timeouts
Set appropriate timeouts
Next Steps
Monitoring
View logs and metrics
Deploying
Deploy your agents
API Reference
Full API documentation
Agents
Learn about agents