ax-rust-gen

Generates Rust AxGen code for typed structured generation programs with axllm.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you write correct Rust code for Ax built on axllm, so you can create typed structured generation programs without guessing the native API shape.

Core Features & Use Cases

  • Structured Generation: Build AxGen programs from signatures for question answering, extraction, and other typed outputs.
  • Tools and MCP Integration: Attach Rust tools or MCP-derived tools to generation calls when your workflow needs external actions.
  • Output Handling: Work with forward calls, streaming, assertions, traces, usage tracking, and output parsing in a package-accurate way.
  • Use Case: A developer needs a Rust assistant that turns a prompt into structured fields, calls a tool when needed, and streams the result back reliably.

Quick Start

Ask for a Rust AxGen example that uses axllm to build a typed generation program for a simple question-to-answer workflow.

Frequently Asked Questions about ax-rust-gen

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

FAQPage Schema
How do I generate typed structured outputs in Rust using axllm?

You can attach Rust tools or MCP-derived tools to generation calls when your workflow needs external actions. This enables building AxGen programs that interact with external systems during structured generation.

How do I handle streaming responses and output parsing in Rust AxGen?

Handling streaming responses and output parsing in Rust AxGen involves using package-accurate APIs for forward calls. This Skill guides writing correct code for streaming, assertions, traces, and usage tracking.

Can I integrate MCP clients into Rust structured generation workflows?

Yes, you can integrate MCP clients into Rust structured generation workflows. The Skill supports attaching MCP-derived tools to generation calls, allowing your AxGen programs to perform external actions.

Do I need an API key to run Rust AxGen structured generation programs?

This Skill provides package-accurate native syntax and generated package examples for AxIR-aligned APIs. This ensures your Rust AxGen code follows the correct API shape without guessing internal module structures.

What is the best way to track usage and traces in Rust axllm programs?

The best way to track usage and traces in Rust axllm programs is using the built-in output handling features. This Skill helps you implement assertions, traces, and usage tracking in a package-accurate way.