Skip to main content
Bootstrapping is the preparation ritual before each Agent run: assembling the System Prompt, loading tools, injecting user profile and memories, ensuring the Agent starts with the correct identity, capabilities, and context.

What Bootstrapping Does

On each Agent invocation, Zeus performs the following bootstrapping flow:
  1. Assemble System Prompt — Concatenate core prompts from multiple Bootstrap files in order
  2. Select Mode Prompt — Inject corresponding behavioral guidelines based on current mode (Agent / Ask / Plan)
  3. Dynamic Context Injection — Inject current time, user/project profile, relevant memories, Skills metadata, etc.
  4. 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

  • Agent Loop — After Bootstrapping completes, enters the execution loop: Agent Loop
  • Workspace — Workspace initialization and file storage: Agent Runtime