<< All versions
Skill v22.0.9
currentAutomated scan100/100ax-llm/ax/ax-java-gen
+3 new
──Details
PublishedJune 30, 2026 at 11:26 PM
Content Hashsha256:f4a845110797f9ea...
Git SHA2bf8c7b9a46b
Bump Typepatch
──Files
Files (1 file, 1.8 KB)
SKILL.md1.8 KBactive
SKILL.md · 46 lines · 1.8 KB
name: "ax-java-gen" description: "Use when writing Java code with dev.axllm:ax for AxGen programs, forward calls, streaming, tools, assertions, traces, usage, and output parsing." version: "22.0.9"
AxGen Structured Generation For Java
This skill helps an agent write Java code with the generated Ax package dev.axllm:ax. Use the generated package API, examples, and manifests; do not import TypeScript-only APIs unless you are editing the TypeScript package.
When To Use
- Build a structured generation program from a signature.
- Attach typed tools or MCP-derived tools to a generation call.
- Use package examples for no-key scripted clients and provider-api calls.
Package Facts
- Language: Java.
- Package:
dev.axllm:ax. - Package API docs:
API.mdandaxir-api.json. - Capability manifest:
axir-capabilities.json. - Runnable examples:
examples/. - Real network support: yes.
- Scripted no-key transport support: yes.
- Runtime profiles:
javascript-quickjs,python-pyodide.
Core Pattern
java
AxGen program = Ax.ax("question:string -> answer:string");var out = program.forward(llm, java.util.Map.of("question", "What is Ax?"));
Relevant API Surface
- AxGen:
Ax.ax,AxGen - Tools:
Ax.fn,Tool - MCP:
AxMCPClient,AxMCPStreamableHTTPTransport,AxMCPStdioTransport
Guardrails
- Start from package examples for exact native syntax before inventing a new call shape.
- Use
provider-apiexamples only when the user explicitly has provider credentials available. - Use
no-keyexamples for deterministic local checks and provider request mapping. - Treat AxIR as the source of generated package truth: if package docs disagree with source code, update the compiler and regenerate packages.
- Do not copy repo-maintainer skills from
tools/*/skills/into user packages.