This release is a pre-release and may not be stable for production use.
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.
Metadata
Release files for ai37-agent-host 0.1.0a10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ai37_agent_host-0.1.0a10.tar.gz | 59.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ai37_agent_host-0.1.0a10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 141.2 kB
Release files / ai37_agent_host-0.1.0a10.tar.gz
| Download URL | ai37_agent_host-0.1.0a10.tar.gz |
|---|---|
| Size | 59.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77392898afd16b3b76c8ac26e86fbf25e011bc73993b62f52298b947d6962a35
|
|
BLAKE2b-256 checksum How to use checksums |
f6dd98bbf3b0db5fd16acca233b83292eba6fb1aab7d5dc312a3da0aa1b7159a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Release files / ai37_agent_host-0.1.0a10-py3-none-any.whl
| Download URL | ai37_agent_host-0.1.0a10-py3-none-any.whl |
|---|---|
| Size | 81.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce953d82ac25e2abe3da37b1fb9c6b6f9489fb212cbcd2d6aaa4acd84e026fb2
|
|
BLAKE2b-256 checksum How to use checksums |
095f8b16622a9e9a4845669aa0bfe79dbe3d5900fba2861b4f995a31932b051d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|