Ax rust playbook

From ax-llm/ax · View interactive version

Ax rust playbook is an AI agent skill from the GitHub repository ax-llm/ax. Use when writing Rust 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 Rust

This skill helps an agent write Rust 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

let program = axllm::ax("question:string -> answer:string")?;
let student = Rc::new(RefCell::new(llm));
let mut pb = axllm::playbook(program, student, None::<Rc<RefCell<OpenAICompatibleClient>>>, json!({}));
pb.evolve(&examples, &mut metric_fn, &json!({}))?;

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.