The deployment layer for agentic applications. Build agents with anything. Ship them with FastAgentic.
Project description
FastAgentic
Build agents with anything. Ship them with FastAgentic.
Documentation • Quickstart • Examples
The Deployment Layer for AI Agents
Your agent works locally. Now make it production-ready in minutes, not weeks.
FastAgentic wraps any agent framework—PydanticAI, LangGraph, CrewAI, LangChain—and adds everything you need for production:
| You Get | Without Rewriting Your Agent |
|---|---|
| Checkpointing | Resume 90-minute research agents after crashes |
| Observability | See every step, token, and decision |
| Cost Control | Token budgets, rate limits, circuit breakers |
| Security | OAuth, RBAC, PII detection out of the box |
| Protocols | MCP + A2A support for tool sharing and collaboration |
Your Agent (any framework) → FastAgentic → Production-Ready API
Install
pip install fastagentic
30-Second Example
Wrap any existing agent with zero code changes:
from your_agent import research_agent # Any agent, any framework
from fastagentic import run_opaque
# One line. That's it.
result = await run_opaque(
research_agent,
query="AI trends 2025",
run_id="research-001", # Enables resume on crash
)
Re-run with the same run_id? Instant cached result. No re-execution.
Full Application
from fastagentic import App, tool, agent_endpoint
from fastagentic.adapters import LangGraphAdapter
app = App(title="My Agent API")
@tool
async def search(query: str) -> list[str]:
"""Search the knowledge base."""
return await kb.search(query)
@agent_endpoint("/chat", runnable=LangGraphAdapter(my_graph))
async def chat(message: str) -> str:
...
fastagentic run # HTTP API server
fastagentic mcp serve # MCP stdio server
fastagentic agent chat # Interactive testing
Framework Adapters
| Framework | Adapter | Install |
|---|---|---|
| PydanticAI | PydanticAIAdapter |
pip install fastagentic[pydanticai] |
| LangGraph | LangGraphAdapter |
pip install fastagentic[langgraph] |
| CrewAI | CrewAIAdapter |
pip install fastagentic[crewai] |
| LangChain | LangChainAdapter |
pip install fastagentic[langchain] |
Why FastAgentic?
The problem: You've built an agent. It works. But shipping it means adding:
- Crash recovery for long-running tasks
- Monitoring and cost tracking
- Authentication and authorization
- Rate limiting and retries
- API endpoints and protocols
The solution: FastAgentic handles all of this. You keep your agent code unchanged.
Documentation
- Getting Started — Up and running in 5 minutes
- Adapters — Connect any framework
- Checkpointing — Resume long-running agents
- MCP Protocol — Tool sharing standard
- Deployment — Docker, Kubernetes, cloud
Contributing
git clone https://github.com/neullabs/fastagentic
cd fastagentic
uv sync --extra dev
uv run pytest tests/ -v
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastagentic-1.2.2.tar.gz.
File metadata
- Download URL: fastagentic-1.2.2.tar.gz
- Upload date:
- Size: 2.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e9668fbdd72fd8a1b591dfcf5ab791f64347f446dbbfca3f5276d52c72c4157
|
|
| MD5 |
ccaf2c3b42483115843e69f21b334e60
|
|
| BLAKE2b-256 |
c337ec2297b0953535b8455ec0c5a3dfd9f5be6a841f6463f99ef0b46e060232
|
File details
Details for the file fastagentic-1.2.2-py3-none-any.whl.
File metadata
- Download URL: fastagentic-1.2.2-py3-none-any.whl
- Upload date:
- Size: 236.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
343a875ec6d1394b784763148a0e80538947e51c4dbb212d444e4965a349b6d6
|
|
| MD5 |
582758645788a18a8dcd52aa06545195
|
|
| BLAKE2b-256 |
411b586ebff1fa2646cf73384c7d478ea1edbd8cb8757eca03b7b3a915860250
|