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 49

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.

Can AI agents learn to improve performance from experience? When do multi-agent systems outperform single agents? How should organizational structure guide multi-agent system design? How do prompt design choices and framing measurably influence model outputs? How should test-time compute be allocated adaptively across task difficulties? Does prompting inject new knowledge into models or activate existing knowledge? How does explicit structure improve LLM reasoning on complex tasks? How should context management strategies balance efficiency with agent reliability? What can prompting techniques actually accomplish in language models? What actually drives chain-of-thought performance gains in reasoning tasks? How does silent agreement emerge and undermine deliberation in multi-agent systems? How should agent memory systems balance granularity, management, and reuse? Can harness optimization rival model scaling in effectiveness? How do standardized artifacts improve coordination in multi-agent systems? How can agents learn and retain useful knowledge across diverse environments? Does evolutionary optimization at test time improve model performance effectively? How should agents balance abstract planning with concrete environmental grounding? Should GUI agents use structured UI perception instead of raw pixels?

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
22 direct connections · 156 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