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 50

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.

What prevents AI agents from achieving claimed real-world autonomy? What conditions and architecture enable effective agent ecosystems? How do architecture and coordination patterns drive multi-agent reliability? Why do multi-agent LLM systems struggle with coordination and genuine deliberation? How should inference-time compute be optimally allocated for reasoning? What are the fundamental limits of prompting in creating new model capabilities? How do architectural constraints limit monolithic LLM performance on complex tasks? When does multi-agent coordination outperform scaling a single agent? Can agent-created code become persistent, reusable infrastructure that improves over time? Does parallel reasoning outperform sequential approaches under comparable computational budgets? How should agents consolidate and structure memory for optimal performance? How well do evolved harness optimizations transfer across different tasks and domains? How does evolutionary search at inference time compare to other test-time methods? How do we balance AI agent autonomy with meaningful user oversight? What perception approach enables GUI agents to work most effectively?

Related concepts in this collection 7

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

Concept map
23 direct connections · 166 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