Skip to main content

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.

PyPI Python Tests Docs License

DocumentationQuickstartExamples


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

docs.neullabs.com/fastagentic

Contributing

git clone https://github.com/neullabs/fastagentic
cd fastagentic
uv sync --extra dev
uv run pytest tests/ -v

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastagentic-1.2.1.tar.gz (2.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastagentic-1.2.1-py3-none-any.whl (236.7 kB view details)

Uploaded Python 3

File details

Details for the file fastagentic-1.2.1.tar.gz.

File metadata

  • Download URL: fastagentic-1.2.1.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

Hashes for fastagentic-1.2.1.tar.gz
Algorithm Hash digest
SHA256 18f9df9b9a7bda7d8d2d0ff8c16559e03de61a9a0b19bef8283177320166bdaf
MD5 8194eb60e00e8b2231555b65fdcb7c11
BLAKE2b-256 a103afe097fd05d527a4d16793c4702afbf636c33041c04f518a027a5511a402

See more details on using hashes here.

File details

Details for the file fastagentic-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: fastagentic-1.2.1-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

Hashes for fastagentic-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c059267320551839d8f53b43194da0910393b2249c86459038bf18c1eb6a3111
MD5 a3afc9f0b036ab6fbc7ddb3d5bb49972
BLAKE2b-256 216de737aace92d59c9ff334004b160f0b45cf09a0011b20bad9197b2789e215

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page