Observablecognition for AI.
One universal schema for every agent, model and tool call. Replay any session, surface hallucinations, and reason about your AI like a distributed system — not a black box.
- 00.230intent.formed
- 01.120context.shifted
- 01.810inference.requested
- 02.190tool.started
- 03.460tool.completed
- 03.900context.shifted
- 04.210incident.raised
- 05.120judgement.recorded
- 05.980output.emitted
grounding confidence collapsed after retry cascade.
- tools_affected: 2
- retry_cascade: 1
- hallucinations: 1
- users_impacted: 1
Every AI categoryinvents its ownlogging schema.
LLM observability vendors. Agent frameworks. Eval harnesses. RAG tooling. Each ships its own taxonomy — and none of them speak to each other. Scroll to see Cortex collapse them into one vocabulary.
Six classes. Onebehavioral grammar for AI.
Cortex models AI behavior as a small, finite set of verbs — shared across LLMs, agents, RAG pipelines and human review. Hover a class to inspect its verbs.
lifecycle
Session and turn boundaries. Use these verbs from any SDK; they normalize across runtimes and producers.
Three lenses for whyyour AI behaved that way.
Cortex doesn't just store events — it interprets them. Three integrated debuggers turn raw behavioral data into actionable, audit-ready intelligence.
Suspicion Engine
Deterministic detectors catch hallucinations, tool misuse, and policy drift in real time — before they reach your user.
Failure Inspector
Root-cause chains link a bad action back to the flawed observation or judgement that produced it. Traverse causality, not logs.
Session Diagnosis
LLM-narrated period reports summarize agent drift across hours or weeks, with quoted evidence from the replay timeline.
One fluent API.Every runtime.
Wrap any inference call in three lines. Cortex captures the full behavioural trace and normalises it into the universal schema — identical events across every language we ship.
01// Drop-in instrumentation for any AI runtime02import { cortex } from "@peufy/cortex";0304await cortex.session("orion-7c1a")05.turn()06.input({ user: prompt })07.inference(async () => openai.chat(prompt))08.commit();
Plug into any stack.
Pay per observed turn.Not per seat.
Cortex scales with the volume of behavior you record, not how many engineers happen to log in. Start free, upgrade when you ship.
Free
01For solo builders shipping prototypes.
- 1 project
- 5k events / month
- 7-day retention
- Community support
Pro
02Teams instrumenting production agents.
- 5 projects
- 1M events / month
- 30-day retention
- Suspicion Engine
- Email support
Team
03Cross-functional teams shipping AI products.
- 20 projects
- 10M events / month
- 90-day retention
- Failure Inspector
- Session Diagnosis
- Shared workspaces
Enterprise
04Bring Cortex into a regulated environment.
- Unlimited projects
- Custom retention
- SSO + audit log
- Private cloud
- Dedicated SE
Questions, beforethe loop closes.
Everything you need to know about Cortex — the schema, the runtime, the deployment model. Still curious? Book a demo.
Cortex is an observability layer for AI agents. It captures every cognitive event — perception, judgement, action, incident — in a universal schema so you can replay sessions, surface hallucinations, and reason about your AI like a distributed system.