Ax python playbook

From ax-llm/ax · View interactive version

Ax python playbook is an AI agent skill from the GitHub repository ax-llm/ax. Use when writing Python code with `axllm` for the playbook() context-engineering surface, agent-bound verified evolution, run-end learning, online updates, and rendering a playbook into a program.

How to use this skill

Skill file

Ax Playbook For Python

This skill helps an agent write Python code with the generated Ax package axllm. Use the generated package API, examples, and manifests; do not import TypeScript-only APIs unless you are editing the TypeScript package.

When To Use

Package Facts

Core Pattern

from axllm import ax, playbook

program = ax("question:string -> answer:string")
pb = playbook(program, {"studentAI": llm})
pb.evolve(examples, metric_fn)

Relevant API Surface

Guardrails

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.