First public release of the AgentWrit Python SDK. Complete rewrite from the internal v0.1.0/v0.2.0 codebase.
- AgentWritApp — main entry point; authenticates with the broker on first use (lazy auth)
- create_agent() — registers an agent with Ed25519 challenge-response, returns an
Agentobject - Agent — lifecycle management:
renew(),release(),delegate() - validate() — module-level online token validation against the broker
- scope_is_subset() — module-level scope comparison utility
AgentClaims,ValidateResult,RegisterResult,HealthStatus,DelegatedToken,ProblemDetail— typed dataclasses for all broker responses
AgentWritErrorbase exception with RFC 7807ProblemDetailsupport- Typed hierarchy:
AuthenticationError,AuthorizationError,RateLimitError,ProblemResponseError,TransportError
httpx-based HTTP transport with automatic error dispatch- User-Agent:
agentwrit-python/0.3.0
- 99 unit tests (no broker required)
- 15 acceptance stories against live broker
- Integration test suite with session-scoped fixtures
- MedAssist AI (FastAPI + HTMX) — multi-agent medical encounter pipeline
- Support Tickets (Flask + HTMX + SSE) — triage/knowledge/response agent pipeline