SYNTHESIS NOTE
Topics›Agents›this note

Can we automatically optimize both prompts and agent coordination?

This explores whether language agents can be represented as computational graphs whose structure and content adapt automatically. Why it matters: current agent systems require hand-engineered orchestration; automatic optimization could unlock more capable multi-agent systems.

Synthesis note · 2026-02-23 · sourced from Agents

The computational graph representation of language agents resolves a fragmentation problem: diverse prompting techniques (CoT, ToT, Reflexion, Self-Consistency) and multi-agent frameworks (AutoGPT, CAMEL, ChatDev) all look different in implementation but share the same underlying structure.

Three levels of the hierarchy:

This is not merely descriptive. The graph representation enables automatic optimization along two axes:

  1. Node optimization — each node adapts its prompts based on previous input and task feedback (analogous to prompt tuning)
  2. Edge optimization — the connectivity between nodes changes, allowing suboptimal agent organization to be overcome and prompting techniques to be automatically recombined

Because Can reasoning topologies be formally classified as graph types?, the insight here is that the graph representation extends beyond individual reasoning traces to entire agent systems. A single agent's reasoning is a graph; a multi-agent system is a composite graph. The same formalism covers both, enabling optimization at both levels.

The Society of Mind (Minsky 1988) framing is deliberate: higher-level intelligence emerges from combining simpler, modular cognitive components. This is the same principle that makes Can extreme task decomposition enable reliable execution at million-step scale? work — decomposition into graph nodes enables both parallelism and optimization.

The practical implication: instead of hand-engineering agent orchestration patterns, define the problem as a graph and let optimization discover the topology. This is the agent-systems analog of what Do reasoning cycles in hidden states reveal aha moments? found for reasoning traces — topology matters, and it's optimizable.

Inquiring lines that read this note 42

This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.

How do standardized protocols improve multi-agent coordination and reliability? Should agents decouple planning from perception grounding for better performance? Why do language models resist personality conditioning through prompts? How should inference compute be allocated based on problem difficulty? Why can't prompting alone inject genuinely new knowledge into models? How effectively can language models perform reasoning, especially combined with symbolic methods? When do multi-agent systems outperform single frontier models? What reasoning architectures enable models to solve complex problems efficiently? How do prompting refinements mask underlying biases and model frequency patterns? What execution architectures enable agents to most effectively use tools? Can parallel reasoning outperform sequential reasoning under fixed token budgets? How do multi-agent LLM systems fail distinctly compared to single agents? How should test-time compute scaling work in agentic systems? How should agents manage memory granularity to improve long-term performance? When do multi-agent systems provide sufficient quality returns on token investment? How does harness optimization generalize across different model architectures and domains? How do agent-learned skills transfer and improve across different tasks? What fundamental constraints limit how effectively agents can improve themselves?

Related concepts in this collection 6

This note in its neighbourhood — explore the map, then jump to a related concept in the list below.

Concept map
20 direct connections · 144 in 2-hop network ·medium cluster Open in graph ↗

Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph

your link semantically near linked from elsewhere

Related papers in this collection 8

Papers most semantically related to this note, ranked by cosine similarity in the embedding space.

Original note title

language agents as optimizable computational graphs unify prompting techniques and enable automatic optimization of both prompts and agent orchestration