Skip to main content

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.

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

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

substrai_agentdeploy-1.2.0.tar.gz (64.0 kB view details)

Uploaded Source

Built Distribution

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

substrai_agentdeploy-1.2.0-py3-none-any.whl (55.4 kB view details)

Uploaded Python 3

File details

Details for the file substrai_agentdeploy-1.2.0.tar.gz.

File metadata

  • Download URL: substrai_agentdeploy-1.2.0.tar.gz
  • Upload date:
  • Size: 64.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for substrai_agentdeploy-1.2.0.tar.gz
Algorithm Hash digest
SHA256 c11117c932c598c1c44f2ca9049a0f827ddbcfe9c7b95ed075975b75d49e5ada
MD5 6f7c66d27936a72c34da9d1ed223dbc3
BLAKE2b-256 be5dc7106025ec181a58b1251b70c8a891c75fc81ce28c8ca0447a25c5e20d8c

See more details on using hashes here.

File details

Details for the file substrai_agentdeploy-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for substrai_agentdeploy-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd183d08843d8ace740454828202e1ee4b347e881df4a19f16493534e9f2fe6f
MD5 5b85a40ceb8c0ce2cee9e5ab8e2a4bfb
BLAKE2b-256 4369bfaccf2a9adaebfadfbf64c543a36773c8bb0d4ef2ad94d459c6cb3fd1aa

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