ax-java-llm

Write Java code using native dev.axllm:ax entrypoints for Ax packages.

2.9k|186|Updated Feb 23, 2023
One-click install
npx skills add https://github.com/ax-llm/ax --skill ax-java-llm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ax-java-llm
Source: https://github.com/ax-llm/ax/tree/main/website/static/java/.well-known/agent-skills/ax-java-llm
Command: npx skills add https://github.com/ax-llm/ax --skill ax-java-llm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you write Java code against the generated Ax package without accidentally using TypeScript-only APIs or mismatched call patterns.

Core Features & Use Cases

  • Java package guidance: Use the native dev.axllm:ax entrypoints for signatures, providers, agents, flows, and optimizers.
  • Docs-aligned implementation: Follow the package API docs, capability manifest, and runnable examples as the source of truth.
  • Practical use cases: Build Java LLM apps, translate Ax concepts into Java syntax, and choose the right provider setup for real network or no-key scenarios.

Quick Start

Ask for a Java implementation that uses the generated Ax package and follows the package examples for the specific feature you want.

Frequently Asked Questions about ax-java-llm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write Java code for the Ax LLM framework without using TypeScript APIs?

To write Java code for the Ax LLM framework natively, use the `dev.axllm:ax` package entrypoints for signatures, providers, agents, flows, and optimizers instead of TypeScript APIs. This ensures correct call patterns and deterministic code generation.

What is the correct Java package entrypoint for building Ax agents and flows?

The correct Java package entrypoint for building Ax agents and flows is `dev.axllm:ax`. It provides the native Java syntax required for implementing signatures, providers, and optimizers without relying on TypeScript-only APIs.

Can I use Ax optimizers and providers in a Java LLM application?

Yes, you can use Ax optimizers and providers in a Java LLM application by leveraging the native `dev.axllm:ax` package. This allows you to translate Ax concepts into Java syntax and choose the right provider setup for network or no-key scenarios.

How do I translate Ax concepts into Java syntax for LLM applications?

You translate Ax concepts into Java syntax by following the package API docs, capability manifest, and runnable examples as the source of truth. This approach guides the implementation of signatures, agents, and flows using the `dev.axllm:ax` entrypoints.

Why does my Ax Java implementation fail to match the expected provider call patterns?

Your Ax Java implementation fails when it accidentally uses TypeScript-only APIs or mismatched call patterns. To fix this, align your code with the native package docs, AxIR manifests, and the correct Java entrypoints for deterministic provider mapping.

Do I need AxIR manifests to generate deterministic Ax Java code?

Yes, you need AxIR manifests and native package docs to generate deterministic Ax Java code. These resources act as the source of truth for mapping providers correctly and ensuring your Java implementation follows the expected API structure.