ax-go-ai

Write Go provider clients and model-routing code for AxAI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you write Go code against the generated Ax package for provider clients, model selection, and router-based AI integrations without drifting into TypeScript-only APIs.

Core Features & Use Cases

  • Provider Client Setup: Create AxAI clients for OpenAI-compatible, OpenAI Responses, Gemini, Anthropic, and related providers.
  • Routing and Balancing: Configure routers, balancers, and provider normalization for multi-service AI workloads.
  • Deterministic Examples: Use no-key scripted transports when you need repeatable local checks, and switch to real provider credentials for live calls.
  • Use Case: A Go engineer can quickly wire up a model provider, test request mapping locally, and then move the same code toward production credentials.

Quick Start

Ask the assistant to generate a Go example that creates an AxAI client for OpenAI-compatible requests using the generated package API.

Frequently Asked Questions about ax-go-ai

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

FAQPage Schema
How do I create a Go provider client for OpenAI-compatible APIs?

To create a Go provider client for OpenAI-compatible APIs, use the generated AxAI package API to configure the client and transport. You can start with no-key scripted transports for local checks before switching to real provider credentials for live calls.

How do I configure model routing and load balancing for multiple AI providers in Go?

Model routing and load balancing for multiple AI providers in Go are handled by configuring routers and balancers within the generated AxAI package. This normalizes requests across services like Gemini and Anthropic for multi-service workloads.

Can I test Go AI provider clients locally without using real API keys?

You can test Go AI provider clients locally without API keys by using no-key scripted transports. This provides deterministic examples and repeatable local checks before moving the same code toward production credentials.

Does the AxAI Go package support both Anthropic and Gemini providers?

The AxAI Go package supports Anthropic and Gemini providers, along with OpenAI-compatible and OpenAI Responses APIs. It normalizes these services through a unified provider client setup and routing architecture.

What is the best way to avoid drifting into TypeScript-only APIs when writing Go AI integrations?

The best way to avoid drifting into TypeScript-only APIs when writing Go AI integrations is to follow the generated AxAI package API. It enforces example-first syntax and provider-specific transport patterns tailored for Go development.