Zero-to-production AI agent deployment framework
Project description
AgentDeploy
Zero-to-production AI agent deployment framework.
Built by SubstrAI — Open-source GenAI frameworks for serverless infrastructure.
The Problem
Building an AI agent is easy. Deploying it to production with auth, scaling, sessions, cost controls, and multi-tenancy takes weeks of custom infrastructure — every time.
The Solution
from agentdeploy import agent, Tool, Session
@Tool(description="Search knowledge base")
def search_kb(query: str) -> list:
return ["result 1", "result 2"]
@agent(name="support-agent", model="bedrock/claude-3-sonnet", tools=[search_kb])
def support_agent(message: str, session: Session) -> str:
return f"I can help with: {message}"
agentdeploy deploy --env prod
# ✓ Deployed: https://xxx.execute-api.us-east-1.amazonaws.com/prod/agent
Features
- @agent decorator — turn any function into a deployable agent
- Session management — DynamoDB-backed conversation persistence
- Tool sandboxing — per-tenant tool permissions with audit trail
- Cost circuit breakers — auto-kill runs exceeding budget
- Multi-tenancy — tenant isolation, rate limiting, cost tracking
- One-command deploy — API Gateway + Lambda + DynamoDB
- Provider agnostic — works with Bedrock, OpenAI, Anthropic, custom
- Adapter interface — supports LangChain, CrewAI, Strands, custom agents
Installation
pip install substrai-agentdeploy
Quick Start
agentdeploy init my-agent
cd my-agent
agentdeploy dev # local dev server
agentdeploy deploy --env prod
License
MIT — see LICENSE
Author
Gaurav Kumar Sinha — Founder, SubstrAI
- Email: gaurav@substrai.dev
- GitHub: @substrai
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
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 substrai_agentdeploy-0.4.0.tar.gz.
File metadata
- Download URL: substrai_agentdeploy-0.4.0.tar.gz
- Upload date:
- Size: 24.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6520d3c64aaf34206759561ee3b294c2a6a8a3d4ce92890c714f87c5e0c72ae5
|
|
| MD5 |
b265383b89a2f96fdb9a7bba034f6440
|
|
| BLAKE2b-256 |
be0922c16018156ee3f23d32f5fa12696b95dfda4d9e74b1cfe49f9df28f69de
|
File details
Details for the file substrai_agentdeploy-0.4.0-py3-none-any.whl.
File metadata
- Download URL: substrai_agentdeploy-0.4.0-py3-none-any.whl
- Upload date:
- Size: 24.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d12f6d0edf882d5e0197b8a33613019220a1852f573d3c1e64698e224764eed8
|
|
| MD5 |
baa99330e58dde6d76f67ed2db2c06b6
|
|
| BLAKE2b-256 |
d40f4bd793940b0490f4cc5b94efeaa870e205434e22c4ef4acffe28af75003b
|