Master the fundamental concepts that make RunAgent powerful
Type | When to Use | Input/Output | Best For |
---|---|---|---|
Standard | Most use cases | dict → dict | Chat, analysis, processing |
Streaming | Real-time responses | dict → Iterator[str] | Long-form generation, live updates |
Custom | Your exact function | your_params → your_return | Maximum flexibility |
_stream
. This tells RunAgent to handle real-time data flow differently.runagent.config.json
file is where the magic happens. It’s the contract between your Python code and the outside world:
🔒 Sandboxed Execution
🔐 Secrets Management
🛡️ API Security
conversation_id
and pass it with every request. Your Python agent stays stateless but provides stateful behavior.