Ax rust refine

From ax-llm/ax · View interactive version

Ax rust refine is an AI agent skill from the GitHub repository ax-llm/ax. Use when writing Rust code with `axllm` for reward-scored generation, iterative candidate improvement, evaluator feedback, and optimizer-backed refinement patterns.

How to use this skill

Skill file

Ax Refinement Patterns 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 mut engine = axllm::AxGEPA::new().with_reflection_client(reflection_client);
let result = engine.optimize(request, evaluator)?;
let baseline = result["baselineScore"].as_f64().unwrap();
let delta = result["metadata"]["bestScore"].as_f64().unwrap() - baseline;

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.