AI37 agent host (Python): A2A + AG-UI + MCP + file-aware store backends поверх a2a-sdk и ai37-agent-sdk. Порт @ai37/agent-host.
Project description
ai37-agent-host (Python)
Host-слой A2A-агентов экосистемы AI37 (Python). Порт TS-пакета @ai37/agent-host
поверх официального a2a-sdk (Starlette) и базового ai37-agent-sdk (auth/billing/context).
Разработчик агента реализует один контракт AgentHandler.run(req) -> AgentResult и вызывает
create_agent_host(...), а host даёт весь транспорт (A2A JSON-RPC/REST, AG-UI SSE, опц. MCP),
JWT-guard, content-negotiation A2UI, file-aware store-backends и Langfuse-трассировку.
Base-SDK (
ai37-agent-sdk) — синхронный; host — async. На стыке billing/auth sync-вызовы оборачиваются вanyio.to_thread.run_sync, чтобы не блокировать event-loop.
Статус
Порт в работе (Фаза 2). Готово:
types— контракты (AgentHandler/AgentInput/AgentEvent/AgentResult/ContextFile/A2uiComponent/…);als— request-scope наcontextvars(current_ctx/current_bearer/current_supported_catalog_ids/…).
В работе: parse, build_task, a2a_executor, auth_guard, output_modes, a2ui,
create_agent_host, store_backend (+read_raw), agui, mcp, relay, observability/langfuse.
Project details
Release history Release notifications | RSS feed
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 ai37_agent_host-0.1.0a9.tar.gz.
File metadata
- Download URL: ai37_agent_host-0.1.0a9.tar.gz
- Upload date:
- Size: 57.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1340ae3b9928be6946118969ab6632726b3133be9fa13c8aba888c0a2b4ffa9e
|
|
| MD5 |
ac3b046b86dda838862ab127e470b466
|
|
| BLAKE2b-256 |
c9d5d85806ebcd4ebc6f0df9bf3c2c5b9b84f597163eeb7284e2e7e5ea90577a
|
File details
Details for the file ai37_agent_host-0.1.0a9-py3-none-any.whl.
File metadata
- Download URL: ai37_agent_host-0.1.0a9-py3-none-any.whl
- Upload date:
- Size: 78.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f2a61c56505d5d6baaaa87dce0c12139563643c03d91966461386727abcd81d
|
|
| MD5 |
e616e5634f43445c818bc08b3687ba7a
|
|
| BLAKE2b-256 |
e2a302d7c678ca4da18ede42bfbe36a198bfe8a4283b98c2d9006aae8b4fd500
|