Skip to main content
Pre-release

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.0a11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai37-agent-host 0.1.0a11
File Size Uploaded
ai37_agent_host-0.1.0a11.tar.gz 60.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ai37-agent-host 0.1.0a11
File Interpreter ABI Platform
ai37_agent_host-0.1.0a11-py3-none-any.whl Python 3 none any Details

Total release size: 143.5 kB

Release files / ai37_agent_host-0.1.0a11.tar.gz

Download URL ai37_agent_host-0.1.0a11.tar.gz
Size 60.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6125ae3928d460e2ece5754ca4581860701541763d6676d831e8c35ef10bf629
BLAKE2b-256 checksum
How to use checksums
558f53a62dab92319789f14090f7d3ff91870d81621fcf00fe65af2850a511d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.13.11 Linux/6.8.0-134-generic

Release files / ai37_agent_host-0.1.0a11-py3-none-any.whl

Download URL ai37_agent_host-0.1.0a11-py3-none-any.whl
Size 83.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fcde0041bd5be62c232f5547b5c5735ade34b4599d33254e7828ddd0fd432b9
BLAKE2b-256 checksum
How to use checksums
b148bf0b00fa228eb0a71deac1c11877416805c6a31d369c8aedb2dd3222b5b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.13.11 Linux/6.8.0-134-generic
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page