# Legacy Environments

## Overview

Before CodeZero, RL Swarm used an early research environment called **Reasoning Gym**.

Reasoning Gym focused on math and logic tasks verified by symbolic correctness checks. It provided a foundation for distributed reinforcement learning research and demonstrated the viability of peer-to-peer RL training.

#### Deprecation

{% hint style="danger" %}
This environment is now **deprecated and archived**.
{% endhint %}

This environment has been deprecated and replaced by CodeZero.

All current nodes now run CodeZero automatically, and no manual migration is required beyond a simple `git pull` command to update. Existing nodes retain their same network, identity, and connection structure during the transition.

#### Archived Resources

* [Reasoning Gym Repository](https://github.com/gensyn-ai/reasoning-gym): Original implementation and research codebase

#### Migration Notes

If you have documentation or scripts referencing Reasoning Gym:

* **Node setup:** No changes required. CodeZero uses the same installation process.
* **Identity files:** `swarm.pem` files remain compatible.
* **Network connection:** Same peer-to-peer protocol and gossip mechanism.

The transition from Reasoning Gym to CodeZero is transparent to end users, as both environments run on the same RL Swarm infrastructure.

{% hint style="success" %}
RL Swarm's architecture is designed to support multiple environments.&#x20;

As new environments are developed, they will be documented here alongside CodeZero.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gensyn.ai/testnet/rl-swarm/how-it-works/legacy-environments.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
