About ZizkaDB
ZizkaDB is an MCP server published by ZIZKA-AI-SL in the Maps category: audit trail database for AI agents. Tamper-evident, checksum-backed decision logs with session replay and time-travel debugging to support EU AI Act Article 12 record-keeping. Drift detection, MCP, Python & TypeScript SDKs. Self-host or cloud. Conduid read 14 tools from its source: forget, get_baseline, get_behavior_change, get_context, get_token_optimization, get_token_usage and 8 more. No package is published for it, so it installs from a source checkout.
The repository has 165 stars and 43 forks, is licensed AGPL-3.0, and its last commit was on 2 Dec 2026. The latest release is v0.2.8 (2 Sep 2026): Mark zizkadb-sdk, zizkadb-mcp, zizkadb-langchain, and zizkadb-crewai as Production/Stable on PyPI and align README, wiki, CONNECT, examples, and requirement pins with th… It follows v02.7 (25 Aug 2026), and the 5 most recent releases go back to v0.2.3 (8 Jun 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include agent-auditability, agent-debugging, ai-audit, ai-compliance, article-12 and audit-log.
Install
git clone https://github.com/ZIZKA-AI-SL/ZizkaDBTools (14)
forgetDelete all events matching a filter (GDPR right to erasure).| Parameter | Type | Description |
|---|---|---|
| filter_key * | string | Field in event data to match (e.g. "user_id", "email", "session_id") |
| filter_value * | string | Value to match (e.g. "user_123", "alice@example.com") |
get_baselineOlder drift score of an agent's recent behaviour against its history.| Parameter | Type | Description |
|---|---|---|
| agent * | string | The agent to analyse (e.g. "support-bot"). |
| recent_window | integer | Number of most recent sessions treated as "recent" (5 to 500, default 50). Used when window is empty. |
| window | string | Optional time split instead: "24h", "7d" or "30d". "recent" is then every session that ended inside that period, "baseline" everything before it. |
get_behavior_changeWhat changed in an agent's behavior, measured: a period against the| Parameter | Type | Description |
|---|---|---|
| agent * | string | The agent to analyse (e.g. "support-bot"). |
| from_ts | string | Start of a custom window, ISO-8601 (custom only). |
| to_ts | string | End of the window, ISO-8601. Default now; presets are rounded down to the whole hour. |
| window | string | "24h", "7d" (default), "30d", "90d", or "custom". |
get_contextGet a formatted memory context block ready to inject into a system prompt.| Parameter | Type | Description |
|---|---|---|
| agent * | string | Your agent identifier |
| max_tokens | integer | Token budget for the context block (default 2000) |
| session_id | string | Current session ID to exclude from context (optional) |
| task * | string | What the agent is about to do (guides semantic retrieval) |
get_token_optimizationSuggest concrete ways to cut an agent's LLM token cost, from its real usage.| Parameter | Type | Description |
|---|---|---|
| agent * | string | The agent to analyse (e.g. "support-bot"). |
| from_ | string | Optional start of the period, ISO-8601. With to empty as well, the last 30 days are analysed. |
| granularity | string | Optional bucket size for trends: "day" or "week". |
| to | string | Optional end of the period, ISO-8601, exclusive. |
get_token_usageReport how many LLM tokens an agent used and what they cost over a period.| Parameter | Type | Description |
|---|---|---|
| agent * | string | The agent to report on (e.g. "support-bot"). |
| from_ * | string | Start of the period, ISO-8601 (e.g. "2026-11-01" or "2026-11-01T00:00:00Z"). Required. |
| granularity | string | Optional trend bucket size: "hour", "day" or "week". |
| to * | string | End of the period, ISO-8601, exclusive. Required. The period can be at most 366 days. |
log_eventLog an event to ZizkaDB.| Parameter | Type | Description |
|---|---|---|
| agent * | string | Unique identifier for your agent (e.g. "support-bot"): letters, numbers, dots, dashes and underscores, starting with a letter or number |
| data * | object | Any dict of relevant data (tool name, query, result, etc.) |
| event * | string | What happened (e.g. "tool_call", "user_message", "decision") |
| parent_id | string | event_id of the event that caused this one -- enables causal lineage (optional) |
| session_id | string | Groups related events into a session (optional) |
memory_diffSummarise what happened in a session.| Parameter | Type | Description |
|---|---|---|
| session_id * | string | The session to analyse |
query_eventsList recent events for an agent.| Parameter | Type | Description |
|---|---|---|
| agent * | string | Agent identifier to query |
| event_type | string | Filter by event type, e.g. "tool_call" (optional) |
| limit | integer | Number of events to return (default 20) |
reset_log_chainStart a fresh causal chain (new session_id, clear parent_id).search_memorySearch over all logged agent events.| Parameter | Type | Description |
|---|---|---|
| agent | string | Filter to a specific agent (optional -- leave blank to search all) |
| limit | integer | Number of results (default 10, max 50) |
| mode | string | Leave blank for the server default, or "keyword", "semantic", "hybrid" |
| query * | string | Natural language description of what you're looking for |
time_travelReplay the exact state of an agent at a specific point in time.| Parameter | Type | Description |
|---|---|---|
| agent * | string | Agent identifier |
| timestamp * | string | ISO 8601 datetime, e.g. "2026-05-10T15:00:00Z" |
verify_chainProve an agent's history is untouched.| Parameter | Type | Description |
|---|---|---|
| agent * | string | The agent whose history to check |
whyTrace the causal chain that led to an event.| Parameter | Type | Description |
|---|---|---|
| depth | integer | How many levels back to trace (default 10) |
| event_id * | string | The event you want to explain |
Security checks
Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.0K words.
- ✓License declaredThe repository declares the AGPL-3.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by dashboard/package-lock.json and 2 more.
- ✓No dynamic code executionScanned 273 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
What the source scan found
- Transport
- stdiomcp/zizkadb_mcp/server.py:493
- Starts other programs
- 1 callmcp/zizkadb_mcp/proxy.py:36
- Outbound network calls
- 41 callsmcp/zizkadb_mcp/server.py:148, mcp/zizkadb_mcp/server.py:167, mcp/zizkadb_mcp/server.py:178
- Writes or deletes files
- 8 callsmcp/zizkadb_mcp/server.py:91, core/api/community.py:301, integrations/livekit/zizkadb_livekit/observer.py:493
- Lockfile
- dashboard/package-lock.json and 2 more
Pattern matches on the source text of 273 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.0K words, fetched a month ago. The original in the repository is authoritative.
Read full README