delegate-to-agent

Delegate AI tasks to agent chat via sendToAgentChat and agentChat APIs.

3|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/BuilderIO/builder-agent-native-starter --skill delegate-to-agent-builderio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: delegate-to-agent
Source: https://github.com/BuilderIO/builder-agent-native-starter/tree/main/.agents/skills/delegate-to-agent
Command: npx skills add https://github.com/BuilderIO/builder-agent-native-starter --skill delegate-to-agent-builderio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Centralizes control of AI-driven tasks by routing all work through the agent chat instead of calling LLMs directly, improving visibility and safety.

Core Features & Use Cases

  • Delegates user-initiated and automated AI tasks to the agent chat, preserving context and run state.
  • Supports delegation from UI components and server-side scripts, including actions via the run-manager.
  • Enforces best practices by avoiding inline LLM calls and ensuring auditable, single-point orchestration.

Quick Start

Delegate all AI tasks to the agent chat in your app by routing user messages through the chat bridge.

Frequently Asked Questions about delegate-to-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I centralize AI orchestration to avoid direct LLM SDK calls in my app?

Centralizing AI orchestration requires routing all tasks through the agent chat. By using the sendToAgentChat and agentChat APIs, you avoid direct provider SDKs and ensure auditable, single-point orchestration across your frontend and backend.

What is the best way to route user messages through a chat bridge for sub-agent coordination?

Routing user messages through a chat bridge is best handled by delegating AI tasks to the agent chat. This approach preserves context and run state while leveraging predefined patterns for sub-agent briefing and run management.

Can I delegate automated AI tasks from server-side scripts to the agent chat?

Yes, you can delegate automated AI tasks from server-side scripts to the agent chat. This Skill supports delegation from both UI components and server-side scripts, including actions managed via the run-manager.

Why should I use agent chat APIs instead of inline LLM calls for workflow orchestration?

Using agent chat APIs instead of inline LLM calls improves visibility and safety for workflow orchestration. It centralizes control of AI-driven tasks, ensuring all runs are auditable and coordinated through a single-point orchestration layer.

Does delegating AI work to an agent chat support frontend UI component integration?

Yes, delegating AI work to an agent chat fully supports frontend UI component integration. You can route user-initiated messages and actions through the chat bridge to coordinate tools and sub-agents seamlessly.

When should I not use direct provider SDKs for AI task delegation?

You should not use direct provider SDKs when you need centralized, auditable run management. Avoid inline LLM calls and instead route all AI task delegation through the agent chat to preserve context and ensure safe orchestration.