pip install dakera==0.13.2 Copy PIP instructions
Python SDK for Dakera AI — the memory engine for AI agents
→ Try the playground · Full benchmark results · dakera.ai
docker run -d \ --name dakera \ -p 3000:3000 \ -e DAKERA_ROOT_API_KEY=dk-mykey \ ghcr.io/dakera-ai/dakera:latest curl http://localhost:3000/health # → {"status":"ok"} For persistent storage with Docker Compose:
curl -sSfL https://raw.githubusercontent.com/Dakera-AI/dakera-deploy/main/docker/docker-compose.yml \ -o docker-compose.yml DAKERA_API_KEY=dk-mykey docker compose up -d Full deployment guide (Docker Compose, Kubernetes, Helm): dakera-deploy
pip install dakera For async support (AsyncDakeraClient):
pip install dakera[async] Works with LangChain, LlamaIndex, CrewAI, AutoGen, and any Python agent framework.
from dakera import DakeraClient client = DakeraClient(base_url="http://localhost:3000", api_key="dk-mykey") client.store_memory(agent_id="my-agent", content="User prefers brevity", importance=0.9) Full example — store, recall, upsert, and hybrid search:
Compatible with both v0.11.108 and v0.12.0 servers. Everything new is additive: calls that do not use a v0.12 feature send exactly what they sent before, and the v0.12-only calls fail with a clear error (NotFoundError / 405) on a v0.11 server.
from dakera import DakeraClient, Record, Representation, RepresentationKind, BlockDType client = DakeraClient("http://localhost:3000", api_key="your-key") client.wait_until_ready(timeout=120) caps = client.capabilities() if caps.supports_attachments: up = client.upload_attachment("_dakera_agent_a1", "note.wav") job = client.transcribe_attachment("_dakera_agent_a1", up.attachment_ref, "a1", lang="en") done = client.wait_for_transcription("_dakera_agent_a1", up.attachment_ref, job.job_id) if caps.supports_records: client.upsert_records("docs", [Record( id="r1", values=[0.1, 0.2, 0.3, 0.4], representations=[Representation( "tokens", [[0.1, 0.2], [0.3, 0.4]], kind=RepresentationKind.TOKEN_MULTIVECTOR, store_as=BlockDType.F16)])]) Note: the v0.12 server's gRPC port requires an API key. This SDK speaks REST only.
pip install dakera[tealtiger] tealtiger import asyncio from dakera.async_client import AsyncDakeraClient from dakera.integrations.tealtiger import ( DakeraCostStorage, DakeraDecisionStore, DakeraDelegationHelper, ) client = AsyncDakeraClient("http://localhost:3000", api_key="dk-mykey") # Drop-in async CostStorage backend — passes directly to TealTiger client cost_storage = DakeraCostStorage(client) from tealtiger import TealOpenAI, TealOpenAIConfig teal_client = TealOpenAI(config=TealOpenAIConfig(cost_storage=cost_storage)) # Governance decision audit trail with idempotency checks (all methods are async) decision_store = DakeraDecisionStore(client) # receipt_id = await decision_store.store_receipt("my-agent", decision) # is_duplicate = await decision_store.is_terminal("my-agent", correlation_id) # Multi-hop delegation chain traversal via memory knowledge graph delegation = DakeraDelegationHelper(client) await delegation.link_delegation(child_id=child_mem_id, parent_id=parent_mem_id, agent_id="my-agent") chain = await delegation.get_delegation_chain("my-agent", root_id, max_depth=5) All cost records, decision receipts, and delegation chains are stored in Dakera memory with importance-weighted retention (DENY receipts at 0.95 outlast ALLOW at 0.80) and full knowledge-graph traversal for audit purposes.
See examples/tealtiger_governance.py for a complete walkthrough. Join the integration discussion or visit the TealTiger repo.
dakera.ai · Docs · Benchmark · Request Early Access
Built with Rust. Single binary. Zero external dependencies.
agent-memory vector-search knowledge-graph mcp ai-agents self-hosted memory-engine vector-database session-management embeddings dakera ai ml
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.




