Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ax-llm/ax-agent-optimize
This skill helps an LLM generate correct AxAgent tuning and evaluation code using @ax-llm/ax.
Passed 22 of 22 test cases with the skill, and 9 of 22 without it.
and 18 more in the full report
13 fixed9 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
This benchmark measured an earlier version of the skill.
One of 13 test cases the skill fixed. Same model, same prompt, with and without the skill.
Which target string option should be passed to tune both actor and responder elements of an agent simultaneously?
| Checked | Without skill | With skill |
|---|---|---|
| Sets target parameter to all | Missed | Passed |
The instructions your model reads when the skill loads.
Use this skill for agent.optimize(...) workflows. Prefer short, modern, copyable patterns. Do not repeat general agent-authoring guidance unless the user needs it. For generic ax(...) or flow(...) tuning with top-level optimize(...), use the ax-gepa skill instead.
Your job is to help the model choose a good optimization setup for the user's actual goal:
agent.optimize(...) only after the agent is already configured and runnable.input and criteria, then let agent.optimize(...) use its default actor target and judge-based metric.optimize(program, train, metric, options) for non-agent generators and flows; do not rewrite normal agent task-record examples to the generic helper.metric only when success is easy to score from the prediction and task record.judgeAI plus judgeOptions when the judge should run on a stronger or separate model than the agent runtime model.AxGen evaluator when the user needs LLM-as-judge behavior outside the built-in agent.optimize(...) flow.target unless the user clearly wants responder-only tuning or explicit program IDs.f.object(...) over vague f.json(...) whenever the agent must reason about returned fields.axSerializeOptimizedProgram(result.optimizedProgram!), then restore with axDeserializeOptimizedProgram(saved) and agent.applyOptimization(...).bootstrap is enabled, bootstrapped demos are persisted inside result.optimizedProgram.demos; raw failed traces are not saved in v1.autoUpgrade) appear in captured traces/demos as their truncated preview string, not the full value — same as declared truncate-style contextFields. This is expected; do not treat the shortened value as a bug in the saved demos.train and validation unless the user already has a holdout set.agent.optimize(...) now optimizes generic components exposed by the selected target programs; target: 'actor' only tunes actor components, target: 'responder' only tunes responder components, and target: 'all' broadens the component set.result.optimizedProgram.componentMap is the canonical saved artifact for agent GEPA runs. It may include actor instructions, descriptions, tool descriptions/names, templates, or runtime primitives depending on what the selected target exposes.Pick the optimization shape from the user's need:
expectedActions and forbiddenActions.target: 'responder', but only if the task is not mostly tool-selection or clarification behavior.test cases passed, vs 9 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.