2026-06-17 Markdown source Offline HTML JSON graph

Task Decomposition LLM Wiki

A compact Karpathy-style knowledge base for breaking complex agent work into tasks, goals, methods, checks, and reusable source-backed claims.

9concept pages
8source cards
3comparison pages
13structured claims

Showing all wiki cards.

No wiki cards match the current search.

Concept Graph

Core decomposition concepts, methods, controls, and knowledge-base structure.

graph reading

How to read the graph

Task and goal decomposition overlap at the core. Hierarchical planning turns them into layers, multi-agent decomposition assigns work, and verification keeps the pieces from drifting.

The LLM wiki pattern records the concepts, source cards, claims, and update log so future agents can reuse the synthesis.

Concept Pages

Reusable synthesis pages with backlinks and source lineage.

conceptconfidence high

Task Decomposition

Break a complex objective into smaller work units that can be sequenced, assigned, executed, inspected, and recombined.

  • Good task units have inputs, bounded operations, outputs, owners, acceptance signals, and dependencies.
  • Use it when one prompt or one worker cannot reliably handle the whole objective.
conceptconfidence high

Goal Decomposition

Split a desired end state into intermediate subgoals that preserve intent while making search, planning, or learning more tractable.

  • Emphasizes states, constraints, milestones, and policies.
  • Subgoals must compose into the original objective, not merely look locally useful.
methodconfidence high

Hierarchical Planning

Refine high-level intent into nested tasks, subgoals, methods, or policies. It bridges strategy and execution.

  • Each layer needs assumptions, expected outputs, completion evidence, and an integration owner.
  • Weak child-parent interfaces are the common failure point.
methodconfidence medium-high

Multi-Agent Decomposition

Assign decomposed work to separate agents, roles, models, tools, or humans while coordinating dependencies and integration.

  • Delegation needs objective, non-goals, inputs, output format, evidence, dependencies, and checks.
  • The reducer evaluates evidence and resolves conflicts; it does not simply concatenate worker outputs.
methodconfidence medium-high

Prompt Chaining

A sequential pattern where one prompt output becomes the next prompt input. Good for controlled transformations and staged checks.

  • Works well for extraction, normalization, validation, critique, and revision.
  • Becomes fragile when intermediate outputs are ambiguous or unchecked.
methodconfidence medium-high

Cost-Aware Decomposition

Choose decomposition depth by balancing accuracy, latency, token cost, tool overhead, coordination work, and verification effort.

  • Use deeper structure when errors are expensive or dependencies matter.
  • Use lighter structure when the task is small, reversible, low risk, or mostly linear.
controlconfidence high

Verification and Governance

The checks, audit trail, schemas, and acceptance criteria that keep decomposed work aligned with the original objective.

  • If a boundary has no verification signal, it is not yet a safe decomposition boundary.
  • Validation belongs in the design, not only at the end.
representationconfidence medium

Subgoal Graph

Represent intermediate states, dependencies, preconditions, and merge points when a linear list hides too much structure.

  • Useful when some subgoals can run in parallel or merge later.
  • A subgoal graph can generate tasks, but subgoals are not automatically tasks.
knowledgeconfidence high

LLM Wiki Pattern

A maintained, linked Markdown corpus designed for both human reading and future LLM ingestion.

  • Separate provenance from synthesis.
  • Use stable slugs, backlinks, source cards, and structured data for regeneration.

Comparison Pages

Boundaries that prevent common concept drift.

comparison

Task Decomposition vs Goal Decomposition

Task decomposition asks what work units must be executed. Goal decomposition asks what intermediate states must become true.

DimensionTaskGoal
ObjectWork unitDesired state
OutputSteps, assignments, tool callsSubgoals, milestones, constraints
CheckExpected output producedSubgoal true and composable
comparison

Strategy Taxonomy

Choose the lightest strategy that exposes real dependencies, verification points, and integration risks.

  • Linear chain: simple, but error-prone when outputs are unchecked.
  • DAG: better for dependency management and parallelism.
  • Hierarchy: useful for multiple abstraction levels.
  • Subgoal graph: useful when state dependencies matter.
comparison

LLM Wiki vs RAG

A wiki stores curated, persistent synthesis. RAG assembles relevant source text at retrieval time. They can work together.

  • Wiki risk: stale or over-compressed synthesis.
  • RAG risk: retrieval misses, noisy chunks, context fragmentation.

Source Cards

Short provenance records with paraphrased takeaways and outbound citations.

sourceAI21

AI21 Task Decomposition

Operational framing for LLM applications: define the goal, break subtasks, match tools, link outputs, and monitor the workflow.

Open source
sourceupdated 2026-02-21

Task Decomposition Strategies

Research taxonomy for explicit, implicit, hierarchical, DAG, linear, learned, tool-augmented, and cost-aware decomposition methods.

Open source
sourceupdated 2026-01-22

Goal Decomposition

Research taxonomy for subgoals, hierarchical reinforcement learning, planning, temporal logic, graph models, and evaluation.

Open source
sourcepattern

Karpathy LLM Wiki Pattern

Pattern note for maintaining a Markdown knowledge base that compounds learning across LLM sessions.

Open source
sourceimplementation

Pratiyush LLM Wiki

Fuller public implementation reference with Markdown wiki pages, static site rendering, graph exports, search, and quality checks.

Open source
sourcelightweight

Astro-Han LLM Wiki

Compact reference for raw capture, curated wiki pages, an index, and a log.

Open source
sourceschema

Hermes Research LLM Wiki

Page taxonomy reference for source cards, concept pages, comparison pages, query notes, and frontmatter conventions.

Open source

Continue Learning

Reusable prompts and decision paths for extending the wiki.

prompt

Decomposition Method Selection

Separate desired states from executable tasks. Propose the lightest decomposition strategy that exposes dependencies, verification points, and integration risk.

prompt

Extend the Wiki

Add a source card, extract claims, link claims into existing concepts, update the JSON graph, and record the change in the log.

prompt

Design a Handoff

Define objective, non-goals, input boundaries, output format, evidence requirements, acceptance criteria, and reducer duties for a multi-agent fanout.

prompt

Audit Decomposition Cost

Estimate whether explicit decomposition reduces enough downstream uncertainty to justify prompts, latency, coordination, and integration overhead.