Python SDK
The Z3rno Python SDK is a thin httpx-based client for the z3rno-server HTTP API. It ships sync and async clients with identical surfaces — every method onZ3rnoClient exists as an async def on AsyncZ3rnoClient, plus one extra (recall_stream_sse) that’s async-only.
Current version: z3rno 0.7.0 on PyPI. Requires Python 3.11+.
Install
Client
Async variant:
Method reference
Memory primitives
Streaming recall (Phase G slice 5)
Conversation memory (Phase G slice 2)
Forge — ingest, distill, refine
Tenant self-management (v0.20.3)
Sessions
Framework integrations
Each integration lives inz3rno.integrations.* and lazy-imports its host package — installing z3rno alone is enough until you actually use one.
LangChain example:
Models
Pydantic models exported fromz3rno:
Exceptions
All inherit fromZ3rnoError:
Reference
- Package:
z3rnoon PyPI —>=0.7.0 - Source: github.com/the-ai-project-co/z3rno-sdk-python
- Server: Components → z3rno-server — the API the SDK calls
- Verbs: Concepts → The Z3rno Verbs — canonical seven-verb table
- MCP variant: Integrations → Anthropic MCP — same SDK, exposed as MCP tools