Deploy AI agents to production in seconds, not hours
runagent.config.json
of you project points to your Python function, they are automaically converted to corresponding API endpoints, and all language SDKs automatically adapt. No API versioning, no breaking changes. Install the RunAgent CLI
Initialize Agent
Setting Up RunAgent config file
main.py
)mock_response
function is one of the invocation functions for our agent, so we will add this in runagent.config.json
file:Run the Agent (Locally)
Use in your application
mock_response
function) now becomes accessible in:Setting Up RunAgent config file
main.py
)mock_response_stream
function will return an Iterator, and to stream this response, we will add this in runagent.config.json
file, as anotehr entrypoint:_stream
suffix. That is how RunAgent identifies it for streaming.Run the Agent (Locally)
Use streaming in your application
mock_response
function) now becomes accessible in: