Skip to content

About

ComputerWorld's open engine: deterministic simulated computers (OS shells, a browser engine, Python and Node runtimes, a synthetic internet). MIT. The crates on crates.io.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ComputerWorld

A deterministic simulated computer: operating-system shells, a browser with its own HTML, CSS and JavaScript engine, Python and Node runtimes, a synthetic internet, and a catalog of applications, every step of which replays to the byte. Agents drive it through pointer and keyboard or through typed actions, and every observation comes from state the evaluator can read.

This is the open core, and the place it is written. It carries the engine, the SDK and module ABI, the application catalog with the base applications, the generic services of the synthetic internet (search, wiki, mail, calendar, docs, drive, chat, messages, forum, an assistant, static sites and node apps), the bindings, and the reference worlds that need only open parts. Applications and services of other crates join it at run time: cw_applications::apps::external registers native applications, and cw_services::extend adds service kinds. The professional applications of the catalog (KiCad, FreeCAD, the office suite, Visual Studio Code, the video editors, Music, Maps) and the look-alike services of named products are served by the hosted API at https://computaco.ai; a world that installs one of those applications is refused at boot with that reason here.

  • ComputaCo/computerworld: the Python and JavaScript clients of the hosted API, and the engine's release assets.
  • docs/app-packages.md: the application catalog and how to bring your own.
  • crates/README.md: the workspace.

Build with cargo build, test with cargo test -p computerworld, and build the Wasm bundle with bash scripts/build-wasm.sh. The crates are published on crates.io.

Checks that run only on ComputaCo's side

cargo test --workspace here runs every test that needs only this repository. These do not, because they read things that are not public:

  • The reference company world. About 90 tests of the generic services, the blueprint, the SQL engine and the web engine read the company world's sites, mail and data. They carry a reference-world feature and are ignored without it (cargo test lists them as ignored, with that reason). ComputaCo links the world at worlds/company-2026 and runs them with the feature on.
  • The determinism corpus. The state hashes every engine change must keep byte for byte are taken on the company world, so the corpus and its goldens are ComputaCo's.
  • The decision-path suites. The operator's suites that run on this engine (the stage-4 rules, the rules study, the operator budget) are ComputaCo's.

A change here lands on main only after ComputaCo has run these on that exact commit. A pull request from outside is welcome; it may wait for that run, and a failure there comes back as a comment that says what moved.

Third-party files and their licences are listed in ATTRIBUTION.md.

Licensed under the MIT License (LICENSE).

About

ComputerWorld's open engine: deterministic simulated computers (OS shells, a browser engine, Python and Node runtimes, a synthetic internet). MIT. The crates on crates.io.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages