# EnvironmentInterface and friends are experiment code

**URL:** https://forum.thousandbrains.org/t/environmentinterface-and-friends-are-experiment-code/1081
**Category:** Monty Code
**Created:** [April 30, 2026, 7:52pm UTC](https://forum.thousandbrains.org/t/environmentinterface-and-friends-are-experiment-code/1081 "2026-04-30T19:52:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tslominski](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.thousandbrains.org/tslominski/32/5_2.png) [@tslominski](https://forum.thousandbrains.org/u/tslominski)
#### Post date: [April 30, 2026, 7:52pm UTC](https://forum.thousandbrains.org/t/environmentinterface-and-friends-are-experiment-code/1081/1 "2026-04-30T19:52:34Z")

</div>

Recently, we merged [refactor!: environment interface is part of experiment code by tristanls-tbp · Pull Request #953 · thousandbrainsproject/tbp.monty · GitHub](https://github.com/thousandbrainsproject/tbp.monty/pull/953).

That pull request clarifies that the environment interface code in `tbp.monty.frameworks.environments.embodied_data.py` is experiment code that sets up the environment before experiment steps/episodes/epochs.

So, that code is moved to `tbp.monty.experiment.environment.py`.

`tbp.monty.experiment` is a new module, but I wanted to mark the place where we hope to eventually migrate all experiment-specific code so that it is easier for others to start moving things there.
