How andrew112/throughline-bpr works
Throughline is an agentic process-discovery workflow: it builds an evidence-backed as-is map, diagnoses issues, then proposes redesigns. The runnable example loads an onboarding corpus and invokes the orchestrator; specialist agents use a shared tool loop and typed artifact schemas. The excerpts show these calls and the Anthropic API request. The README is empty, and the tree uses flattened filenames despite source imports referring to src paths, so graph paths follow the supplied tree; unsampled integrations are omitted.
Main entry points: throughline-examples-run-discovery.ts Discovery example · throughline-agents-orchestrator.ts Run coordinator · throughline-agents-cartographer.ts Process mapping · throughline-agents-detective.ts Issue diagnosis
Components 11
Discovery workflow
- Discovery example
throughline-examples-run-discovery.ts - Run coordinator
throughline-agents-orchestrator.ts
Specialist agents
- Process mapping
throughline-agents-cartographer.ts - Issue diagnosis
throughline-agents-detective.ts - Process redesign
throughline-agents-architect.ts
Agent runtime
- Tool agent loop
throughline-agents-loop.ts - Artifact schemas
throughline-schemas-process.ts
Evidence inputs
- Chunk retrieval
throughline-tools-retrieval.ts - Onboarding corpus
throughline-fixtures-onboarding-corpus.ts
Other components
- Operator
- Anthropic API
Connections 16
- Operator → Discovery example: runs example
throughline-examples-run-discovery.ts - Discovery example → Onboarding corpus: loads corpus
throughline-examples-run-discovery.ts - Discovery example → Chunk retrieval: loads chunks
throughline-examples-run-discovery.ts - Discovery example → Run coordinator: starts discovery
throughline-examples-run-discovery.ts - Run coordinator → Process mapping: runs first
throughline-agents-orchestrator.ts - Run coordinator → Issue diagnosis: runs second
throughline-agents-orchestrator.ts - Run coordinator → Process redesign: runs third
throughline-agents-orchestrator.ts - Process mapping → Chunk retrieval: searches chunks
throughline-agents-cartographer.ts - Issue diagnosis → Chunk retrieval: searches evidence
throughline-agents-detective.ts - Process mapping → Tool agent loop: runs agent
throughline-agents-cartographer.ts - Issue diagnosis → Tool agent loop: runs agent
throughline-agents-detective.ts - Process redesign → Tool agent loop: runs agent
throughline-agents-architect.ts - Process mapping → Artifact schemas: validates map
throughline-agents-cartographer.ts - Issue diagnosis → Artifact schemas: validates diagnosis
throughline-agents-detective.ts - Process redesign → Artifact schemas: validates proposal
throughline-agents-architect.ts - Tool agent loop → Anthropic API: requests completions
throughline-agents-loop.ts