architect
Ask when consequential design choices must be settled before or during implementation — investigates context, compares…
The learn process turns agent stumbles into durable improvements. It has two tracks: factual memory extraction from event evidence and non-memory mutations such as agent updates, new agents, or routing rules.
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
The learn process turns agent stumbles into durable improvements. It has two tracks: factual memory extraction from event evidence and non-memory mutations such as agent updates, new agents, or routing rules.
The learn process turns agent stumbles into durable improvements. It has two tracks: factual memory extraction from event evidence and non-memory mutations such as agent updates, new agents, or routing rules.
Verify code creates learn signals for failures, timeouts, retries, errors, and inefficiency. Signals include agent name, goal, act result details, session id, and timestamp.
Source of truth:
Not every stumble triggers mutation. `shouldLearn()` checks repeated patterns, recent improvements, and signal kind before allowing processing.
Source of truth:
The background process loads pending evaluations, evaluates due improvements, then drains queued signals. For each accepted signal it: 1. Extracts factual memory drafts from event-window evidence. 2. Filters duplicate drafts. 3. Incorporates embedded memories through the memory write pipeline, including relationship classification for newly discovered links. 4. Asks the reasoner for a non-memory mutation. 5. Applies the mutation and records a pending evaluation.
Source of truth:
Supported mutations:
Factual memory creation is not a public learn mutation. It is a signal-driven extraction path that writes through the genome memory incorporation pipeline. Do not emit direct `create_memory` mutations from agents or bus clients.
Routing-rule learning uses the normal `RoutingRule` genome path. Do not replace routing rules with memories or an alternate rule system.
Source of truth:
Metrics are JSONL records for stumbles and actions. Stumble rate is computed as stumbles divided by actions, with period-scoped helpers for before/after evaluation windows.
Source of truth:
Pending evaluations record target agent, mutation type, timestamp, commit hash, and description. Once enough post-improvement actions exist, Sprout compares before and after stumble rates. Harmful mutations are reverted by git commit.
Source of truth:
Sparse metrics cannot prove improvement. Check action counts before interpreting rates. For a single bad session, use qm-session-analyst. For repeated patterns or mutation effectiveness, use qm-session-doctor.
A self-improving, multi-agent AI system that decomposes tasks and delegates to specialist agents. Sprout is an autonomous coding assistant built on a recursive agent architecture — where every action is a goal-directed delegation to a subagent.
Ask when consequential design choices must be settled before or during implementation — investigates context, compares…
Memory investigation, synthesis, and authorized curation when surfaced memories are insufficient
Systematically diagnose and fix bugs: find root cause before attempting any fix
Observe Sprout's live session behavior and send concise guidance when it is drifting, stuck, or missing an important instruction
Explore and understand unfamiliar codebases, map architecture, and synthesize structural insights
Ask when you need to know what Sprout agents, tools, or MCP servers are available, need a reusable capability plan, or need a new…