Key Benefits
- Deploy agents in seconds - Serverless infrastructure with automatic scaling
- Access from Python, JS, Go, Rust and coming more - Native-feeling SDKs for every language
- Built-in streaming - Real-time token streaming for responsive applications
Quick Actions
Deploy your first agent
Get started with a complete tutorial
Use frameworks
Integrate with popular AI frameworks
Explore SDKs
Access agents from any language
The Problem Every AI Developer Faces
Suppose you’ve built an incredible AI agent in Python. It uses LangGraph for complex reasoning, leverages powerful tools, and produces amazing results. Your team loves it!Then reality hits:
Your whole team is excited to use it! But the frontend team needs to access it in JavaScript, your mobile app team wants it in Kotlin, your Unity team wants it in C#, your systems team requires it in Rust.The traditional approach?
Build separate implementations, REST APIs, WebSocket handlers…Sound exhausting? That’s because it is!
What RunAgent Actually Does
RunAgent fundamentally changes how AI agent deployment works. Your Python function signatures automatically become API contracts (REST or Streaming) for every supported language. The fastest way to experience the magic is with RunAgent CLI:1
Install the RunAgent CLI
This installs the powerful RunAgent CLI, which is used to deploy and manage your agents.
2
Initialize Your Agent
Let’s start with a minimal Agent example.This creates a new directory with everything you need to get started:The
What
runagent init created for you:- A
main.pyfile with example agent functions (mock_responseandmock_response_stream) - A
runagent.config.jsonfile with entrypoints already configured - All the boilerplate needed to make your Python agent accessible from any language
runagent.config.json file contains all the configuration for your agent, including:Key fields:
agent_id: A unique identifier for your agent (generated automatically)agent_architecture.entrypoints: Defines which Python functions are accessible as API endpointsauth_settings: Authentication configuration (defaults to “none”)env_vars: Environment variables for your agent
3
Run the Agent Locally
Start your agent locally to test it:You will see output similar to:That’s it! Your agent is now running and accessible through standard REST API as well as all RunAgent SDKs.
4
Use the Agent in Your Application
Using the RunAgent SDKs, you can access your agent from any supported language. You only need the agent ID and the entrypoint tag. Your Notice how the same agent logic is accessible from all languages with idiomatic syntax for each.
mock_response function now becomes accessible in multiple languages:From Local Testing to Production in Seconds
Once you’ve tested your agent locally and confirmed everything works, deploying to production is just one command away. RunAgent Cloud is the fastest AI agent deployment platform, designed to take your local agent from development to production instantly. No complex infrastructure setup, no deployment headaches.Deploy to Production
- Automatic scaling - Handle one request or one million
- Global edge network - Low latency worldwide
- Zero infrastructure management - Focus on your agent, not servers
- Production-ready security - Enterprise-grade isolation and security
Learn More About Deployment
Explore advanced deployment options, environment variables, and monitoring capabilities.
Agent Framework Support
RunAgent works with any Python-based AI agent framework:LangGraph
Deploy your LangGraph agents with built-in state management and workflow execution.
CrewAI
Deploy multi-agent CrewAI systems with coordinated execution and monitoring.
AutoGen
Deploy Microsoft AutoGen multi-agent conversations with step-by-step execution.
AG2
Deploy AG2 conversational agents with fact-checking and multi-turn interactions.
Agno
Deploy Agno AI agents with print response capabilities and streaming support.
Letta
Deploy Letta memory-enabled agents with persistent conversations and tool integration.
Custom Framework
Use any Python-based framework by defining simple entrypoint functions.
Multi-Language SDK Support
RunAgent provides native-like access to your deployed agents across multiple languages:Python SDK
Python client with streaming capabilities. Access your agents like local functions with full type safety and Python idioms.
JavaScript SDK
Full TypeScript support with streaming and Promise-based APIs. Perfect for modern web applications with async/await patterns.
Rust SDK
High-performance async SDK with futures and streaming support. Zero-cost abstractions for systems programming and performance-critical applications.
Go SDK
Idiomatic Go client with context-aware operations and channel-based streaming. Built for concurrent, scalable applications.
All Language SDKs
We’re actively developing SDKs for additional languages including C++, C#, Java, and PHP. Want to contribute or request a specific language? Join our Discord community.
Real-Time Streaming Across Languages
In addition to standard REST API responses, you can also stream your agent responses seamlessly through our SDKs. When your entrypoint streams a response, RunAgent makes it feel native in every language SDK:1
Streaming is Already Set Up
When you ran The
runagent init, it automatically created both a non-streaming and a streaming function for you. The streaming function is already defined in main.py and configured in runagent.config.json:main.py
runagent.config.json already includes this entrypoint with the tag minimal_stream (note the _stream suffix, which tells RunAgent this is a streaming endpoint).The tag for a streaming entrypoint must end with a
_stream suffix. This is how RunAgent identifies it as a streaming endpoint.2
Run the Agent Locally
Start your agent locally (the streaming endpoint is already available):
3
Use Streaming in Your Application
Using the RunAgent SDKs, you can stream responses from your agent. The streaming experience feels natural in each language:
Next Steps
- Head to the tutorials guide to see the full capabilities
- Browse our framework guides for LangGraph, CrewAI, and more
- Check out core concepts to understand how it all works
Still have a question?
- Join our Discord Community
- Email us: [email protected]
- Follow us on X
- New here? Sign up