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-python-llmgit 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-python-llm)<a href="https://agentmods.dev/skills/ax-llm/ax/ax-python-llm"><img src="https://agentmods.dev/badge/skills/ax-llm/ax/ax-python-llm/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-python-llm"><img src="https://agentmods.dev/badge/skills/ax-llm/ax/ax-python-llm.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.00036 | $0.00609 |
| Opus 5.5 | $0.00014 | $0.00244 |
| Sonnet 5.5 | $0.00007 | $0.00122 |
| Haiku 4.5 | $0.00004 | $0.00061 |
Grade A, and why
ax-python-llm 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.
How it starts
The opening of the file, as written. The whole thing — 38 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ax For Python
Use this entry point when working with axllm. Read the guides relevant to the task before writing code. The guides are bundled locally; no additional skill installation is needed. Load more guides when a task crosses into another area.
Choose A Guide
| Task | Read |
|---|---|
| Start a program, choose native factories, or find package docs and examples | Quick reference |
| provider clients and model routing | AxAI Providers |
| decision signatures and native questions | Typesafe / Jev |
| audio and realtime provider mappings | Ax Audio And Realtime |
| signatures, fields, schemas, and validation | Ax Signatures |
| structured generation and tools | AxGen Structured Generation |
| RLM agents and tools | AxAgent |
| runtime sessions and actor-code execution | AxAgent RLM Runtime |
| memory, recall, and dynamic skill loading | AxAgent Memory And Skills |
| traces, logs, usage, and diagnostics | AxAgent Observability |
| agent evaluation and optimization artifacts | AxAgent Optimize |
| choosing context maps, policy, optimization, and recall | AxAgent Context Selection |
| workflow graphs and orchestration | AxFlow |
| Pareto optimization and prompt evolution | Ax GEPA |
| evolving context playbooks | Ax Playbook |
| candidate improvement and evaluation feedback | Ax Refinement Patterns |
For an agent with persistent recall, read the agent and memory guides. For a provider-backed workflow, read the AI, generation, and flow guides.
What ships with it
16 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/ax-python-agent-context.md 1.8 KB
- references/ax-python-agent-memory-skills.md 4.0 KB
- references/ax-python-agent-observability.md 4.5 KB
- references/ax-python-agent-optimize.md 2.4 KB
- references/ax-python-agent-rlm.md 1.7 KB
- references/ax-python-agent.md 13 KB
- references/ax-python-ai.md 34 KB
- references/ax-python-audio.md 4.3 KB
- references/ax-python-flow.md 11 KB
- references/ax-python-gen.md 28 KB
- references/ax-python-gepa.md 2.2 KB
- references/ax-python-playbook.md 1.8 KB
- references/ax-python-refine.md 1.8 KB
- references/ax-python-signature.md 13 KB
- references/ax-python-typesafe.md 10 KB
- references/quickstart.md 3.1 KB
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 f396e24e7504
- 2d ago Changed 210804d16652
- 12d ago Changed 60ef2ff37d89
- 14d ago Changed b549501185c5
- 18d ago Changed 208c43c993ba
- 24d ago Changed 41f9253ec7c6
- 27d ago Changed 2ff331f1da4f
- 1mo ago Changed e1cb895bd7ea
- 1mo ago Changed 0c7381efde1f
- 1mo ago First seen · 38 lines · 36 tokens per session scan A 8310b39f2df4
ax-python-llm is a skill published in the GitHub repository ax-llm/ax (2,998 stars, last pushed today), licensed Apache-2.0. It adds 36 tokens to every session and 609 once invoked, about $0.0001 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-08-30.
ax-python-llm compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ax-python-llmax-llm/ax | Skill | 3.0k | today | Apache-2.0 | A | 36 | Claude Code, Codex |
| claude-apihashgraph-online/awesome-codex-plugins | Skill | 1.6k | today | Apache-2.0 | A | 53 | Claude Code, Codex |
| migrating-llm-gateway-callersPostHog/posthog | Skill | 41k | today | none | A | 102 | Claude Code, Codex |
| migrate-from-ai-sdkDeuz-AI/Deuz-SDK | Skill | 504 | 7d ago | MIT | A | 118 | Claude Code, Codex |
| model-contextbobmatnyc/claude-mpm-skills | Skill | 79 | 4mo ago | MIT | A | 34 | Claude Code |
| build-mcp-serverbobmatnyc/claude-mpm | Skill | 160 | 3mo ago | none | A | 36 | Claude Code |
| pytorch-patternsaffaan-m/ECC | Skill | 314k | yesterday | MIT | A | 32 | Claude Code, Kiro |