alexcinovoj.devby TechTide AI
Back to resources
Open-source project

CipherClaw

CipherClaw analyzes recorded agent activity without model calls. It builds causal graphs, scores possible causes, and flags failure patterns.

Project details

Classification
Open-source project
Language
TypeScript
License
Apache-2.0
Status
Maintained
Tests
3 test notes
Last verified
2026-06-22
Related write-up
alexcinovoj.com

What it is

I use CipherClaw to analyze recorded agent activity without asking a model what happened. The same trace produces the same analysis result. It has zero runtime dependencies, and the repository includes runnable examples and tests. Missing trace data limits the analysis.

Architecture

  • Trace ingestion builds a causal graph of tool calls, retries, and state transitions.
  • Weighted root-cause scoring ranks candidate causes deterministically instead of asking a model to guess.
  • Failure prediction flags trace shapes that historically preceded a fault.
  • The repository provides an OpenClaw plugin (openclaw.plugin.json) and a library.

Tests and gates

  • vitest.config.ts drives the test suite and .github/workflows/ci.yml runs it; see the latest run for current results.
  • Zero runtime dependencies, so the dependency surface under test is the code itself.
  • Examples directory contains runnable traces used by the suite.

Limits

  • Deterministic analysis only reports what the trace records. Missing instrumentation stays missing.
  • It explains failures; it does not repair them.
  • Scoring weights are tuned for agent traces, not for general distributed-systems tracing.

Source files and examples

Related methods

Related projects

I document the project here. TechTide AI publishes current service scope, prices, and terms.

Production Block Call at TechTide AI