atlas-env
A pip-installable CLI + SDK + agent framework for the 3I Atlas Gym.
- Import name:
atlas_env - Console script:
atlas - No hard third-party dependencies.
Install
pip install atlas-env
CLI
atlas init my-agent --task analyst_forecast_v1
atlas list
atlas eval --task analyst_forecast_v1 --domain compute --as_of 2026-11-25
atlas train
atlas run-app
Project layout
my-agent/
agent/agent.py # the agent (Agent subclass)
application/main.py # the app entrypoint (`atlas run-app`)
tasks/__init__.py # project task registry (custom tasks)
scoring/__init__.py # project scoring schemes (custom metrics)
atlas.json # name / task_id / trainable
pyproject.toml
README.md
train/train.py # only when trainable (`atlas train`)
Tasks live in the SDK (atlas_env.tasks.base.Task, atlas_env.tasks.manager.TaskManager)
and scoring in atlas_env.grading.base.GradingScheme (PinballGrading,
net-return, ...). Projects add their own in tasks/ and scoring/; atlas eval
and atlas list merge the project registry with the built-ins.
Prebuilt tasks
The SDK ships three default tasks, registered in atlas_env.tasks and exposed
by name through Prebuilt:
from atlas_env.tasks import Prebuilt
task = Prebuilt.ForecastHorizon # analyst_forecast_v1
task = Prebuilt.MacroRates # macro_rates_v1
task = Prebuilt.PortfolioAllocator # portfolio_allocator_v1
Prebuilt.all() # [Task, Task, Task]
Prebuilt.ids() # ["analyst_forecast_v1", ...]
Prebuilt.get("analyst_forecast_v1") # Task | None
Agents opt into one or more of these by listing their ids in
compatible_tasks; the project's tasks/ registry adds custom tasks on top.
Prebuilt scoring
Every task carries a default scheme; the runner scores each action with
task.grading.grade(action, realized). The same schemes are exposed by name:
from atlas_env.grading import Scoring
from atlas_env.tasks import Prebuilt as Tasks
Scoring.Prebuilt.pinball # PinballGrading()
Scoring.Prebuilt.net_return # NetReturnGrading()
Scoring.Prebuilt.for_task(Tasks.ForecastHorizon) # PinballGrading()
Scoring.Prebuilt.get("net_return") # NetReturnGrading()
Scoring.Prebuilt.pinball.grade(
{"p10": -0.01, "p50": 0.0, "p90": 0.01}, {"change": 0.005}
)
# {"pinball": 0.0068, "coverage": 1.0}
Metadata
Release files for atlas-env 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| atlas_env-0.6.1-py3-none-any.whl | Python 3 | none | any | Details for atlas_env-0.6.1-py3-none-any.whl |
Release files / atlas_env-0.6.1-py3-none-any.whl
| Download URL | atlas_env-0.6.1-py3-none-any.whl |
|---|---|
| Size | 23.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7ad5e1faf2c26414a57868fd2a4ab372101b5ab8a7f28d046d72b3081bcd475
|
|
BLAKE2b-256 checksum How to use checksums |
aa929029c7af913418301c31c59aae6b92b56210c56190fe56cbc421eeb624cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for atlas-env 0.6.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.