Skip to main content

No project description provided

Project description

Environments

Synthetic Environments / Long Horizon Tasks / Digital Control Agents

Coverage Python License Tests

Motivation

  • We're building Environments to have key desiderata for long-horizon language agents
  • Snapshotting and reproducibility
  • Statefulness as a first-class citizen
  • Consistent abstractions for engine interaction and state reads across settings
  • Environment observability and tracing
  • HTTP access for simplified training and evaluation
  • Strong data abstractions to enable easily-configurable filtering and curriculum learning
  • Simple abstractions for agent-originated tool edits, etc.

User Guide

Note - this repo is under extremely active development. Hic sunt dracones, if not contributing it may be more useful as a reference or development resource than as core code for your production systems.

Supported Environments

[] Sokoban (maturing, not active dev) - This environment is not of our own making! Please credit the great researchers at Deepmind and Ragen, among others. - Checkout test_synth_react.py for a hello world example! [] Hendryks Math [] (maturing) [] Crafter-Classic (maturing) [] EnronBench (active dev) [] SWE-Bench (active dev - do not attempt) [] NMMO (active dev - do not attempt) [] Red (active dev) [] Verilog (maturing)

...

Development

To use the Astral suite of devtools:

  • Package management: uv sync, uv add, uv remove
  • Linting: ruff format .
  • Type checking: uvx ty check

Testing and Coverage

Run tests with coverage:

# Run all tests with coverage report
pytest tests/ --cov=src --cov-report=html --cov-report=term

# Run specific test files
pytest tests/unit/test_registry.py

# Run with verbose output
pytest tests/ -v

Current test coverage: 42.3%

The test suite includes:

  • Unit tests for core components (registry, environments, engines)
  • Integration tests for service API endpoints
  • Q solver tests* for Sokoban environment
  • No AI agent demos in tests (algorithmic solving only)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

synth_env-0.0.1.dev0.tar.gz (226.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

synth_env-0.0.1.dev0-py3-none-any.whl (282.0 kB view details)

Uploaded Python 3

File details

Details for the file synth_env-0.0.1.dev0.tar.gz.

File metadata

  • Download URL: synth_env-0.0.1.dev0.tar.gz
  • Upload date:
  • Size: 226.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for synth_env-0.0.1.dev0.tar.gz
Algorithm Hash digest
SHA256 fbe6ab2d3082f6628e24096c2e5944457e5bf023e6989c914d760c0ddf5dc284
MD5 c5c773dc271478f283075d27a72fdffb
BLAKE2b-256 3202f957b10d5d65b4e706c50f36d10815e9374ea6930f12aa208b79b350bd3b

See more details on using hashes here.

File details

Details for the file synth_env-0.0.1.dev0-py3-none-any.whl.

File metadata

  • Download URL: synth_env-0.0.1.dev0-py3-none-any.whl
  • Upload date:
  • Size: 282.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for synth_env-0.0.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 649dd39008f372862fc24ab4150c71edbe3c87148df4ed63f4cd67de1dc1ae01
MD5 ec979d9b089514459c0524f28977882f
BLAKE2b-256 aace0524ad085c8db53b9e20b02392bd8df3e6dbf8d2a2703ee9549af3b84180

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page