inclusionAI/AEnvironment

Standardized environment infrastructure for Agentic AI development.

What it solves

AEnvironment solves the tedious and repetitive work of setting up environments for AI agents and reinforcement learning (RL) systems. In the era of "agentic RL", developers often waste time wiring up benchmarks, tool servers, sandboxes, and multi-agent coordination. AEnvironment unifies all of these behind a single "Environment" interface, so you can define tools, functions, and reward signals once, then reuse them across benchmarking, RL training, and production deployment without rewriting infrastructure.

How it works

AEnvironment embraces the philosophy of "Everything as Environment". It extends the standard MCP (Model Context Protocol) to let any capability — a simple tool, a full terminal, a multi-agent system, or even another agent — be exposed as a reusable environment. You write Python decorators to register tools, internal functions, and reward functions. The provided CLI (aenv) lets you initialize a project, run a local MCP server for testing, build an image, and push it to a registry. At runtime, you open an environment with Environment("name"), list its tools, call them, and even call reward functions for RL training.

It also includes built-in environments (like TAU2, Mini Terminal, TerminalBench) and supports deploying environments as temporary instances or persistent services, with an optional Claude Code skill that automates deployment.

Who it's for

AEnvironment is aimed at:

  • Environment providers who want to package capabilities once and expose them everywhere.
  • Algorithm developers who need to run large-scale agentic RL training (it integrates with Ant Group's AReaL framework).
  • Agent developers who want a low-friction way to give agents tools, sandboxes, and multi-agent orchestration without building custom infrastructure.

Highlights

  • Zero-cost benchmark integration — ready-to-use environments for TAU2-Bench, SWE-Bench, and Terminal-Bench.
  • Seamless RL training — native MCP support and reward functions plug directly into agentic RL pipelines.
  • Agents as environments — treat another agent as an environment, enabling multi-agent orchestration and hierarchical systems.
  • Rapid dev-to-production — define tools, build, and deploy in seconds using the unified API and CLI.
  • Claude Code deploy skill — automated deployment of instances and services with three workflows, directly from Claude Code.

Related

  • Project
  • Project
  • Project
  • Project