ax-rust-agent-optimize

Optimize Rust Ax agent programs with evaluator callbacks and bounded tuning runs.

2.9k|186|Updated Feb 23, 2023
One-click install
npx skills add https://github.com/ax-llm/ax --skill ax-rust-agent-optimize
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ax-rust-agent-optimize
Source: https://github.com/ax-llm/ax/tree/main/website/static/rust/.well-known/agent-skills/ax-rust-agent-optimize
Command: npx skills add https://github.com/ax-llm/ax --skill ax-rust-agent-optimize

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers tune Rust-based Ax agent programs and reusable components without guessing at the correct optimizer, evaluator, or artifact workflow.

Core Features & Use Cases

  • Agent Optimization: Configure and run optimization loops for Ax agents and reusable program components in Rust.
  • Evaluators and Judges: Build evaluator callbacks to score outputs, validate behavior, and support optimization decisions.
  • Artifact Persistence: Save optimizer artifacts so tuning runs can be inspected, reused, or applied later.
  • Bounded Optimization Runs: Keep experimentation controlled with explicit budgets and dataset row limits.
  • Use Case: A team can improve an Ax agent for structured generation by pairing GEPA or BootstrapFewShot with a Rust evaluator and then exporting the resulting optimizer artifacts.

Quick Start

Ask for a Rust Ax optimization plan that uses axllm, recommends the right optimizer, and shows how to wire an evaluator with bounded budgets.

Frequently Asked Questions about ax-rust-agent-optimize

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize Rust Ax agents with evaluator callbacks?

To optimize Rust Ax agents with evaluator callbacks, you configure an optimization loop using axllm, wire a custom evaluator to score outputs, and apply optimizers like AxBootstrapFewShot or AxGEPA to refine agent behavior.

What is the best way to save optimizer artifacts in axllm?

The best way to save optimizer artifacts in axllm is to use the artifact persistence workflow, which allows tuning runs to be exported, inspected, and reused later for structured generation tasks.

Can I run bounded optimization runs with budget limits in Rust Ax?

Yes, you can run bounded optimization runs in Rust Ax by setting explicit budgets and dataset row limits, keeping tuning experimentation controlled and preventing excessive resource consumption.

Does axllm support BootstrapFewShot and GEPA for agent refinement?

Yes, axllm supports both AxBootstrapFewShot and AxGEPA optimizers for agent refinement, allowing developers to pair these methods with Rust-native evaluators to improve structured generation.

Do I need AxIR-generated APIs to tune agents with axllm?

Yes, you need Rust-native AxIR-generated APIs to tune agents with axllm, as the optimizer requires exact package examples and these generated interfaces to execute the optimization workflows correctly.