📄 Agents as Tools


Advanced Agent Collaboration: Using One Agent as a Tool for Another

Unlock complex workflows by letting one agent delegate to another. In Autohive, you can expose an agent as a tool so a primary agent can hand off specialised tasks (e.g., writing) to a secondary agent.

This guide shows you how to set it up, teach it, and troubleshoot it.

What “agent-as-tool” means

You embed one agent’s capabilities inside another. The primary agent leads the workflow (e.g., research) and calls a secondary agent (e.g., writing) via a tool call at the right moment.

Prerequisites

  • Two or more agents created in your workspace

  • Clear roles (e.g., Research Agent, Writing Agent)

  • System instructions that describe when to delegate

Set up an agent as a tool

  1. Open the controller agent (e.g., Research Agent)

  2. Go to Integrations/Tools

  3. Open the Agents tab

  4. Select the secondary agent (e.g., Writing Agent) to add as a tool

  5. Save changes

Configure the primary agent’s instructions

Give explicit delegation rules. Example snippet:

“After you draft a research brief, use your Agent Tool to call ‘Writing Agent’ to produce the full article in our brand voice. Pass the brief verbatim as input.”

Run a practical test

  1. Prompt the Research Agent to produce a brief

  2. Confirm it completes the brief

  3. Watch for the tool call to the Writing Agent

  4. Verify the returned draft is included in the session output

How to see outputs from sub-agents

You’ll see a successful tool execution entry (e.g., “Delegated blog article to Writing Agent; agent tool executed”). The writing output appears in the tool result.

Troubleshooting delegation

  • No tool call appears: Re-check the Agents tab and ensure the second agent is added as a tool

  • Tool called with poor context: Tighten the instruction to pass the brief verbatim and include any constraints (length, tone, links)

  • Infinite retries: Reduce ambiguity; add a clear “stop after one delegation” rule

  • Try switching your model (e.g from OpenAI’s GPT4.1, to Anthropic’s Claude Sonnet 4.0) - sometimes that helps, different models are better at handling tool use.

Best practises

  • Keep agents narrow: consider running research agents at low temperature to keep them on task, writing at higher temperature to allow for some creativity (within the brief!)

  • Pass structured context: title, audience, outline, key sources

  • Limit tools per agent to avoid confusion

  • Add a quality gate: a final “review/polish” step or checklist

Wrap-up

  • Agent-to-agent delegation embraces Narrow AI. You get higher quality, cleaner handoffs, and workflows you can audit and scale. Start with a research → writing chain and expand from there, but always consider how many specialised jobs are involved, and aim to give just one to each agent in a sequence. Workflows are your next level up on this learning curve!

  • In this video you’ll find a demo of the Research and Writer combo example, and more discussion about the ‘narrow AI’ concept.