The problem: agents that no one can explain
Enterprises and vertical AI companies are shipping autonomous and semi-autonomous agents into production faster than they can explain what those agents actually do. An agent calls a tool, retrieves a document, and gives an answer, and three weeks later, when a customer disputes that answer, the only artifact left behind is a wall of unstructured application logs. Nobody can say why the agent made that specific call, what it knew at that moment, or whether the same question would produce the same answer today.
This is the gap ZizkaDB is built to close. It positions itself not as another observability or tracing tool, but as an operational database for AI agents, a system of record that stores every agent decision, tool call, and outcome as a causally linked event, so that behavior can be replayed, traced, and audited after the fact rather than guessed at.
The product’s own framing is blunt about this distinction: “Don’t observe, audit your AI agent.” Traces tell you a span happened. ZizkaDB tells you why it happened, what the system looked like when it happened, and whether it’s still happening the same way.
Three functions that turn logs into audit trails
ZizkaDB’s core value sits in three tightly related capabilities: causal lineage, point-in-time state retrieval, and full session replay. Together they answer the three questions every enterprise compliance or engineering team eventually asks about a misbehaving agent: why, what did it know then, and can we watch it happen again.
- Causal lineage why() Every event an agent produces (a user message, a tool call, a retrieved document, an LLM response) is logged with a parent_id that links it to the event that caused it. This turns a flat log stream into a causal graph. Calling why() on any decision walks that graph backward and returns the actual chain of causes which prompt version was active, which document chunk was retrieved, which tool ran, and in what order rather than a plausible-sounding LLM-generated explanation after the fact.
This is the difference between an agent telling you why it did something (which can be confabulated) and a database proving why it did something, because the chain was recorded as it happened and is tamper-evident (ZizkaDB uses checksum-backed events to make the decision history difficult to alter retroactively).
- Point-in-time state at() Agent behavior isn’t just about the current prompt or the current tool set it’s about what the system looked like at the moment a decision was made. ZizkaDB’s at() function is a form of time travel: it reconstructs the exact state of a session (which policy document was in context, which prompt version was live, which baseline the agent was operating against) at a specific timestamp or event.
This matters enormously for incident response. In the worked example ZizkaDB uses on its own site: a customer is told refunds take 30 days when policy says 14. Without lineage and time-travel tooling, a team has to guess whether this was a prompt bug, a stale document, or a one-off hallucination. With at(), the team can reconstruct the exact retrieval and prompt state at that moment and see, directly, that the agent pulled an outdated FAQ chunk after a prompt v2 deploy a two-minute root cause instead of an open-ended debugging session.
- Session replay Causal lineage and point-in-time state converge in session replay: the ability to reconstruct an entire conversation or agent run, end to end, as a sequence of linked events user input, tool calls, retrieved context, intermediate reasoning steps, and final output in the order they actually occurred. This is not a reconstructed narrative; it’s the literal recorded event chain, replayable in the dashboard or pulled via SDK/API/MCP.
For engineering teams, replay collapses “can you send a screenshot, we’ll check the logs” into “here is the exact decision trail.” For compliance and audit teams, it produces something closer to a flight recorder for an AI system: a durable, queryable account of what the agent did and on what basis.
Layered on top of these three primitives, ZizkaDB also supports behavioral baselining and drift detection (comparing current agent behavior against an established baseline to catch silent regressions a prompt tweak that quietly changes decisions, or a tool call that starts skipping a policy check without anyone noticing) and forget(), which deletes matching events and their vector embeddings together by metadata filter, supporting data-subject erasure requests.
Why this matters for enterprises and vertical AI companies
Vertical AI companies those building agents for regulated or high-stakes domains like healthcare, finance, insurance, and legal face a structural problem: the value of their product depends on the agent taking autonomous action, but the liability exposure of that same autonomy depends on being able to prove, after the fact, that the action was reasonable and traceable to the operator’s actual policy at the time. Generic observability tools (traces, spans, vector stores) were not built to answer “why,” “what did the system know,” or “what changed” as first-class, queryable primitives ZizkaDB’s own comparison against tools like LangSmith, Mem0, and Pinecone is built around exactly this gap: those tools log events or store embeddings, but don’t natively support causal lineage, point-in-time state reconstruction, or cross-agent behavioral baselines.
For enterprises deploying agents at scale across many teams, the same primitives support a fleet-level view: cross-agent queries and ranking that let a platform or AI-governance team see which agents are drifting, which are stable, and where to focus review rather than treating each agent as an isolated black box.
Mapping ZizkaDB to the EU AI Act
Regulation (EU) 2024/1689 , the EU AI Act , entered into force in August 2024, with obligations phasing in through 2026–2027 depending on a system’s risk classification. It imposes record-keeping, traceability, transparency, and human-oversight duties on providers and deployers of AI systems, obligations that are difficult to satisfy when an agent’s decision history exists only as scattered, unstructured application logs. ZizkaDB’s own compliance page frames its role carefully: it supplies the operational evidence the Act expects, without claiming to be a compliance program in itself.
The mapping ZizkaDB publishes against specific articles looks like this:
EU AI Act requirement
Relevant articles
How ZizkaDB’s functions support it
Automatic logging & traceability
Art. 12, Art. 26(5)–(6)
Continuous event logging and full session reconstruction, with configurable per-tenant retention on self-hosted or managed deployments
Evidence for risk assessment & post-market monitoring
Art. 12(2), Art. 72, Art. 79
Causal lineage (why()), behavioral baselines, and drift signals help detect anomalies and support post-market monitoring
Transparency for deployers
Art. 13
Dashboards, APIs, SDKs, semantic search, and point-in-time retrieval (at()) make agent behavior inspectable rather than opaque
Human oversight
Art. 14, Art. 26
Operators can inspect full action chains, reconstruct system state at any point, identify drift, and intervene with evidence rather than screenshots
Technical documentation & conformity evidence
Art. 11, Arts. 8–9, 17
Logged histories feed technical documentation and compliance reporting — complementing, not replacing, formal risk management or notified-body assessment
Accuracy, robustness & cybersecurity
Art. 15
Tenant isolation, scoped API keys, tamper-evident checksums, and self-hosted/VPC deployment options
Personal data alongside GDPR
GDPR
EU-entity operation, forget() erasure across events and vector embeddings, marketing opt-out, self-hosting for data residency
Two structural facts reinforce this mapping.
First, ZizkaDB is open source and self-hostable (AGPL-3.0, with an Enterprise VPC license for organizations that need single-tenant deployment, an SLA, and support), meaning organizations with strict data-residency or auditability requirements can run the entire system inside their own infrastructure rather than trusting a third-party vendor’s memory store.
Second, the company itself is an EU entity (ZIZKA AI S.L., based in Málaga, Spain), which simplifies GDPR alignment for the managed cloud option.
What ZizkaDB is not
To its credit, ZizkaDB is explicit about the limits of what a database can do.
Its own FAQ states plainly that no single tool grants full AI Act compliance: the platform provides record-keeping, traceability, and human-oversight evidence, not a substitute for risk classification under Article 6 and Annex III, a Quality Management System, or a formal conformity assessment. An organization’s actual obligations depend on whether it is a provider or deployer and how its system is classified, determinations that still require qualified legal counsel. ZizkaDB’s role is to make sure that when that legal and governance work happens, the underlying operational evidence, what the agent did, why, and under what state. actually exists and is queryable, rather than being reconstructed from memory or absent entirely.
The practical picture
Integration is deliberately lightweight: a Python or TypeScript SDK, a REST API, or an MCP server that plugs into tools like Claude Desktop or Cursor without app code changes. Events are logged with agent, session_id, and parent_id, which is what makes lineage and replay possible later the causal graph is built from how events are logged, not inferred after the fact. Self-hosting via Docker Compose is free and open source; managed cloud and single-tenant Enterprise VPC deployments add a hosted dashboard, fleet-level views, and formal support and SLAs for organizations that need them.
For enterprises and vertical AI companies operating under the EU AI Act, or simply trying to run agents in production without debugging blind, the underlying bet ZizkaDB is making is straightforward: audit trails have to be built into the agent’s operational data layer from day one, because they cannot be reconstructed convincingly after an incident has already happened.
Originally Published in medium and can be viewed here :
https://medium.com/@MirArshadTalpur/how-you-can-make-your-ai-agents-eu-ai-act-compliant-1e132e9e4a52
Top comments (0)