ax-agent-rlm

Generate AxAgent RLM runtime code for @ax-llm/ax with context policy and llmQuery delegation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you generate correct AxAgent RLM and runtime code without stumbling over prompt-stage rules, state persistence, or model-policy configuration.

Core Features & Use Cases

  • RLM pipeline guidance for distiller, executor, and responder behavior.
  • Practical defaults for context policy, prompt level, runtime state reuse, and direct response control.
  • Support for llmQuery delegation, agent.test validation, recursion options, and long-running agent sessions.
  • Use it when building observability-heavy agents, tuning executor upgrades, or writing custom runtime implementations.

Quick Start

Ask the assistant to generate an AxAgent RLM example for your task, including the right context fields, runtime policy, and any llmQuery or agent.test behavior.

Frequently Asked Questions about ax-agent-rlm

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

FAQPage Schema
How do I configure context policy and prompt level for an AxAgent RLM runtime?

To configure AxAgent RLM runtime context policy, you must correctly define contextFields and contextPolicy alongside promptLevel settings. This ensures proper prompt-stage rule enforcement and state persistence during agent execution.

What is llmQuery delegation in AxJSRuntime and when should I use it?

llmQuery delegation in AxJSRuntime routes specific execution tasks to language models based on executorModelPolicy. Use it when building observability-heavy agents or tuning executor upgrades to handle complex runtime state reuse.

How do I validate agent behavior using agent.test in an Ax RLM pipeline?

You validate agent behavior using agent.test to verify distiller, executor, and responder logic within the Ax RLM pipeline. This ensures correct direct-response semantics and runtime state handling before deployment.

Does @ax-llm/ax support long-running agent sessions with custom code runtimes?

@ax-llm/ax supports long-running agent sessions across AxJSRuntime and custom code runtimes by utilizing recursionOptions and maxRuntimeChars. This allows sustained agent execution while maintaining runtime state reuse.

Why does my AxAgent RLM code fail during prompt-stage rules and state persistence?

AxAgent RLM code fails during prompt-stage rules when contextPolicy, executorModelPolicy, or direct-response semantics are incorrectly configured. Proper maxRuntimeChars and recursionOptions settings are required to prevent runtime state reuse errors.