gengar-atropos-environments

Build and debug Gengar RL environments with BaseEnv methods and tool calling.

Updated May 4, 2026
One-click install
npx skills add https://github.com/JamesFincher/gengar --skill gengar-atropos-environments
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gengar-atropos-environments
Source: https://github.com/JamesFincher/gengar/tree/main/optional-skills/mlops/hermes-atropos-environments
Command: npx skills add https://github.com/JamesFincher/gengar --skill gengar-atropos-environments

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you implement and troubleshoot Gengar reinforcement learning environments for Atropos training without breaking the agent loop, tool calling, or reward evaluation contracts.

Core Features & Use Cases

  • GengarBaseEnv integration guide: Implements the required lifecycle (setup, get_next_item, format_prompt, compute_reward, evaluate, wandb_log) so the environment works with the Gengar multi-turn agent loop.
  • Correct reward and evaluation wiring: Ensures compute_reward scores using AgentResult.messages and ToolContext sandbox verification, while evaluate runs the full GengarLoop (tools included).
  • Production-friendly CLI workflows: Covers the three modes—serve, process, and evaluate—with provider-agnostic inference setup prompts and correct flags.

Quick Start

Ask the AI to walk you through creating your environments/your_env.py by mapping each required method to the correct GengarBaseEnv interfaces, including how to score rollouts with compute_reward and verify them via ToolContext in evaluate mode.

Frequently Asked Questions about gengar-atropos-environments

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

FAQPage Schema
How do I build an RL environment for Atropos training with tool calling?

To build an RL environment for Atropos training, wire the required BaseEnv lifecycle methods—setup, get_next_item, format_prompt, compute_reward, evaluate, and wandb_log—into the multi-turn agent loop to support tool calling and custom reward functions.

Why does my compute_reward function fail during agentic evaluation?

Your compute_reward function fails during agentic evaluation if it does not score rollouts using AgentResult.messages or lacks tool-based verification via ToolContext within the evaluate method's GengarLoop execution.

What is the correct way to implement CLI workflows for Atropos environments?

The correct way to implement CLI workflows for Atropos environments is by configuring the three modes—serve, process, and evaluate—with provider-agnostic inference setup prompts and correct flags for deterministic evaluation.

Can I use wandb logging to track metrics in my Atropos RL environment?

Yes, you can use wandb logging to track metrics in your Atropos RL environment by implementing the wandb_log method and calling super to ensure metrics integrate properly with the Gengar multi-turn agent loop.

How does GengarLoop handle tool-based verification in reinforcement learning environments?

GengarLoop handles tool-based verification by running full agentic rollouts with tools included, using ToolContext sandbox verification to validate agent actions before computing rewards from AgentResult.messages.

Do I need to implement all BaseEnv methods to run an Atropos environment in evaluate mode?

Yes, you need to implement all BaseEnv methods—setup, get_next_item, format_prompt, compute_reward, evaluate, and wandb_log—to run an Atropos environment in evaluate mode and maintain the Gengar agent loop contract.