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
Metadata
Release files for fastagentic 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fastagentic-1.2.2.tar.gz | 2.9 MB | Without provenance | Details for fastagentic-1.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastagentic-1.2.2-py3-none-any.whl | Python 3 | none | any | Details for fastagentic-1.2.2-py3-none-any.whl |
Total release size: 3.2 MB
Release files / fastagentic-1.2.2.tar.gz
| Download URL | fastagentic-1.2.2.tar.gz |
|---|---|
| Size | 2.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e9668fbdd72fd8a1b591dfcf5ab791f64347f446dbbfca3f5276d52c72c4157
|
|
BLAKE2b-256 checksum How to use checksums |
c337ec2297b0953535b8455ec0c5a3dfd9f5be6a841f6463f99ef0b46e060232
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / fastagentic-1.2.2-py3-none-any.whl
| Download URL | fastagentic-1.2.2-py3-none-any.whl |
|---|---|
| Size | 236.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
343a875ec6d1394b784763148a0e80538947e51c4dbb212d444e4965a349b6d6
|
|
BLAKE2b-256 checksum How to use checksums |
411b586ebff1fa2646cf73384c7d478ea1edbd8cb8757eca03b7b3a915860250
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for fastagentic 1.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.