Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Agent Plugins

Agents are the brain of a Nexus harness. They receive user input, orchestrate LLM calls and tool usage, and produce output. You must activate exactly one agent plugin (unless using the orchestrator pattern, which depends on subagent + react).

Available Agents

PluginIDStrategy
ReActnexus.agent.reactIterative reason-and-act loop
Plan & Executenexus.agent.planexecCreate a plan first, then execute step by step
Subagentnexus.agent.subagentSpawns child agents as tools
Orchestratornexus.agent.orchestratorDecomposes tasks and dispatches to parallel workers
Remote AG-UI Agentsnexus.agent.agui_remoteDelegates to a remote AG-UI agent as a tool

Choosing an Agent

  • ReAct — Best for most use cases. Simple, flexible, supports planning as an optional phase. Start here.
  • Plan & Execute — When you want a mandatory planning phase with explicit step tracking and optional replanning on failure.
  • Orchestrator — For complex tasks that benefit from parallel decomposition across multiple subagent workers.
  • Subagent — Not used standalone. Provides a spawn_subagent tool that other agents (or the orchestrator) can invoke.

Agent + Planner Interaction

The ReAct and Plan & Execute agents can optionally integrate with planners:

  • ReAct + Dynamic Planner — LLM generates a plan before the agent starts iterating. The plan is injected into the system prompt.
  • ReAct + Static Planner — Fixed steps from config are injected into the system prompt.
  • Plan & Execute — Has its own built-in planning phase (uses LLM directly, no separate planner plugin needed).