Skip to main content

AgentDeploy

Zero-to-production AI agent deployment framework.

Built by SubstrAI — Open-source GenAI frameworks for serverless infrastructure.

PyPI version License: MIT

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

Metadata

Release files for substrai-agentdeploy 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for substrai-agentdeploy 1.5.0
File Size Uploaded Provenance Actions
substrai_agentdeploy-1.5.0.tar.gz 76.6 kB Without provenance Details for substrai_agentdeploy-1.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for substrai-agentdeploy 1.5.0
File Interpreter ABI Platform Actions
substrai_agentdeploy-1.5.0-py3-none-any.whl Python 3 none any Details for substrai_agentdeploy-1.5.0-py3-none-any.whl

Total release size: 141.9 kB

Release files / substrai_agentdeploy-1.5.0.tar.gz

Download URL substrai_agentdeploy-1.5.0.tar.gz
Size 76.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2f93ecd276606fdc7f21e1d0ac8c4b8d7fe45b3c5f33e1f92060ff5a93bdc644
BLAKE2b-256 checksum
How to use checksums
774fbb183b7c5152346f2d448b5f0a29acfbbf2342fb94b4daf5604d78638bce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / substrai_agentdeploy-1.5.0-py3-none-any.whl

Download URL substrai_agentdeploy-1.5.0-py3-none-any.whl
Size 65.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b798f525e45ff1ab99aab92a238ba11042b5f282ef39d8f9c5c9a07c0450bfcd
BLAKE2b-256 checksum
How to use checksums
c618eca9266425e43097e7cd541289127bee8f06787774863c94027860603845
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Security for substrai-agentdeploy 1.5.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page