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.0a10.dev0

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.0a10.dev0
File Size Uploaded
ai37_agent_host-0.1.0a10.dev0.tar.gz 59.8 kB Details

Built distribution (wheel)

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

Total release size: 141.6 kB

Release files / ai37_agent_host-0.1.0a10.dev0.tar.gz

Download URL ai37_agent_host-0.1.0a10.dev0.tar.gz
Size 59.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e32ca83f4f27c803ee4593d0200d14b8d3af5545116500d670a3a4776f29e908
BLAKE2b-256 checksum
How to use checksums
bcb19b2dc61b47440070da76f0d72de10d623278e556fe50e624bfd81a5bf285
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.0a10.dev0-py3-none-any.whl

Download URL ai37_agent_host-0.1.0a10.dev0-py3-none-any.whl
Size 81.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
372d350ef30654f28611298dc1c8f273f7b921fd8ede276e266cf41ac098f747
BLAKE2b-256 checksum
How to use checksums
9841da423cb62f9394bf79d6297348614a71447dbdb69edeaf59b494eff572d4
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