Skip to main content
Use built-in agent profiles and modes to spin up specialised assistants without rewriting prompts from scratch. The user describes a support issue; the agent loads the right profile and responds in that mode.

How It Works

The agent loads the named profile’s prompt and tools, then answers the user in that mode.

Features

  • Built-in Profiles - Pre-configured agents for common tasks
  • Agent Modes - Primary, subagent, and all-context modes
  • Custom Profiles - Register your own agent profiles
  • Profile Discovery - List and filter available profiles

Built-in Profiles

Quick Start

1

Use a built-in profile

2

Register a custom profile

Agent Modes

API Reference

AgentProfile

Functions

Examples

Using Built-in Profiles

Custom Profile

Filter by Mode


Best Practices

Use general, coder, or reviewer before authoring custom profiles — they already bundle sensible tools and temperature defaults.
Reserve SUBAGENT profiles for delegated tasks; use PRIMARY or ALL for agents that own the conversation.
One clear purpose per profile (e.g. security audit, planning) keeps tool lists small and prompts easier to maintain.
Set hidden=True on profiles still in development so they stay out of list_profiles() until ready.

Handoffs

Delegate work to subagents that can reuse profile presets.

Agent-Centric API

Consolidated feature flags and config objects on Agent(...).