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.dev1.tar.gz (227.0 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.dev1-py3-none-any.whl (285.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: synth_env-0.0.1.dev1.tar.gz
  • Upload date:
  • Size: 227.0 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.dev1.tar.gz
Algorithm Hash digest
SHA256 4c02592148ced82f71145ee7487c007e8df75e6d6cd0b9bd5d70e96e081af10c
MD5 1665d45ba7532e7dae2d1ce8f58a4fff
BLAKE2b-256 e557f423ba710926808fa634241e15a10d595a8100063b032f644c35a34baea3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: synth_env-0.0.1.dev1-py3-none-any.whl
  • Upload date:
  • Size: 285.2 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.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 67f52b552d0a82af23e288d9c2f55749c6359153c92cecf0bcab8c844cd89641
MD5 5b979bc01a751aed5caa8b1fec600648
BLAKE2b-256 767ec40059c5eef1fddf965df6ff0a54e4881fd4f7e7ca8346f6668bd3692569

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