Skip to main content
TL;DR: RunAgent turns your Python AI agents into multi-language APIs with zero infrastructure headaches. Write once in Python, use everywhere.

The Magic in 4 Bullets


Traditional Approach vs RunAgent

  • Spin up FastAPI server
  • Build WebSocket handlers for streaming
  • Set up authentication and rate limiting
  • Deploy and manage infrastructure
  • Handle scaling and load balancing
  • Write SDKs for each language
  • Manage security and sandboxing
  • Result: Weeks of infrastructure work before you can use your agent
  • Write Python function
  • Run runagent serve .
  • Call from any language immediately
  • Result: Agent is live and accessible in minutes

Core Concepts Cheat Sheet

ConceptWhat It MeansWhy It Matters
EntrypointsPython functions exposed as API endpointsYour business logic becomes accessible from any language
TagsNicknames for your functions (e.g., “chat”, “analyze”)Clean, memorable API names instead of function names
StreamingReal-time token delivery as they are generatedInteractive UIs, progress indicators, better UX
MicroVMsLightweight, isolated containers for each agentSecurity, resource isolation, fast cold starts
SDKsLanguage-native clients that feel like local functionsNo need to learn REST APIs or WebSocket protocols
Configrunagent.config.json defines your agent’s interfaceSingle source of truth for what your agent can do

The Developer Experience

1

Write Python Agent

def chat_agent(message: str) -> str:
    return llm.chat(message)
2

Deploy with One Command

runagent serve .
3

Call from Any Language

# Python
result = client.run(message="Hello!")
// JavaScript
const result = await client.run({message: "Hello!"});
// Go
result, _ := client.Run(ctx, map[string]interface{}{"message": "Hello!"})

What Makes This Different

🎯 Agent-First Design

Built specifically for AI agents, not generic microservices. Handles streaming, state, and agent patterns out of the box.

🚀 Zero Infrastructure

No Docker, Kubernetes, or cloud configuration needed. Focus on your agent logic, not deployment.

🔒 Production Ready

Security, scaling, monitoring, and error handling built-in from day one.

🌍 Language Agnostic

Your Python agent becomes a first-class citizen in every supported language ecosystem.

Ready to Dive Deeper?