Skip to main content

schemabrain tail

Streams the JSONL events file schemabrain serve writes to. Each tool call produces a structured event the moment it lands — tail is the live window into what an agent is doing.
By default, the command follows (attaches and prints new events as they arrive) and replays history matching --since.

Flags


How the events file gets written

schemabrain serve appends one JSON line per event to the events file. Events include:
  • server_start / server_stop
  • tool_call_started / tool_call_completed
  • tool_call_refused
  • Other observability hooks the event bus emits (see Observability)
Pass --no-events on serve to disable event emission entirely.

Examples

Watch live activity

Inspect the last day, then exit

Pipe into jq

Tail a specific events file


Relationship to audit list

The events JSONL is a fast, append-only operational stream — tear it down and recreate it freely. The mcp_audit table is the durable, tamper-evident record.

schemabrain serve

The producer of the events stream.

schemabrain audit

The durable hash-chained record.

Observability

The event-bus substrate that emits these events.

Audit Viewer dashboard

Visual rendering of the durable record.