Metadata-Version: 2.4
Name: agentplane-runtime
Version: 0.0.1
Summary: agentplane runtime: definitions, resources, flow execution, A2A + MCP serving
License-Expression: MIT
Requires-Python: >=3.12
Requires-Dist: a2a-sdk[http-server]<2,>=1.1
Requires-Dist: agentplane-core<0.1.0,>=0.0.1
Requires-Dist: agentplane-sdk<0.1.0,>=0.0.1
Requires-Dist: aiosqlite>=0.20
Requires-Dist: cryptography>=43
Requires-Dist: fastapi>=0.115
Requires-Dist: fastmcp==3.4.4
Requires-Dist: httpx>=0.27
Requires-Dist: langgraph<2,>=1.0
Requires-Dist: opentelemetry-api>=1.27
Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.27
Requires-Dist: opentelemetry-sdk>=1.27
Requires-Dist: pydantic-settings>=2.4
Requires-Dist: pyjwt[crypto]>=2.9
Requires-Dist: sqlalchemy[asyncio]>=2.0.30
Requires-Dist: uvicorn>=0.30
Provides-Extra: postgres
Requires-Dist: asyncpg>=0.29; extra == 'postgres'
Requires-Dist: pgvector>=0.3; extra == 'postgres'
Description-Content-Type: text/markdown

# agentplane-runtime

Owns flow definitions and resources; executes flows (LangGraph); serves each
deployed flow as an **A2A agent** (`/a2a/{name}`, a2a-sdk, A2A v1.0) or an
**MCP server** (`/mcp/{name}`, FastMCP streamable HTTP); self-registers with
the agentplane registry.

Required configuration (env prefix `AGENTPLANE_RUNTIME_`):

| Variable | Purpose |
|---|---|
| `PUBLIC_BASE_URL` | externally reachable base (a gateway route) |
| `REGISTRY_URL` | where to self-register (empty disables registration) |
| `SECRET_KEY` | Fernet key for resource credentials |
| `LLM_BASE_URL` | gateway's OpenAI-compatible endpoint (resource default) |

Run it:

```
uvicorn --factory agentplane_runtime.app:create_app --port 8000
```
