What Bootstrapping Does
On each Agent invocation, Zeus performs the following bootstrapping flow:- Assemble System Prompt — Concatenate core prompts from multiple Bootstrap files in order
- Select Mode Prompt — Inject corresponding behavioral guidelines based on current mode (Agent / Ask / Plan)
- Dynamic Context Injection — Inject current time, user/project profile, relevant memories, Skills metadata, etc.
- Load Tool Set — Filter by mode and assemble available tools
Bootstrap Files
Zeus’s System Prompt uses a layered architecture composed of multiple Markdown files. Each file handles an independent responsibility and is concatenated in order at startup.Core Files
System Prompt Full Description
View detailed content and design principles for each Bootstrap file
Mode Prompts
Different behavioral prompts are injected based on the current interaction mode:
Modes take effect immediately at the
invoke() entry point. In Ask mode, write tools are replaced with placeholders (progressive disclosure) — the Agent knows the tools exist but cannot call them, and guides the user to switch modes.
Dynamic Injection
On each run, the following context is dynamically injected into the System Prompt:Skills Progressive Disclosure
Skills use a two-phase loading strategy to reduce initial token consumption:
At startup, only the metadata list is injected. The Agent loads full content on demand via the
skill_activate tool.
Skills
Skills definition, management API, and built-in skill documentation
Context
Complete context assembly flow and Token optimization strategies
Memory
Four-layer memory model, user profile & project profile
Tools
Four-layer tool system and mode filtering rules
Related Docs
- Agent Loop — After Bootstrapping completes, enters the execution loop: Agent Loop
- Workspace — Workspace initialization and file storage: Agent Runtime