ax-go-agent

Build Go agents using the generated Ax package API.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you write correct Go code for Ax-generated agents without guessing the API shape, so you can build delegation, tool use, clarification, and stateful workflows with confidence.

Core Features & Use Cases

  • Agent Construction: Create Ax agents in Go using the generated package instead of TypeScript-only patterns.
  • Delegation and Tooling: Wire child agents, tools, and MCP clients into agent workflows for richer task completion.
  • Runtime Control: Handle clarification, discovery, recall, final responses, runtime state saving, and direct-response execution for no-tool tasks.
  • Use Case: If you are implementing a Go agent that must call tools, ask follow-up questions, and resume after a pause, this Skill guides the correct package-level approach.

Quick Start

Use this skill to write Go code for an Ax agent that accepts typed inputs, invokes the generated package API, and returns the correct response envelope.

Frequently Asked Questions about ax-go-agent

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

FAQPage Schema
How do I build Go agents using the generated Ax package?

To build Go agents with the Ax package, you use the native package API to construct agents, wire tools, and return typed response envelopes. This ensures correct agent orchestration without relying on TypeScript patterns.

How does child agent delegation work in Ax Go agents?

Child agent delegation in Ax Go agents works by wiring child agents and MCP clients into parent agent workflows. This allows the orchestrator to assign subtasks and aggregate results for richer task completion.

How do I handle runtime state recovery and clarification flows in Go agents?

Runtime state recovery and clarification flows in Go agents are handled using the Ax package API to save state and request follow-up questions. This enables workflows to pause, ask for input, and resume correctly.

Can I use MCP clients and tools with Ax Go agents?

Yes, you can use MCP clients and tools with Ax Go agents. The Skill guides the correct package-level approach to wire MCP clients and tools into agent workflows for direct-response execution.

What is the best way to execute direct-responses for no-tool tasks in Ax Go agents?

The best way to execute direct-responses for no-tool tasks is using the generated Ax package API to process typed inputs and return the correct response envelope directly, bypassing unnecessary tool orchestration.

Do I need the native Ax package API to ensure typed responses in Go projects?

Yes, you need the native Ax package API to ensure typed responses in Go projects. It provides the generated package truth and runtime profiles required for correct type enforcement during agent execution.