logic-synthesizer — Claude Code subagent: what it does, how to install
logic-synthesizer splits a hard problem into several parallel solution paths, weighs each one and merges the strongest parts into a single answer.
no license ★ 1,357 updated 2026-03-01
.claude/agents/logic-synthesizer.mdWhat logic-synthesizer does
A Claude subagent that treats a problem as a set of branches. On activation it loads the BBPF formula through /wfgy:bbpf, says hello and prints its command list, every command carrying a * prefix. *multi-path-explore generates the candidate paths, *path-probability scores them, *prune-weak drops the losers, *synthesize-optimal folds what is left into one answer.
The file carries its own numbers. Five paths by default, never fewer than 3 and never more than 10. Anything under a 0.05 probability gets cut, and paths that agree above 0.7 are merged. Scoring splits into feasibility 0.3, optimality 0.3, staying power 0.2, simplicity 0.2. It runs on sonnet and can call Bash, WebSearch and Task.
Two commands lean on files outside the agent. *multi-path-explore and *diverge-reasoning resolve to .claude/commands/wfgy/ and .claude/commands/reasoning/, so with no wfgy-bbpf.md or reasoning-multi-path.md sitting there they have nothing to run. The rest works from what the agent file already holds.
What it helps with
- break a tangled problem into parallel candidate paths
- score each option before committing to one
- build a comparison matrix for competing designs
- merge compatible ideas into a single plan
- test the chosen path against several scenarios
Example prompts for the agent
- Hand this refactor to the logic-synthesizer subagent and have it explore several paths first.
- Have logic-synthesizer run
*synthesize-optimaland fold the three strongest paths into one plan. - Ask logic-synthesizer for a
*solution-matrixcomparing the two caching designs.
How to install logic-synthesizer
Manually: put the files in place
.claude/agents/logic-synthesizer.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/logic-synthesizer.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/logic-synthesizer.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about logic-synthesizer
How do I install logic-synthesizer in Claude Code?
Drop the file at .claude/agents/logic-synthesizer.md inside the project. Claude then sees it as an agent by that name.
What does logic-synthesizer do?
It keeps several candidate solutions alive at once, gives each a probability and merges the compatible ones into a single answer. Commands start with *; *help lists them.
What else has to be in the project?
The command files under .claude/commands/wfgy/ and .claude/commands/reasoning/, among them wfgy-bbpf.md and reasoning-multi-path.md. The agent pulls them in only when a command calls for them.