agno-agent-builder
Parametrizable Agno runtime as a library. Build a fully configured FastAPI app for chat with hot-reloadable agents fetched from any source you plug in.
Quick start
from agno_agent_builder import create_app, RuntimeConfig, PayloadAgentSource
app = create_app(
RuntimeConfig(
app_name="my-runtime",
agent_source=PayloadAgentSource(
base_url="http://payload:3000",
internal_secret="...",
),
mcp_url="http://mcp:3001/mcp",
database_url="postgresql://user:pass@host:5432/db",
internal_secret="...",
)
)
Public API
| Symbol | Purpose |
|---|---|
create_app(config) |
Returns a configured FastAPI app |
RuntimeConfig |
Pydantic model — required + optional knobs |
AgentSource |
Protocol — implement async fetch_agents() -> list[AgentConfig] |
AgentConfig |
Normalized per-agent record (CMS-agnostic) |
PayloadAgentSource |
Default source for Payload CMS |
build_agent, build_model, build_mcp_tools |
Lower-level builders for advanced wiring |
compose_instructions, DEFAULT_TOOL_PROTOCOL, DEFAULT_OUTPUT_FORMAT |
Override-friendly prompt building blocks |
What you get
- AgentOS REST surface (
/agents,/sessions,/metrics, …) POST /agents/{slug}/runsSSE chat/health,/readyKubernetes probesPOST /internal/agents/reloadadmin endpoint- Postgres
LISTEN/NOTIFYhot reload + 5-min belt-and-braces resync - ASGI middlewares:
X-Request-ID,X-Internal-Secretauth,X-Tenant-Id→request.state.metadata
Reference consumer
The default consumer that ships in this repo lives in
../agno-agent — it wraps create_app with env-driven
settings and is what runs in the agno-agent devcontainer service. ZP and
nexus install this lib from PyPI and write their own thin consumer.
Metadata
Release files for agno-agent-builder 0.1.16
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 |
|---|---|---|---|---|
| agno_agent_builder-0.1.16.tar.gz | 76.7 kB | With provenance | Details for agno_agent_builder-0.1.16.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agno_agent_builder-0.1.16-py3-none-any.whl | Python 3 | none | any | Details for agno_agent_builder-0.1.16-py3-none-any.whl |
Total release size: 136.6 kB
Release files / agno_agent_builder-0.1.16.tar.gz
| Download URL | agno_agent_builder-0.1.16.tar.gz |
|---|---|
| Size | 76.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74df18b97b9c8a1a6ad8597f25ed4c9249bed6ebc26d50f973ff675d6b3f9196
|
|
BLAKE2b-256 checksum How to use checksums |
5e81a5c1b2274360d23c3ba00eecbc7f4508fb5f842bcde1fb826ce382f7d243
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 6, 2026.
Transparency logRelease files / agno_agent_builder-0.1.16-py3-none-any.whl
| Download URL | agno_agent_builder-0.1.16-py3-none-any.whl |
|---|---|
| Size | 59.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6d5b5880df059aab97868f6d7b0145dabdf6f40eab0191f34528649aabd8fb6
|
|
BLAKE2b-256 checksum How to use checksums |
02bab774c499994ce748c1341be36c167828ecfd49369c9d221acab83c2ce4b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 6, 2026.
Transparency logSecurity for agno-agent-builder 0.1.16
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for agno_agent_builder-0.1.16.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 6, 2026.
Transparency logA 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.