Cross-Agent Reasoning
Without the harness
A teammate runs Claude Code over your S3 bucket on Monday and produces a curated set of high-quality images for fine-tuning. The result lives in their notebook output and a Slack thread. On Wednesday, you open Cursor on the same project for a related task. Cursor cannot see what Claude built. Cursor re-lists the bucket, re-runs the same quality scoring, and rebuilds an equivalent curated set from scratch, with slightly different thresholds because the prompt drifted in the retelling.
With DataChain
Every agent that runs a chain saves a typed dataset. The Knowledge Base compiles markdown pages from those datasets, one per dataset and one per bucket listing, with schema, lineage, and a preview. Any agent on the same project (Claude Code, Cursor, Codex, or a custom harness) reads knowledge base as context before generating code. The dataset name and version (curated_images@1.0.0) is the contract between agents; the Knowledge Base page is the description.
A Claude Code session on Monday produces this:
The save also generates a Knowledge Base entry:
A Cursor session on Wednesday installs the same skill (datachain skill install --target cursor), reads dc-knowledge/curated_images.md, and finds the dataset already exists. The next prompt becomes:
Cursor produces a new chain that consumes the prior agent's output by name:
The contract works in either direction. A human teammate opens dc-knowledge/curated_images.md in Obsidian, sees the same schema and lineage Cursor saw, and picks up the work without asking who ran it.
What this enables
- No re-derivation across agents. Claude Code's curated set is Cursor's input. The score column comes with the dataset; nobody re-computes it.
- Conclusions outlive the agent. A fine-tuning split saved by one agent is queryable by name months later, after the original session is gone.
- Humans and agents read the same surface. The Knowledge Base is markdown; Obsidian and the agent's context window consume it the same way.
See also
- Knowledge Base: how datasets become agent-readable pages
- Knowledge Base guide: skill installation and
dc-knowledge/generation - Datasets: the named, versioned, typed contract