Skip to main content

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.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for atlas-env 0.6.2
File Interpreter ABI Platform Actions
atlas_env-0.6.2-py3-none-any.whl Python 3 none any Details for atlas_env-0.6.2-py3-none-any.whl

Release files / atlas_env-0.6.2-py3-none-any.whl

Download URL atlas_env-0.6.2-py3-none-any.whl
Size 23.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
306b3886d7f7f62ac10fb72fb0fbe78cf6e0f3db7b9e7ebb296bb5fdbdd40303
BLAKE2b-256 checksum
How to use checksums
4ea68f56f1f9eb13b0118b054a189c7bde9640015f3a7d71a1139e40ac327ac6
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.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page