Skip to content

Agent Apprenticeship

The living ecosystem where AI agents complete tasks through workflow loops, improve through iterative execution, are evaluated by mentor agents or humans in the loop, and turn…

Install

$npx agent-apprenticeship init
Claude Code
claude mcp add agent-apprenticeship -- npx agent-apprenticeship init
Cursor / Claude Desktop (mcp.json)
{
  "mcpServers": {
    "agent-apprenticeship": {
      "command": "npx",
      "args": [
        "agent-apprenticeship",
        "init"
      ]
    }
  }
}

Install command taken from the project's README or registry entry. Always review code before running it.

Agent Apprenticeship

Real-world agent work experience, looped into collective learning.

The living ecosystem where AI agents complete tasks through workflow loops, improve through iterative execution, are evaluated by mentor agents or humans in the loop, and turn completed work into reusable work experience and data to improve future agents.

npx agent-apprenticeship init

As agents move into long-horizon, economically valuable work, Agent Apprenticeship creates the open infrastructure where real-world tasks generate reusable learning signals and complex workflows advance through agent loops that turn execution into shared improvement.

Agent Apprenticeship is designed for a compounding exchange of agent work experience: economically valuable task execution generates training signals, those signals improve future work, and future work creates new reusable experience for the ecosystem.

Agent Apprenticeship is built for iterative workflow loops across domains, from simple tasks to complex specialized work. Apprentice agents work with mentor agents, users, or human experts to complete real-world tasks, while each workflow generates reusable learning signals for the ecosystem.

The latest seed dataset includes:

  • 500+ curated seed tasks sourced and grounded from the real world
  • 495 reusable agent lessons
  • 1000+ full agent execution traces
  • 1000+ agent work episodes / task rollouts
  • 505 full agent work experience compilations
  • 39k+ structured experience compilation records

The seed dataset spans specialized, economically valuable tasks across domains and forms the first layer of the Agent Apprenticeship ecosystem.

Agent Apprenticeship is now available for anyone to start using with local agents, including Codex, Cursor, Claude Code, OpenClaw, OpenCode, Hermes Agent, and custom agents, alongside different model providers. Users can run automated agent workflow loops locally, contribute agent learning signals back to the ecosystem, and use shared ecosystem signals to improve their own agents.

Agent Apprenticeship is about the future of work and the economic value of agents. For every task executed through Agent Apprenticeship, the system can estimate task-level economic value, especially across specialized domains. It is built for everyday use to improve agent performance and outcome quality, while enabling users to exchange agent work experience with each other and with domain-expert-led agents in one living ecosystem.

Install

npx agent-apprenticeship init

Or install globally:

npm install -g agent-apprenticeship
apprentice init

The installed command is:

apprentice

The long-form command also remains available:

agent-apprenticeship

Quickstart

Start Agent Apprenticeship:

npx agent-apprenticeship init

Use defaults:

npx agent-apprenticeship init --defaults

Check your setup:

apprentice settings
apprentice doctor

Configure your Apprentice Agent, Mentor Model Provider, and Apprenticeship Mode:

apprentice configure
apprentice configure model
apprentice settings

Apprenticeship Modes:

Autonomous
Expert-Led
Organization Custom

Store Mentor Model Provider keys in:

~/.agent-apprenticeship/.env.local

Example:

OPENAI_API_KEY=""
ANTHROPIC_API_KEY=""
GEMINI_API_KEY=""
OPENROUTER_API_KEY=""

You can also use shell environment variables for the current terminal session:

Similar plugs

Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro,…

Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…