ax-cpp-gen

Generate C++ AxGen programs with typed tools and MCP transports for axllm.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you write C++ code for Ax structured generation workflows without guessing the generated package API or adapting TypeScript-only patterns by mistake.

Core Features & Use Cases

  • Structured generation: Build typed AxGen programs from signatures and call them with strongly typed inputs and outputs.
  • Tools and MCP integration: Attach typed tools or MCP-derived tools for agentic or data-access workflows.
  • Provider and runtime guidance: Use package examples for no-key scripted clients, provider API calls, streaming, traces, usage, assertions, and output parsing in native C++ projects.
  • Use case: When you need a C++ assistant that generates an answer string from a question, this Skill shows how to wire the program, run the forward call, and keep the implementation aligned with the generated axllm package.

Quick Start

Use this skill to create a C++ AxGen program with axllm by starting from the closest package example and adapting the signature, tools, and provider setup to your target workflow.

Frequently Asked Questions about ax-cpp-gen

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

FAQPage Schema
How do I generate typed C++ programs for structured generation with axllm?

You generate typed C++ programs for structured generation with axllm by building AxGen programs from signatures, wiring strongly typed inputs and outputs, and running forward calls using the generated package API. Start from the closest package example and adapt the signature to your workflow.

Can I attach typed tools and MCP transports to C++ AxGen workflows?

Yes, you can attach typed tools and MCP transports to C++ AxGen workflows for agentic or data-access tasks. The Skill guides wiring MCP-derived tools and typed tool integration to extend native C++ structured generation programs.

How do I handle streaming, traces, and usage tracking in C++ AxGen projects?

You handle streaming, traces, and usage tracking in C++ AxGen projects by using package examples for provider API calls and runtime guidance. The Skill aligns these features with the generated axllm package for deterministic or credentialed runs.

Do I need an API key to run C++ structured generation workflows?

You do not always need an API key to run C++ structured generation workflows. The Skill supports a no-key scripted client path for deterministic runs, alongside a provider-api path for credentialed runs using package examples and AxIR-backed manifests.

What is the best way to parse outputs and assertions in native C++ AxGen programs?

The best way to parse outputs and assertions in native C++ AxGen programs is to use the generated package API and package examples. The Skill provides provider and runtime guidance for output parsing and assertions aligned with the axllm package.

Why should I use C++ for axllm structured generation instead of adapting TypeScript patterns?

You should use C++ for axllm structured generation to avoid guessing the generated package API or mistakenly adapting TypeScript-only patterns. The Skill ensures correct implementation of signatures, tools, and provider setup in native C++ projects.