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.dev2.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.dev2-py3-none-any.whl (285.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: synth_env-0.0.1.dev2.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.dev2.tar.gz
Algorithm Hash digest
SHA256 e83595e303941040e738641249af43930cf41c907701da31c8a8e7fb5db0c251
MD5 799c7b193b5b73524b3496421080e491
BLAKE2b-256 9a681b0f7f03ed527880a8b4ad78fd197177a61906eb4e8c9305f1ab00c4951f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: synth_env-0.0.1.dev2-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.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 69246de1720552f4c6a9f7ae1676ecd0e4500baca166a45c4c6e3e8cc7373cf5
MD5 c23dc994436b2a530e9fd43823c3f7d4
BLAKE2b-256 9826cc0b73862c9599c5d04003b2e5ea38d831062e7c80ddef428703fe1c8d90

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