Ax is a TypeScript-first programming framework for building applications with large language models through typed generation, agents, workflows, and optimization tools. It is intended for developers who want one model for LLM programs across TypeScript, Python, Java, C++, Go, Rust, and other runtimes.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ax-llm/ax --skill ax-agentgit clone --depth 1 https://github.com/ax-llm/axWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ax-llm/ax/ax-agent)<a href="https://agentmods.dev/skills/ax-llm/ax/ax-agent"><img src="https://agentmods.dev/badge/skills/ax-llm/ax/ax-agent/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ax-llm/ax/ax-agent"><img src="https://agentmods.dev/badge/skills/ax-llm/ax/ax-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00131 | $0.08414 |
| Opus 5.5 | $0.00052 | $0.03366 |
| Sonnet 5.5 | $0.00026 | $0.01683 |
| Haiku 4.5 | $0.00013 | $0.00841 |
Grade A, and why
ax-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
1 near-identical copy found in the catalogue:
- ax-agent — 88% identical, 23 lines differ
How it starts
The opening of the file, as written. The whole thing — 711 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AxAgent Codegen Rules (@ax-llm/ax)
Use this skill to generate small, correct AxAgent code. Prefer modern factory-style APIs and copyable patterns. Do not write tutorial prose unless the user explicitly asks for explanation.
Your job is to choose the smallest correct AxAgent shape for the user's needs:
- If the user wants a normal tool-using assistant, keep the config minimal.
- If the user wants long-running code execution, use the
ax-agent-rlmskill. - If the user wants callbacks, logs, tracing, or usage data, use the
ax-agent-observabilityskill. - If the user wants dynamic memory retrieval or skill-guide loading, use the
ax-agent-memory-skillsskill. - If the user wants tuning or eval with
agent.optimize(...), use theax-agent-optimizeskill. - If the user wants MCP transports, authentication, catalogs, subscriptions,
tasks, Apps, or event-driven wake/resume, use the
ax-mcpskill.
Use These Defaults
For Typesafe/Jev decisions inside an agent, keep a generative model for the actor's tools/code/prose and call Typesafe in a separate decision step. See the ax-typesafe skill for supported signatures and native questions; Jev cannot supply a general tool-using actor's output contract.
- Use
agent(...), notnew AxAgent(...). - Prefer string signatures or
f()signatures over hand-written signature objects. - Put
ai,judgeAI, andagentIdentityon theagent(...)config when you want instance defaults or child-agent metadata. - Prefer
fn(...)for host-side function definitions instead of hand-writing JSON Schema objects. - Prefer namespaced functions such as
utils.search(...)orkb.find(...). - Pass child agents directly in
functions: [...]. They land under theiragentIdentity.namespace(orutilsif unset), exactly like afn()tool. - If discovery is enabled, call
discover(...)before using callables whose docs are not already in the prompt. - Use explicit child agents in
functions: [...]for specialist delegation; do not model that as recursivellmQuery(...). - Add
bubbleErrorsonly for fatal infrastructure errors that should abort.forward().
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday Changed e4f8cc3fb015
- 2d ago Changed 2c23f71b04f0
- 4d ago Changed d6d84c12f903
- 6d ago Changed b3679091b90b
- 8d ago Changed 7b2db149eb72
- 11d ago Changed 3aa7860f08c8
- 12d ago Changed 6d4a3fa44c4a
- 13d ago Changed 3afebcff0464
- 19d ago Changed 1f840b4b4374
- 22d ago First seen · 711 lines · 131 tokens per session scan A c98be8fdafc8
ax-agent is a skill published in the GitHub repository ax-llm/ax (2,967 stars, last pushed 2d ago), licensed Apache-2.0. It adds 131 tokens to every session and 8,414 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
output-dev-evaluator-function
Create evaluator functions in evaluators.ts for Output SDK workflows. Use when implementing quality assessment, validation logic, or content evaluation.
output-dev-http-client-create
Create shared HTTP clients in src/shared/clients/ for Output SDK workflows. Use when integrating external APIs, creating service wrappers, or standardizing HTTP operations.
output-dev-prompt-file
Create .prompt files for LLM operations in Output SDK workflows. Use when designing prompts, configuring LLM providers, or using Liquid.js templating.
adr-skill
Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows. Use when you need to propose, write, update, accept/reject, deprecate, or supersede an ADR; bootstrap an adr folder and index; consult existing ADRs before implementing changes; or enforce ADR conventions. This skill uses…
output-dev-eval-testing
Create offline evaluation tests for Output SDK workflows using @outputai/evals. Use when implementing test evaluators with verify(), creating dataset YAML files, building eval workflows, or running workflow tests via CLI.
output-dev-step-function
Create step functions in steps.ts for Output SDK workflows. Use when implementing I/O operations, error handling, HTTP requests, or LLM calls.