explaingit

forsy-ai/agent-apprenticeship

Analysis updated 2026-07-03 · repo last pushed 2026-07-03

⭐ Rising1,189PythonAudience · pm founderComplexity · 3/5ActiveSetup · moderate

TLDR

A system that helps AI agents learn from real tasks by doing work, getting feedback, and turning that experience into reusable knowledge for future runs, like an apprenticeship program for AI.

Mindmap

mindmap
  root((repo))
    What it does
      Agents learn from tasks
      Mentor reviews work
      Builds reusable knowledge
    Key features
      Experience compilations
      500 seed tasks
      Multi-provider support
    How it runs
      Fully autonomous
      Expert-led mode
      Custom org setup
    Tech stack
      Python
      OpenAI
      Anthropic
    Use cases
      Train competitive analysis
      Build release checklists
    Audience
      Founders
      Product managers
      AI tool users
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Train an AI agent to produce consistent competitive analyses for your industry.

USE CASE 2

Build a reliable release-checklist workflow where the agent improves over multiple runs.

USE CASE 3

Create a market map by having an apprentice agent work through the task iteratively.

USE CASE 4

Accumulate organizational knowledge so new agents start with prior experience.

What is it built with?

PythonOpenAIAnthropicGoogleOpenRouter

How does it compare?

forsy-ai/agent-apprenticeshipclaudiodrews/memory-oslyra81604/zhengxi-views
Stars1,1891,2221,151
LanguagePythonPythonPython
Last pushed2026-07-032026-06-102026-06-30
MaintenanceActiveActiveActive
Setup difficultymoderatemoderatemoderate
Complexity3/54/53/5
Audiencepm founderdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires an API key from a model provider like OpenAI or Anthropic, plus configuration through a local settings file.

In plain English

Agent Apprenticeship is a system that lets AI agents get better at real work by actually doing tasks, getting feedback, and turning that experience into reusable knowledge. Think of it as an apprenticeship program for AI: an agent attempts a task, a mentor (either another AI or a human) reviews the work, and the lessons learned get fed back into a shared ecosystem so future agents start with more know-how. At a high level, you give the tool a task, something like "create a market map for AI procurement tools." An apprentice agent works through it in iterative loops, refining as it goes. When the run finishes, the system produces an "experience compilation" that captures what happened. You can then install that compilation as "runtime training," meaning the next time an agent runs a similar task, it benefits from prior experience. The project ships with a seed dataset of over 500 curated tasks, nearly 500 reusable lessons, and thousands of execution traces and work episodes to get things started. The tool is for people already using AI coding or task agents, Codex, Cursor, Claude Code, and others, who want those agents to improve over time instead of starting fresh each run. A founder might use it to train an agent on producing consistent competitive analyses, a PM might use it to build up a reliable release-checklist workflow. You can run fully autonomously, in expert-led mode, or in a custom organizational setup, and you choose whether your experience compilations stay private or contribute to the public ecosystem. What's notable is the compounding loop: every completed task generates structured learning signals, and those signals become training material for the next round. The project is built to work across model providers (OpenAI, Anthropic, Google, OpenRouter) and supports custom agent commands, so it's not locked to one toolchain. Setup is a single command, and configuration is handled through a local settings file.

Copy-paste prompts

Prompt 1
Using Agent Apprenticeship, set up an apprentice agent to create a market map for AI procurement tools, then review the experience compilation it produces.
Prompt 2
Configure Agent Apprenticeship in expert-led mode where I review the agent's work on competitive analysis tasks and feed my feedback back as lessons.
Prompt 3
Install a runtime training compilation from Agent Apprenticeship so my next agent run on a release-checklist task benefits from prior execution traces.
Prompt 4
Set up Agent Apprenticeship with Anthropic as the model provider and run a batch of seed tasks to generate reusable lessons for my team.

Frequently asked questions

What is agent-apprenticeship?

A system that helps AI agents learn from real tasks by doing work, getting feedback, and turning that experience into reusable knowledge for future runs, like an apprenticeship program for AI.

What language is agent-apprenticeship written in?

Mainly Python. The stack also includes Python, OpenAI, Anthropic.

Is agent-apprenticeship actively maintained?

Active — commit in last 30 days (last push 2026-07-03).

How hard is agent-apprenticeship to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is agent-apprenticeship for?

Mainly pm founder.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub forsy-ai on gitmyhub

Verify against the repo before relying on details.