Skip to main content

Module builtin

Module builtin 

Source
Expand description

Built-in agent definitions

Constants§

BUILD_SYSTEM_PROMPT
System prompt for the build agent
EXPLORE_SYSTEM_PROMPT
System prompt for the explore agent
PLAN_SYSTEM_PROMPT
System prompt for the plan agent

Functions§

build_agent
The default “build” agent - full access for development work
build_plan_system_prompt
Build a complete system prompt for the plan agent, including AGENTS.md content if present.
build_system_prompt
Build a complete system prompt for the build agent, including AGENTS.md content if present.
explore_agent
The “explore” agent - fast codebase exploration
load_agents_md
Load AGENTS.md from the given directory or any parent directory. Returns the content and path if found.
load_all_agents_md
Load all AGENTS.md files from the given directory up to the root. Returns a list of (content, path) tuples, from most specific (closest to start_dir) to least. Traversal stops at the nearest git repository root (directory containing .git).
plan_agent
The “plan” agent - read-only for analysis and exploration