SYNTHESIS NOTE
Topics›Deep Research›this note

Can agents discover tools dynamically instead of pre-selecting them?

Explore whether agents can find needed tools during execution rather than choosing from a fixed set upfront. This matters for long-horizon tasks where relevant tools cannot be known in advance.

Synthesis note · 2026-05-18 · sourced from Deep Research

Most current agent frameworks — ReAct, Plan-and-Solve, and their variants — work with predefined tool sets. Before execution starts, the agent is given a fixed set of tools it can use. The agent then operates within that set: reason about the task, pick a tool, observe the result, reason again, pick another tool. This works well for tasks where the relevant tools are known in advance.

For long-horizon tasks where the relevant tools cannot be enumerated up front, the predefined approach hits limits. The agent does not know early in the task what it will need later. A tool that becomes essential mid-task may not have been included in the initial set. Adding "all possibly relevant tools" up front bloats the context and confuses tool selection.

DeepAgent takes a different architectural stance: dynamic tool discovery during execution. Tools are not pre-retrieved; they are discovered on an as-needed basis as the agent progresses through the task. The agent maintains a global perspective on the entire task and decides when to search for new tools based on what the current state of execution actually requires.

The shift has consequences for how the agent reasons. ReAct-style workflows force per-step deliberation on specific isolated operations — "what should I do this turn?" — which can lose the global picture. Dynamic discovery preserves the global picture: the agent is not constrained to deliberate on the next operation alone but can reconsider the whole task arc, including which tools to bring into the picture next.

This connects to memory folding (same paper). Memory folding lets the agent pause to reconsider strategies; dynamic tool discovery is what makes the reconsidered strategy actionable — the agent can fetch new tools after the reconsideration. The two mechanisms together produce an agent that is not locked into either a fixed plan or a fixed toolset.

For long-horizon agent deployments — research assistants, multi-step software engineering, complex workflow automation — dynamic tool discovery beats pre-retrieval for tasks where the relevant tool space is too large to enumerate.

Inquiring lines that read this note 19

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.

When do multi-agent systems outperform single agents? How can agents learn and retain useful knowledge across diverse environments? Can AI agents learn to improve performance from experience? How should context management strategies balance efficiency with agent reliability? What systematic biases emerge in AI shopping agents' decision-making? Which agent-created code should persist in infrastructure versus remain task-specific? What makes context and memory handling unique in persistent AI systems? How should agent memory systems balance granularity, management, and reuse? What defense strategies address attacks that per-skill scanning cannot detect? Can formal safety constraints prevent AI agents from exceeding authorized boundaries? How should agents balance abstract planning with concrete environmental grounding?

Related concepts in this collection 3

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

Concept map
15 direct connections · 132 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

dynamic tool discovery during execution beats pre-retrieved tool sets for long-horizon agents — global task perspective unconstrained by predefined ReAct workflows