Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates AxAgent optimization and evaluation code for @ax-llm/ax, with agent.optimize, judge options, eval datasets, and saved artifacts.
41% 100%+59 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 9 of 22 without it.
Which target string option should be passed to tune both actor and responder elements of an agent simultaneously?
Sets target parameter to all
This test ran on v1. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
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.Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.