Synopsis
Description
Execute a deployed agent with input data and receive the response.Options
| Option | Description | Default |
|---|---|---|
--input, -i | JSON input data | Required |
--input-file, -f | Read input from file | - |
--output, -o | Output file path | stdout |
--stream | Enable streaming output | false |
Examples
Basic Usage
Streaming
Input Format
The input must be valid JSON:Response Format
The CLI and SDK now return a minimal payload when the execution completes:datacontains the agent output encoded withserialize_object_to_structured, so the CLI/SDK can deterministically decode every result type.- Full execution metadata (runtime, VM, invocation ID, etc.) remains available through the local invocation history endpoints and the RunAgent dashboard/middleware.
error object with diagnostic fields.
See Also
runagent deploy- Deploy an agent firstrunagent status- Check agent status