ZizkaDB README

项目的 README,来自 github.com/ZIZKA-AI-SL/ZizkaDB。合并为一个 markdown 文件:README.md。

ZizkaDB, the audit trail for AI agents in regulated industries

ZizkaDB

Prove what your AI agents did.

A tamper-evident record of every AI agent decision, linked to its cause, for banks, insurers, healthcare
and the public sector in Europe. Your auditor can check that no record was changed.

Open source on Postgres · EU AI Act, DORA and GDPR record-keeping · Python & TypeScript SDKs · MCP server
Self-host, ZizkaDB Cloud (Frankfurt) or Enterprise in your own VPC

Quickstart · Editions · Regulations · Connect · Docs · Trust · Discussions · Contributing

CI License: AGPL-3.0 OpenSSF Baseline Audited by AddonAudit ZIZKA-AI-SL/ZizkaDB MCP server Release Python SDK TypeScript SDK GitHub stars

Total downloads, all packages (see the per-package breakdown)

#1 Product of the Week on PostYourStartup

When an AI agent approves a loan, flags a claim or answers a patient, someone will later ask about that decision. Usually it is an auditor, a regulator or the customer:

What auditors ask Why ordinary logs fall short With ZizkaDB
Which AI decision affected this customer? Logs show what happened, not why Every decision linked to its cause
What did the agent know when it decided? Anyone with database access can edit them unnoticed SHA-256 checksum and per-agent hash chain on every event
Can you prove the record was not changed? Traces are sampled, rotated or expire Replay any session as the agent saw it
How long do you keep it, and where? The data often sits outside the EU Retention per agent; export with checksums for your auditor; your servers or Frankfurt

ZizkaDB is an audit trail database for AI agents. It is built for auditability, not observability: tracing tools show span trees of what happened, while ZizkaDB records why each decision happened and lets anyone prove the record is intact.

In plain words: ZizkaDB is a flight recorder for AI agents. It records every step an agent takes and which step led to it, and it can show that nobody changed the recording afterwards.

Start here

You are… Go to
A compliance, risk or audit lead Regulations · Editions · Trust & compliance
New to ZizkaDB, or not technical ZizkaDB Cloud: nothing to install
A developer trying it on your laptop Quickstart: one command, about a minute
Adding it to an agent you already have Connect your agent
Running it for your team on a server Self-host on a server or Deploy on Redu Cloud
Running it in your own VPC with a commercial licence ZizkaDB Enterprise

Causal debugging for AI agents: db.why() traces a tool call back through the LLM response to the user message that caused it

Contents


Quickstart (60 seconds)

One command, one container. No repo clone, no Python, no config files.

Self-hosted quickstart: one curl command starts the open-source ZizkaDB database on Postgres and prints an AI agent causal chain

1. Run it. With Docker running:

curl -fsSL https://raw.githubusercontent.com/ZIZKA-AI-SL/ZizkaDB/main/scripts/quickstart-remote.sh | bash

This pulls a single image (Postgres, the API and the dashboard together), starts it, and logs a demo agent run. After the download, startup takes a few seconds.

2. See why. It prints the causal chain behind the demo agent's tool call:

tool_call · lookup_order · ORD-8842
  └── llm_response · gpt-4o
        └── user_message · Why was my order delayed?

3. Explore. The dashboard opens on that agent, already signed in: localhost:3001/dashboard/activity?agent=support-bot. Click any event → Why? (causal) tab.

Now log your own agent: pip install zizkadb-sdk, then see CONNECT.md. The local API is http://localhost:8000 with key zizkadb_dev_local.

Prefer plain docker run? Day-two commands

The script is a wrapper around this:

docker run -d --name zizkadb -e ENV=development \
  -p 127.0.0.1:8000:8000 -p 127.0.0.1:3001:3001 \
  -v zizkadb_data:/data ghcr.io/zizka-ai-sl/zizkadb
Do this Command
Stop / start docker stop zizkadb / docker start zizkadb
Logs docker logs -f zizkadb
Upgrade (keeps data) re-run the quickstart command
Erase everything docker rm -f zizkadb && docker volume rm zizkadb_data
Dashboard port busy ZIZKADB_DASHBOARD_PORT=3005 before the quickstart command

The single container has two modes:

The single container runs without Qdrant: search and context_for() use keyword search there (no setup, no OpenAI key). For vector search, use the full stack below with embeddings on.

The self-hosted dashboard is just your dashboard: no signup, no email, no account. Accounts and plans exist only on ZizkaDB Cloud.

Self-hosted is single-agent: the first agent name you log with becomes your agent, and a second name is rejected with a message naming it. The support-bot demo agent does not count. For several agents, use ZizkaDB Cloud or Enterprise (what each edition includes).

Self-host from a clone

The full stack (Postgres, Qdrant, Redis, API, dashboard as separate containers) — use this for development, vector search, or production. It generates random database, Redis and Qdrant passwords on first setup:

git clone https://github.com/ZIZKA-AI-SL/ZizkaDB.git && cd ZizkaDB
bash scripts/setup-local.sh
Service URL
API http://localhost:8000
Dashboard http://localhost:3001
Swagger http://localhost:8000/swagger

Self-host on a server

On a machine other people can reach:

cp .env.example infra/.env
bash scripts/init-secrets.sh        # random Postgres, Redis, Qdrant and JWT secrets

Then set these in infra/.env before starting the stack:

ENV=production                      # turns off the one-click button and dev API keys
DEV_API_KEY=<random>                # must not be the default, or the API refuses to start
DEPLOYMENT_MODE=self_hosted
SELFHOST_ADMIN_TOKEN=<long-random>  # python -c "import secrets; print(secrets.token_urlsafe(32))"

Optional: EVENT_RETENTION_DAYS (delete old events), METRICS_TOKEN (Prometheus /metrics), REDACT_PATTERNS (redact emails, phones, cards before storage). Data ports stay on 127.0.0.1.

The dashboard then asks for the admin token instead of showing the one-click button. Without SELFHOST_ADMIN_TOKEN, dashboard login stays disabled. Everyone who has the token signs in to the same single owner workspace. Check your config with bash scripts/validate-selfhost-config.sh --production. Full steps: wiki/Self-Hosting.

Deploy on Redu Cloud

Deploy on Redu Cloud

Redu Cloud is ZizkaDB's recommended cloud for the open-source edition. With the redu MCP added to your coding agent, ask it to "Deploy https://github.com/ZIZKA-AI-SL/ZizkaDB to redu". The agent follows redu.md: the single container on one VM, the dashboard and API on one HTTPS URL, and your data kept in a volume. Then sign in with the admin token, create your API key in Settings, and set ZIZKADB_HOST and ZIZKADB_API_KEY in your agent.

Full guide: DEVELOPMENT.md · Troubleshooting: wiki/Troubleshooting.md · What ZizkaDB sends: docs/telemetry.md


Integrations: LangChain, LangGraph, CrewAI, LiveKit, OpenClaw, MCP

Works with the agent framework you already use — add one package and every step is logged with its cause.

In CI (GitHub Marketplace): ZizkaDB Why explains agent test failures in your PR, and ZizkaDB Audit proves the recorded history is intact. One step, no account: uses: ZIZKA-AI-SL/zizkadb-why-action@v1. How it works.

Python    TypeScript    LangChain    CrewAI    LiveKit    OpenClaw    MCP    REST API

IntegrationInstallWhat you get
 Python pip install zizkadb-sdk Any Python agent
 TypeScript npm install zizkadb-sdk Any JavaScript / TypeScript agent
 LangChain pip install zizkadb-langchain Drop-in callback handler
 LangGraph pip install zizkadb-langgraph Every graph node logged with its parent
 CrewAI pip install zizkadb-crewai Crew logger for your agents
 LiveKit pip install zizkadb-livekit Voice agents — one call, one session
 OpenClaw openclaw plugins install clawhub:@zizka-ai/zizkadb Plugin: every message, tool call and model output, with its cause
 MCP uvx zizkadb-mcp Ask Cursor or Claude why
 REST API Swagger docs Any language

Click a name for its setup guide. New project? Scaffold one with zizkadb init my-agent --template basic.


Connect your agent

import asyncio
from zizkadb import ZizkaDB

async def main():
    async with ZizkaDB(host="http://localhost:8000") as db:
        user = await db.log(agent="my-bot", event="user_message", data={"text": "Why is my order late?"})
        tool = await db.log(agent="my-bot", event="tool_call", data={"tool": "lookup_order"}, parent_id=user.event_id)
        (await db.why(tool.event_id)).print()

asyncio.run(main())
TypeScript
import { ZizkaDB } from 'zizkadb-sdk'

const db = new ZizkaDB({ host: 'http://localhost:8000' })

const user = await db.log({ agent: 'my-bot', event: 'user_message', data: { text: 'Why is my order late?' } })
const tool = await db.log({ agent: 'my-bot', event: 'tool_call', data: { tool: 'lookup_order' }, parentId: user.eventId })
;(await db.why(tool.eventId)).print()

Or record every LLM call: instrument(db, { agent: 'my-bot', clients: [openai, anthropic] }), or wrap any Vercel AI SDK model with zizkadbMiddleware(db, { agent: 'my-bot' }).

Or record every LLM call with one line (Python): OpenAI and every OpenAI-compatible API (DeepSeek, GLM, Kimi, Qwen, Groq, Ollama, vLLM, ...), Anthropic, Google Gemini, Mistral, Cohere, AWS Bedrock, the native ollama package, LiteLLM, and models run in-process with llama-cpp-python or Hugging Face transformers:

import zizkadb
from zizkadb import ZizkaDB

zizkadb.instrument(ZizkaDB(host="http://localhost:8000"), agent="my-bot")
# Use OpenAI, Anthropic or LiteLLM as usual: every call, tool call and tool
# result is recorded with its cause, plus token usage. No db.log() needed.

From the terminal: zizkadb why <event_id>, or turn a bad session into a pytest regression test with zizkadb test from-session <session_id> --agent my-bot. Full guide: CONNECT.md


What it does

Use ZizkaDB to keep an audit trail of AI agents in production, explain any decision from cause to effect, and give agents memory across runs. Everything in this table is in the open-source edition.

Function What you get
Explain db.why(event_id) The causal chain behind any event
db.at(agent, timestamp) What the agent knew at a past moment
db.behavior_change(agent, window) What changed against the previous period, as measured checks with the counts on both sides
Event timeline (dashboard) Each agent's events over time as spikes by event type, errors in red; click any spike to open its events and why chain
Memory db.context_for(agent, task) Relevant past events as a prompt block (relevance × importance × recency)
db.search(query, mode=) Keyword search out of the box; hybrid keyword + vector with embeddings
db.log(..., supersedes=, importance=) Replace an outdated fact; weight what matters
Audit db.verify_chain(agent) Proof that no event was edited, removed or reordered
metadata.written_by Which credential wrote each event (API key, dashboard user or dev key), set by the server and sealed into the checksum
ZizkaDB(agent_version=...) The prompt or config version that ran, recorded on every event
db.forget(key, value) GDPR erasure, including the search index, leaving a tombstone (no content; its chain link and checksum let someone with database access confirm an exact guessed event)
db.export_events(agent) / db.import_events(...) Portable NDJSON copy; move between self-host and Cloud
Operate db.log(..., idempotency_key=) / db.log_batch(events) Safe retries; up to 500 events per request
db.iter_events(agent) Every event, cursor-paged
Server settings Retention, redaction, read-only and expiring keys, /metrics, backup and restore

How the integrity checks work: every event is stored with a SHA-256 checksum over its content and audit fields (agent, session, parent, timestamp, sequence), and GET /v1/events/verify reports any row whose fields no longer match. Events are also hash-chained per agent, so GET /v1/events/chain proves no event was removed, inserted or reordered.

ZizkaDB dashboard: causal chain of an AI agent decision and its tamper-evident audit trail


Regulations: EU AI Act, DORA and GDPR

ZizkaDB produces the records these regulations ask for. It supports your obligations; no tool makes a system compliant on its own, and your processes, risk management and human oversight stay yours.

Regulation What it asks How ZizkaDB supports it
EU AI Act (Regulation (EU) 2024/1689) Art. 12: automatic logging of events over the system's lifetime Every agent event recorded with its cause, checksummed and hash-chained
Art. 19 and 26(6): keep logs for at least six months Retention per agent; on Cloud and Enterprise, a minimum retention that cannot be lowered
Art. 72: post-market monitoring Measured behavior change between periods
DORA (Regulation (EU) 2022/2554) Art. 17: detect, record and classify ICT-related incidents Reconstruct an incident from the agent's own record, in order
Keep ICT risk inside your control Self-host inside your own ICT environment, or Enterprise in your VPC
GDPR (Regulation (EU) 2016/679) Art. 15 and 22: explain an automated decision The causal chain behind the decision, from db.why()
Art. 17: right to erasure db.forget() erases personal data and leaves a content-free tombstone, so the chain still verifies; on Cloud and Enterprise, a legal hold blocks erasure of data needed for legal claims (Art. 17(3)(e))
Data minimisation and location Secrets redacted before storage; your own servers, or Cloud on AWS in Frankfurt

More detail for compliance teams, including sub-processors and data location: db.zizka.ai/trust.


Open source, Cloud and Enterprise

ZizkaDB comes in three editions. They share the same engine: the same event model, causal links, checksums and hash chain.

Open source Cloud (Pro / Team) Enterprise (VPC)
Record and explain
Event logging with causal links, why(), at(), session replay ✅ ✅ ✅
Keyword search; hybrid search with embeddings; context_for() memory ✅ ✅ ✅
Behavior change between periods, as measured checks ✅ ✅ ✅
Python & TypeScript SDKs, MCP server, REST API, framework integrations ✅ ✅ ✅
Integrity
SHA-256 checksum and per-agent hash chain, verify_chain() ✅ ✅ ✅
Credential and agent version sealed into each event ✅ ✅ ✅
GDPR erasure with content-free tombstones ✅ ✅ ✅
Retention, redaction before storage, NDJSON export and import ✅ ✅ ✅
Trusted timestamps on the chain head Manual (guide) ✅ Hourly, RFC 3161 ✅
Compliance controls
Evidence pack: a ZIP of an agent's events, chain links, erasure receipts and timestamps, with a verify.py your auditor runs offline — ✅ ✅
Legal hold, per agent or account: blocks retention, erasure and deletion — ✅ ✅
Minimum retention that can be raised but never lowered — ✅ ✅
Auditor keys: read-only access to every agent — ✅ ✅
Scale and operation
Agents (one API key each) 1 Pro 3 · Team 10 5 · 50 · unlimited
Events per month No cap Pro 500,000 · Team 1,500,000 By agreement
Fleet view and ranking of every agent — — ✅
Where your data lives Your servers AWS Frankfurt (eu-central-1), multi-tenant Your VPC and region, single-tenant
Licence AGPL-3.0 (MCP server MIT) Cloud terms Commercial licence, no AGPL obligations
Support Community (Discussions) Email (Pro) · Priority (Team) Install and integration workshop
Price Free €29 / €69 per month Annual licence
Quickstart Sign up Talk to us

Cloud and Enterprise limits are enforced by those services; this repository enforces one agent with one API key. The compliance controls are not part of the open-source code. Data moves between editions with db.export_events() and db.import_events().


How it works

flowchart LR
    A[Your agent<br/>SDK · LangChain · CrewAI · LiveKit · OpenClaw] -->|events + parent_id| B[ZizkaDB API]
    D[Dashboard] --> B
    M[MCP server<br/>Cursor · Claude] --> B
    B --> P[(PostgreSQL<br/>events · hash chain · keyword search)]
    B -.->|embeddings on| Q[(Qdrant<br/>vector search)]
    B --> R[(Redis<br/>cache · rate limits)]

Use with your AI assistant (MCP)

Ask Cursor or Claude "why did support-bot call lookup_order?" and get the chain back. Add this to your MCP config:

{
  "mcpServers": {
    "zizkadb": {
      "command": "uvx",
      "args": ["zizkadb-mcp"],
      "env": { "ZIZKADB_HOST": "http://localhost:8000" }
    }
  }
}

For ZizkaDB Cloud, use ZIZKADB_API_KEY instead. Setup for each client: mcp/README.md. The MCP server is MIT-licensed; everything else is AGPL-3.0 (NOTICE).


ZizkaDB vs Langfuse, LangSmith and Mem0: causality, not just traces or recall

LLMOps and AI observability platforms such as Langfuse and LangSmith observe span trees. Memory layers such as Mem0 recall facts. ZizkaDB records why each decision happened, keeps it as auditable memory, and lets you prove the record is intact. Use it alongside a tracer if you already have one.

ZizkaDB LLM tracing tools Agent memory layers
Explicit cause → effect links ✅ Span nesting —
One-call root cause (db.why()) ✅ Manual trace reading —
Time-travel to past agent state ✅ — —
Memory for future runs (db.context_for()) ✅ — ✅
Tamper-evident hash chain, verifiable in one call ✅ — —
GDPR erasure that leaves proof (tombstones) ✅ — —
Self-hosted search with no LLM key ✅ — —

— means not a core feature of that category; check each tool for specifics.


FAQ

What is ZizkaDB?
An audit trail database for AI agents, for regulated industries in Europe. It records every agent action as an event linked to the event that caused it, so you can see why a decision was made (why()), what the agent knew at any past moment (at()), and prove the history wasn't changed (verify_chain()). It's the record of what the agent actually did, independent of the LLM.

Is ZizkaDB free?
Self-hosting is free and open source (AGPL-3.0; the MCP server is MIT): one agent with one API key, data on your own servers. ZizkaDB Cloud is the paid managed service, with several agents and the compliance controls. Enterprise runs in your own VPC under a commercial licence. See Open source, Cloud and Enterprise.

Which features are not in the open-source edition?
Several agents per account, evidence packs, hourly RFC 3161 trusted timestamps, legal hold, minimum retention, auditor keys and the fleet view. They are part of ZizkaDB Cloud and Enterprise. Everything needed to record, explain and verify one agent's history is open source.

Where is ZizkaDB Cloud hosted?
On AWS in Frankfurt, Germany (eu-central-1). Events, vectors and backups stay in that region. The sub-processors are listed on db.zizka.ai/trust. Self-hosted and Enterprise keep everything on your own infrastructure.

Does ZizkaDB make us EU AI Act compliant?
No tool does that on its own. ZizkaDB produces the automatic, tamper-evident records that Article 12 asks for and keeps them as long as you set (Articles 19 and 26 require at least six months). Your processes, risk management and human oversight are still yours.

Do I need to clone this repo?
No. The curl quickstart downloads config and Docker images only.

Do I need an API key locally?
No. http://localhost:8000 uses a built-in dev key.

Do I need an OpenAI key?
No. Logging, why(), time travel, keyword search and context_for() work without one. Add an OpenAI key, or run a local embedding model (EMBEDDINGS_PROVIDER=local with Ollama, LM Studio or vLLM), for hybrid vector search.

How is ZizkaDB different from an agent memory layer like Mem0?
A memory layer stores facts to recall. ZizkaDB stores what the agent did and why, linked step by step, and serves the relevant part back as memory (context_for()). The same record is a tamper-evident audit log, so memory, debugging and compliance come from one source.

Is ZizkaDB an agentic database?
Yes. ZizkaDB is an agentic database: an operational database for AI agents rather than a general-purpose store. Its records are built for agent auditability: causal links, SHA-256 checksums and a hash chain, which together act as cryptographic telemetry for AI agents.

Is ZizkaDB an observability tool?
No. Observability and LLMOps tools such as Langfuse or LangSmith show you span trees of what happened. ZizkaDB is an auditability platform: every event points to the event that caused it, db.why() returns the chain, and db.verify_chain() proves the record was never changed. It works next to an observability tool if you already have one.

Can I use ZizkaDB as an audit log for the EU AI Act (Article 12)?
Yes, as the record-keeping part: every event is checksummed and hash-chained per agent, verify_chain() proves nothing was edited, removed or reordered, and GDPR erasure leaves a tombstone. It supports your obligations and is part of EU AI Act compliance work; it doesn't make a system compliant on its own.

How do I prove the logs weren't changed?
db.verify_chain(agent) (or GET /v1/events/chain) rechecks every checksum and link and returns the chain head. Store the head somewhere else; checking again later from that head proves nothing before it was rewritten. To keep that copy out of reach of whoever controls the database, timestamp it and give a copy to someone else: docs/integrate/anchor-chain-head.md. ZizkaDB Cloud and Enterprise do this every hour with an RFC 3161 Time-Stamping Authority and put the stamps in the evidence pack.

My server's login page asks for an admin token. Where is it?
A server install generates one on first start. Single container: docker exec zizkadb sed -n 's/^GEN_SELFHOST_ADMIN_TOKEN=//p' /data/secrets.env. Full stack: the SELFHOST_ADMIN_TOKEN you set in infra/.env. After signing in, create your API key in Settings.

Where does my data go?
When you self-host, everything stays on your machine. The server and dashboard make no outside requests; the SDKs send one anonymous install ping, which ZIZKADB_TELEMETRY=false turns off. Details: docs/telemetry.md.

zizkadb demo says connection refused?
The stack isn't running. Start it with the curl command above or bash scripts/setup-local.sh.

Docs & community
Worked example worked/01-support-order-delay
Examples examples/
Self-hosting DEVELOPMENT.md · wiki/Self-Hosting
Integrate any agent docs/integrate/
Issues · Discussions Issues · Discussions
Security SECURITY.md
AI-assisted development AGENTS.md

Downloads

All-time downloads of every ZizkaDB package, refreshed daily. The total badge at the top is the sum of these.

Package Registry Downloads Source
zizkadb-sdk (Python SDK) PyPI zizkadb-sdk pepy.tech · pypi.org
zizkadb-mcp (MCP server) PyPI zizkadb-mcp pepy.tech · pypi.org
zizkadb-langchain PyPI zizkadb-langchain pepy.tech · pypi.org
zizkadb-crewai PyPI zizkadb-crewai pepy.tech · pypi.org
zizkadb-sdk (TypeScript SDK) npm zizkadb-sdk npm npm-stat.com · npmjs.com
@zizka-ai/zizkadb (OpenClaw plugin) ClawHub zizkadb ClawHub clawhub.ai
zizkadb-openclaw (OpenClaw plugin) npm zizkadb-openclaw npm npm-stat.com · npmjs.com

Contributors

Thanks to everyone who has helped build ZizkaDB. Want to join? Read CONTRIBUTING.md or pick up an open issue.

saadamjad
saadamjad
Zizka-ai
Zizka-ai
arshadgit23
arshadgit23
rajandevkota98
rajandevkota98
Subhajitdas99
Subhajitdas99
saadwashmen
saadwashmen
VarunGore36
VarunGore36
mikeaig4real
mikeaig4real
aqilaziz
aqilaziz
pingkui
pingkui
AIandI0x1
AIandI0x1
lamenting-hawthorn
lamenting-hawthorn
nabeeltahirdeveloper
nabeeltahirdeveloper
s0sta
s0sta
abdurrehman616
abdurrehman616
danielhagever
danielhagever
eaz1337
eaz1337
HafizHamzaShahid
HafizHamzaShahid
mbilalzeeshan
mbilalzeeshan
nabeeltahirpsy
nabeeltahirpsy
AbdelazizBs
AbdelazizBs
Mephistopheles9631
Mephistopheles9631
Qalbeabbas-12
Qalbeabbas-12
towfiq-ul
towfiq-ul

AGPL-3.0 · MCP server MIT · Disable telemetry: export ZIZKADB_TELEMETRY=false
This repo is the open-source self-host stack. The operator console and VPC deploy live in a private repo (why).

ZizkaDB (ZIZKA-AI-SL/ZizkaDB)

正在搜索数据库…

这是什么?ZizkaDB 是一个为 AI 智能体构建的审计追踪数据库。它记录智能体的每个决策,附有 SHA-256 校验和以及指向成因的因果链接,因此你可以回放会话并“时间旅行”到过去任一时刻,查看智能体当时确切知道什么,支持欧盟 AI 法案第 12 条的记录保存要求。
它与 Langfuse 或 LangSmith 这类追踪工具有什么不同?追踪工具观察的是需要你手动阅读的跨度树;ZizkaDB 在每个事件上都存储显式的父 ID,因此 db.why() 一次调用就能沿因果链回溯到根本原因,它还增加了回到智能体过去状态的时间旅行功能,这是常见追踪工具做不到的。
怎么把它跑起来?启动 Docker,然后运行快速开始安装命令——它会拉取配置和预构建镜像,启动 Postgres、Qdrant、Redis、API 和仪表盘,并运行一个演示智能体,无需克隆仓库。要接入你自己的智能体,添加“pip install zizkadb-sdk”或“npm install zizkadb-sdk”,或者用“zizkadb init my-agent --template basic”脚手架创建新项目。
试用它需要 Docker 或 API 密钥吗?自托管必须运行 Docker;首次拉取镜像可能需要 5-10 分钟,之后的启动只需几秒。本地使用不需要 API 密钥,因为它使用内置的开发密钥,但 ZizkaDB Cloud 需要 ZIZKADB_API_KEY。
使用 ZizkaDB 就自动让我的 AI 系统符合第 12 条要求了吗?不能——README 明确指出 ZizkaDB 只是支持你的记录保存义务,本身并不能让系统合规。此外,云套餐的月度事件上限(5 万 / 10 万)只是声称的目标,API 中尚未强制执行。
如果我自己托管,我的数据会去哪里?自托管的数据绝不会离开你自己的基础设施。ZizkaDB 还通过 db.forget(key, value) 支持 GDPR 删除,它会移除匹配的记录并将其从搜索索引中清除。
除了原生 Python/TypeScript,哪些智能体框架有现成的集成?有即插即用的包:LangChain(回调处理器)、CrewAI(crew 日志记录器)和 LiveKit(语音智能体),还提供 MCP 服务器,任何支持 MCP 的客户端(如 Cursor 或 Claude)都可以查询它。
我可以直接问 Claude 或 Cursor 我的智能体为什么做了某件事吗?可以——把 MCP 服务器(uvx zizkadb-mcp)添加到客户端配置中,你就可以问诸如“support-bot 为什么调用 lookup_order?”这样的问题,并获得返回的因果链。
托管云的定价是多少?ZizkaDB Cloud Pro 为每月 29 欧元,含 5 万事件和 2 个 API 密钥;Team 为每月 69 欧元,含 10 万事件和 5 个 API 密钥;在 AGPL-3.0 下自托管免费,不按追踪条数计费。
ZizkaDB 不用图数据库是如何存储因果链的?每个事件都存储在 Postgres 中并带有对其父事件的引用,db.why() 用递归 SQL 查询沿该链回溯;事件还会镜像到 Qdrant 用于语义搜索,因此不需要单独的图存储。
大小
7 MB
星标
164
时长
6个月
提交 · 90 天