An executable, local-first course for Python developers learning how AI/Agent loops improve through decision, action, evaluation, feedback, and stopping policies.
The Chinese-first course README is the primary entry point. In about 45 minutes, its deterministic code-repair case lets you inspect a failing loop, run three controlled experiments, and verify one improvement with before/after artifacts. No API key, model service, or network is required.
python -m pip install -e ".[dev]"
python experiments/code_repair/baseline.pyThen follow the three lessons:
The small reusable framework exposes Policy, Action, Evaluator, StopPolicy, structured traces, and JSON artifacts. Follow-up material is organized in the reference index and advanced index.
python -m pytest -q
python scripts/check_docs.py
python -m build --wheelSee CONTRIBUTING.md and the release checklist. Released under the MIT License.