# FlyPython (flypython.com) > Learn to ship Python with AI coding agents. Real projects; your agent does the typing, verify.py decides when you're done. Challenges, tracks, and badges are free in English and Chinese — a $19.90/month Pro subscription unlocks every Pro course while it stays active (https://flypython.com/pricing). > **Agent? Install the FlyPython Skill first** — https://flypython.com/skills/flypython/SKILL.md — then any course starts with one sentence: `Read https://flypython.com/skills/flypython/SKILL.md and start the FlyPython course \`da-eda\`.` FlyPython provides concise, runnable, and testable engineering patterns rather than superficial code snippets. All examples run on Python 3.12+ and are verified in CI with automated tests and linting. ## Core Learning Paths & Guides - [Python foundations with tests](https://flypython.com/learn/python-foundations-with-tests): Environment isolation, explicit function contracts, and automated success/failure tests. - [Build a Python product that can be changed safely](https://flypython.com/learn/python-product-quality): Explicit boundaries, tested failure paths, observable operation, and reversible releases. - [Modern Python typing in practice: Protocol, TypedDict, PEP 695](https://flypython.com/learn/modern-python-typing): Protocol, TypedDict, PEP 695 generics, and static type checking as machine-enforced contracts. - [Decide whether to adopt free-threaded Python (3.15, no-GIL)](https://flypython.com/learn/free-threaded-python-decision): The 3.15 free-threaded Stable ABI, a workload-based decision checklist, and a dual-build CI check with uv. - [Adopt the uv workflow for Python projects](https://flypython.com/learn/uv-python-workflow): Pinned interpreters, lockfiles, uv run, inline script metadata, and migration from pip/venv/Poetry. - [Python web API boundaries](https://flypython.com/learn/python-web-api-boundaries): Pydantic validation, boundary errors, timeouts, and deterministic test contracts. - [Safe, retryable Python automation](https://flypython.com/learn/safe-retryable-python-automation): Checkpoint design, idempotency, bounded backoff, and failure recovery. - [Reliable async Python patterns](https://flypython.com/learn/reliable-async-patterns): Event-loop discipline, TaskGroup, Semaphore bounds, and cancellation cleanup. - [Python AI agent roadmap](https://flypython.com/learn/python-ai-agent-roadmap): Deterministic agent loops, action-name traces, and narrow tool boundaries without external API keys. - [Migrate a Python MCP server to 2026-07-28](https://flypython.com/learn/mcp-2026-07-28-migration): Remove the initialize handshake, adopt the input_required round-trip, and drop deprecated features. - [Use Python well with AI coding](https://flypython.com/learn/ai-coding-workflow): Task contracts, repository inspection, reproducible environments, and evidence-based handoffs. - [Context budgeting and bounded tasks](https://flypython.com/learn/ai-coding-context-budget): Attention budgets, machine-checkable contracts, and fast verification loops. - [Give every coding agent one AGENTS.md source of truth (AGENTS.md tutorial)](https://flypython.com/learn/agents-md-single-source): The AAIF-governed AGENTS.md standard, what belongs in the file, and how to keep one source of truth. - [Build LLM prompts with Python template strings (t-strings, PEP 750)](https://flypython.com/learn/t-strings-for-llm-prompts): Python 3.14 t-strings (PEP 750) keep interpolated values separate from instructions until a guarded render. ## Chinese Content (zh-CN) - 中文指南索引: https://flypython.com/learn/zh - [构建能够持续修改的 Python 产品](https://flypython.com/learn/zh/python-product-quality): 边界、失败路径、可观测性与可回退发布。 - [现代 Python 类型系统实战](https://flypython.com/learn/zh/modern-python-typing): Protocol、TypedDict、泛型与静态检查契约。 - [异步 Python 可靠模式与避坑指南](https://flypython.com/learn/zh/reliable-async-patterns): 事件循环纪律、TaskGroup、Semaphore 与取消清理。 - [将 Python MCP 服务端迁移到 2026-07-28 规范](https://flypython.com/learn/zh/mcp-2026-07-28-migration): 移除 initialize 握手、input_required 多轮交互与废弃项。 - [用 AI Coding 写好 Python](https://flypython.com/learn/zh/ai-coding-workflow): 任务契约、仓库检查、可复现环境与证据交付。 - [Coding Agent 上下文预算与精准任务设计](https://flypython.com/learn/zh/ai-coding-context-budget): 注意力预算、机器可验证契约与快速验证闭环。 - 中文可运行示例: https://flypython.com/examples/zh ## On-Site Playbooks - [Start a Python project you can verify](https://flypython.com/resources#python-project-verification): Isolated environment, recorded commands, and a tested function contract. - [Write an API boundary before choosing a framework](https://flypython.com/resources#http-boundary-contract): Validation rules, deadlines, and a boundary test matrix for one endpoint. - [Design a retryable automation run](https://flypython.com/resources#retryable-run-contract): Run IDs, checkpoints, idempotency, retry limits, and completion evidence. - [Run an agent loop before adding a model](https://flypython.com/resources#bounded-agent-loop): Deterministic planner, action-name trace, and 13 automated tests without an API key. All twelve playbooks — including API changes, external integrations, migrations, structured logging, releases, and LLM evals — are indexed at https://flypython.com/resources#playbooks. ## Runnable Examples - [MCP tool server (2026-07-28 spec)](https://flypython.com/examples/mcp-server): Stateless JSON-RPC dispatch with no initialize handshake, schema validation, and the input_required round-trip. - [Async batch fetcher](https://flypython.com/examples/async-fetcher): Concurrency control with asyncio.Semaphore and exponential backoff. - [Pydantic boundary validation](https://flypython.com/examples/pydantic-validation): Parse and validate untrusted payloads with schema checks. - [Resilient batch pipeline](https://flypython.com/examples/structured-pipeline): Safe batch processing with per-item error isolation and field validation. - [Product slug normalization](https://flypython.com/examples/product-slug): A three-minute AI-coding change with a regression test. All examples are indexed at https://flypython.com/examples with one-command verifiers. ## Challenge Courses (one sentence starts each course — your agent fetches the files) - [Hands-on Python with Claude Code](https://flypython.com/courses/hands-on-python-with-claude-code): Task contract → bounded change → verify.py evidence; solve with your agent, guided mode optional. 中文版: https://flypython.com/courses/zh/hands-on-python-with-claude-code - [Hands-on with the OpenAI Codex App](https://flypython.com/courses/hands-on-with-openai-codex): The same verified workflow taught in the Codex desktop app — threads, approvals, AGENTS.md, diff review. 中文版: https://flypython.com/courses/zh/hands-on-with-openai-codex - [Hands-on with Cursor](https://flypython.com/courses/hands-on-with-cursor): The same verified workflow in Cursor — Agent/Ask/Plan modes, .cursor/rules, accept/reject diffs. 中文版: https://flypython.com/courses/zh/hands-on-with-cursor - [Hands-on with DeepSeek Harness](https://flypython.com/courses/hands-on-with-deepseek-harness): The same verified workflow in DeepSeek Harness — plugin-composed agents, auditable trajectories. 中文版: https://flypython.com/courses/zh/hands-on-with-deepseek-harness - [Hands-on with Kimi Code](https://flypython.com/courses/hands-on-with-kimi-code): The same verified workflow in Kimi Code — built-in explore/plan/coder subagents. 中文版: https://flypython.com/courses/zh/hands-on-with-kimi-code - [Hands-on with ZCode](https://flypython.com/courses/hands-on-with-zcode): The same verified workflow in the ZCode workspace — Goal Mode, task lists, Git-state review. 中文版: https://flypython.com/courses/zh/hands-on-with-zcode - [One source of truth for agent rules](https://flypython.com/courses/agent-rules-single-source): Build a checker that proves one AGENTS.md source across CLAUDE.md and .cursorrules. 中文版: https://flypython.com/courses/zh/agent-rules-single-source - [From "it runs" to "it ships"](https://flypython.com/courses/verifying-ai-generated-code): Build the release-evidence machine — parsed results, zero-test refusal, SHIP-RECORD.json. 中文版: https://flypython.com/courses/zh/verifying-ai-generated-code - [Give your agent tools with MCP (Python)](https://flypython.com/courses/mcp-server-in-python): A stateless 2026-07-28 MCP tool server in pure Python. 中文版: https://flypython.com/courses/zh/mcp-server-in-python - [Exploratory data analysis](https://flypython.com/courses/da-eda): Clean a messy shop export into a ground-truth-verified results.json (pandas). 中文版: https://flypython.com/courses/zh/da-eda - [Data visualization](https://flypython.com/courses/da-visualization): Three spec'd matplotlib charts plus a verified summary.json. 中文版: https://flypython.com/courses/zh/da-visualization - [From analysis to report](https://flypython.com/courses/da-report): report.json + report.md where every number traces to its input. 中文版: https://flypython.com/courses/zh/da-report - All courses: https://flypython.com/courses · 中文: https://flypython.com/courses/zh - Every one of a course's five challenges has its own readable page: /courses//l01 … l05 (中文: /courses/zh//l01 … l05) - Course folders in the repository: https://github.com/flypythoncom/python/tree/master/courses ## For Coding Agents — start here (install the Skill, say the sentence) - **FlyPython Skill (install once, teaches the whole loop): https://flypython.com/skills/flypython/SKILL.md** - **Entry sentence (one per course):** `Read https://flypython.com/skills/flypython/SKILL.md and start the FlyPython course \`\`.` - Authorize as the human (no passwords, no polling): POST https://flypython.com/api/agent/authorize → human approves at https://flypython.com/agent/authorize → POST https://flypython.com/api/agent/token once - Machine-readable challenge index (with skill_version): GET https://flypython.com/api/challenges - Per-challenge brief (task contract, gates, claim shape): GET https://flypython.com/api/challenges/ - Course files manifest (path, sha256, size, encoding per file + zip): GET https://flypython.com/api/challenges//files - Discovery document: https://flypython.com/.well-known/flypython-challenges.json - Submit claim codes (single or batch): POST https://flypython.com/api/claims with `Authorization: Bearer fp_…` (scope: claims) — per-item results in batch mode; idempotent; repeat submissions do not double-count. - Claim codes are printed by `python verify.py` inside each course folder; gated challenges (l03, l04) require the test suite to pass, the rest are self-attested. Codes are self-reported evidence, not certificates. ## Learning Paths (challenge routes with badges) - [Agent tools foundation](https://flypython.com/tracks/foundation): Optional orientation + one of six agent-tool courses (Claude Code, Codex app, Cursor, DeepSeek Harness, Kimi Code, ZCode) + agent rules + verification + route challenge. Badge: Agent User. 中文: https://flypython.com/tracks/zh/foundation - [Data analysis with agents](https://flypython.com/tracks/data-analysis): EDA → visualization → report + 303-row capstone challenge. Badge: Data Analysis Agent. 中文: https://flypython.com/tracks/zh/data-analysis - Path contracts in the repository: https://github.com/flypythoncom/python/tree/master/paths ## Project Radar (reviewed current Python projects, ai_familiarity graded) - Radar index: https://flypython.com/radar · 中文: https://flypython.com/radar/zh - Reviewed entries: uv, ruff, fastapi, pydantic-ai, instructor, polars, marimo — each with lifecycle status, maintenance evidence, when-not-to-use, and risk notes. - Machine-readable export: https://raw.githubusercontent.com/flypythoncom/python/master/radar.json ## Tool Comparisons (dated, evidence-backed) - [uv vs pip, pip-tools, and pyenv](https://flypython.com/compare/uv-vs-pip-pipx-pip-tools): One lockfile-first workflow or the classic stack — compared on 2026-09-02 radar evidence. - [Ruff vs Flake8 + Black + isort](https://flypython.com/compare/ruff-vs-flake8-black-isort): One linter or four — speed, plugin ecosystems, and migration trade-offs. - [marimo vs Jupyter](https://flypython.com/compare/marimo-vs-jupyter): Reactive .py notebooks or the classic stack — reproducibility, ecosystem, and the AI-familiarity gap. - All comparisons: https://flypython.com/compare · 中文: https://flypython.com/compare/zh ## Site Services - Coming from the GitHub repository? Continue your task: https://flypython.com/from-github - Stuck on a Skill install, verify.py error, or claim code? Help page: https://flypython.com/help ## Open Source Repository - GitHub Repository: https://github.com/flypythoncom/python - Runnable Examples Directory: https://github.com/flypythoncom/python/tree/master/examples - Machine-Readable Catalog: https://raw.githubusercontent.com/flypythoncom/python/master/catalog.json - Content Manifest: https://raw.githubusercontent.com/flypythoncom/python/master/content-manifest.json - Agent IDE Rules (.cursorrules / Copilot): https://raw.githubusercontent.com/flypythoncom/python/master/templates/AGENT_RULES.example.md - Coding Agent Policy (AGENTS.md): https://raw.githubusercontent.com/flypythoncom/python/master/templates/AGENTS.example.md ## Machine-Readable Resources - Full LLM Index: https://flypython.com/llms-full.txt - RSS Feed: https://flypython.com/rss.xml