ax-llm/ax

The pretty much "official" DSPy framework for Typescript

About the project

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.

This repository also configures its own agents. See what ax tells them →

2.9kStars on the repository
95Mods indexed here, across every type
yesterdayLast push, which is what freshness is scored on
Apache-2.0Licence, which decides whether bodies are shown

ax-rust-playbook

73

ax-llm/ax

Skill Claude CodeCodex

Use when writing Rust code with axllm for the playbook() context-engineering surface, agent-bound verified evolution, run-end learning, online updates, and rendering a playbook into a program.

not rated 2.9k +3 changed today A 48 tokens copy · 89% Apache-2.0

ax-rust-refine

74

ax-llm/ax

Skill Claude CodeCodex

Use when writing Rust code with axllm for reward-scored generation, iterative candidate improvement, evaluator feedback, and optimizer-backed refinement patterns.

not rated 2.9k +3 changed today A SkillSpector: pass 36 tokens copy · 72% Apache-2.0

ax-rust-signature

75

ax-llm/ax

Skill Claude CodeCodex

Use when writing Rust code with axllm for string signatures, field descriptors, JSON schema output, validation, and typed tool argument shapes.

not rated 2.9k +3 changed today A SkillSpector: pass 36 tokens original Apache-2.0

ax-llm/ax

Skill Claude CodeCodex

Use when adding or changing generated AxIR language backends in this repo, including target registration, codegen templates, package metadata, examples, conformance, and verification. This is a repo-maintainer skill and must not be emitted into generated Ax packages.

not rated 2.9k +3 changed today A SkillSpector: pass 57 tokens original Apache-2.0

ax-llm/ax

Skill Claude CodeCodex

Use when changing Ax website language docs, language-specific snippets, examples, API symbol mappings, generated package capabilities, or adding a new website language route. Keeps the markdown-only Hugo site source-audited and generated from repo truth.

not rated 2.9k +3 yesterday A SkillSpector: warn 52 tokens original Apache-2.0

ax-agent-context

78

ax-llm/ax

Skill Claude CodeCodex

This skill helps an LLM pick the right AxAgent context tool for a job - contextMap for recurring corpora, contextPolicy presets for within-run trajectory compaction, agent.optimize for offline GEPA instruction/demo tuning, agent.playbook for an evolving context playbook (offline evolve + online update), and…

not rated 2.9k +3 changed 3d ago A SkillSpector: pass 147 tokens original Apache-2.0

ax-llm/ax

Skill Claude CodeCodex

This skill helps an LLM generate correct AxAgent memory retrieval, context-map, and dynamic skill-loading code using @ax-llm/ax. Use when the user asks about contextMap, AxAgentContextMap, onMemoriesSearch, memoriesCatalog, recall(...), inputs.memories, onLoadedMemories, onUsedMemories, onSkillsSearch, skillsCatalog…

not rated 2.9k +3 changed 3d ago A SkillSpector: pass 128 tokens original Apache-2.0

ax-llm/ax

Skill Claude CodeCodex

This skill helps an LLM generate correct AxAgent observability code using @ax-llm/ax. Use when the user asks about axGlobals.onUsage, usageContext, centralized or multi-tenant usage accounting, actorTurnCallback, onContextEvent, agentStatusCallback, onFunctionCall, reportSuccess, reportFailure, getChatLog()…

not rated 2.9k +3 changed 3d ago A SkillSpector: pass 95 tokens original Apache-2.0

ax-agent-optimize

81

ax-llm/ax

Skill Claude CodeCodex

This skill helps an LLM generate correct AxAgent tuning and evaluation code using @ax-llm/ax. Use when the user asks about agent.optimize(...), judgeOptions, eval datasets, optimization targets, saved optimizedProgram artifacts, or agent optimization guidance.

not rated 2.9k +3 changed 3d ago A SkillSpector: warn 57 tokens original Apache-2.0

ax-agent-rlm

82

ax-llm/ax

Skill Claude CodeCodex

This skill helps an LLM generate correct AxAgent RLM/runtime code using @ax-llm/ax. Use when the user asks about RLM code execution, AxJSRuntime, contextFields, contextPolicy, liveRuntimeState, promptLevel, stage prompt controls, executorModelPolicy, maxRuntimeChars, agent.test(...), llmQuery(...), recursionOptions…

not rated 2.9k +3 changed 3d ago A SkillSpector: pass 88 tokens original Apache-2.0

ax-agent

83

ax-llm/ax

Skill Claude CodeCodex

This skill helps an LLM generate correct core AxAgent code using @ax-llm/ax. Use when the user asks about agent(), child agents, namespaced functions, discovery mode, clarification, bubbleErrors, host-side final/clarification protocol, or ordinary agent runtime behavior. For MCP clients, native runtime modules…

not rated 2.9k +3 changed today A SkillSpector: pass 131 tokens original Apache-2.0

ax-ai

84

ax-llm/ax

Skill Claude CodeCodex

This skill helps an LLM generate correct AI provider setup and configuration code using @ax-llm/ax. Use when the user asks about ai(), providers, models, routing, adaptive balancing, presets, embeddings, batch audio with ai.transcribe() or ai.speak(), extended thinking, context caching, or mentions…

not rated 2.9k +3 changed 2d ago A SkillSpector: warn 100 tokens original Apache-2.0

ax-audio

85

ax-llm/ax

Skill Claude CodeCodex

This skill helps an LLM generate correct audio code with @ax-llm/ax. Use when the user asks about ai.transcribe(), ai.speak(), signature audio inputs or outputs, agent audio behavior, .chat() conversational audio, OpenAI audio or realtime models, Gemini Live native audio, Grok Voice Agent models, voices, formats…

not rated 2.9k +3 changed 3d ago A SkillSpector: pass 85 tokens original Apache-2.0

ax-event-runtime

86

ax-llm/ax

Skill Claude CodeCodex

Use AxEventRuntime to ingest events, explicitly wake or resume AxGen, AxAgent, and AxFlow, persist state and results, and route outputs safely.

not rated 2.9k +3 changed 3d ago A SkillSpector: pass 36 tokens original Apache-2.0

ax-flow

87

ax-llm/ax

Skill Claude CodeCodex

This skill helps an LLM generate correct AxFlow workflow code using @ax-llm/ax. Use when the user asks about flow(), AxFlow, workflow orchestration, parallel execution, DAG workflows, conditional routing, map/reduce patterns, or multi-node AI pipelines.

not rated 2.9k +3 changed 2d ago A SkillSpector: pass 59 tokens original Apache-2.0

ax-gen

88

ax-llm/ax

Skill Claude CodeCodex

This skill helps an LLM generate correct AxGen code using @ax-llm/ax. Use when the user asks about ax(), AxGen, generators, forward(), streamingForward(), validation, assertions, streaming assertions, field processors, step hooks, self-tuning, or structured outputs. For MCP clients, transports, prompts, resources…

not rated 2.9k +3 changed 3d ago A SkillSpector: pass 86 tokens original Apache-2.0

ax-llm

89

ax-llm/ax

Skill Claude CodeCodex

This skill helps with using the @ax-llm/ax TypeScript library for building LLM applications. Use when the user asks about ax(), ai(), f(), s(), agent(), flow(), AxGen, AxAgent, AxFlow, signatures, streaming, or mentions @ax-llm/ax.

not rated 2.9k +3 changed 3d ago A SkillSpector: pass 68 tokens original Apache-2.0

ax-mcp

90

ax-llm/ax

Skill Claude CodeCodex

This skill helps an LLM build correct native Model Context Protocol integrations with @ax-llm/ax. Use when the user asks about AxMCPClient, MCP transports, tools, prompts, resources, subscriptions, tasks, sampling, elicitation, roots, authentication, OAuth, MCP Apps, recording/replay, or MCP integration with AxGen…

not rated 2.9k +3 changed 2d ago A SkillSpector: pass 90 tokens original Apache-2.0

ax-playbook

91

ax-llm/ax

Skill Claude CodeCodex

This skill helps an LLM generate correct playbook code using @ax-llm/ax. Use when the user asks about playbook(), AxPlaybook, context playbooks, evolving context, ACE / Agentic Context Engineering, agent.playbook(), or growing/applying task knowledge offline and online with evolve() and update().

not rated 2.9k +3 changed 3d ago A SkillSpector: pass 70 tokens original Apache-2.0

ax-refine

92

ax-llm/ax

Skill Claude CodeCodex

Use this skill when writing or reviewing Ax bestOfN/refine code, reward functions, thresholds, native sample selection, serial attempts, generated advice, and attempt diagnostics.

not rated 2.9k +3 changed 3d ago A SkillSpector: pass 38 tokens original Apache-2.0

ax-signature

93

ax-llm/ax

Skill Claude CodeCodex

This skill helps an LLM generate correct DSPy signature code using @ax-llm/ax. Use when the user asks about signatures, s(), f(), field types, string syntax, fluent builder API, validation constraints, or type-safe inputs/outputs.

not rated 2.9k +3 changed 3d ago A SkillSpector: pass 57 tokens original Apache-2.0

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: