Try an online playground
Open Similator and start experimenting without installing Simile.
Prerequisites
- A recent Simile installation for the bundled local playground
- A browser with WebAssembly, Web Workers, and IndexedDB enabled
- An OpenAPI or semantic TypeScript contract if you want to begin with your own service
Launch the local playground
http://127.0.0.1:4243, opens it in your browser, and
keeps the loopback server running until you press Ctrl-C.
Choose another loopback port when 4243 is already in use:
Understand browser persistence
The playground saves source files, notes, the latest compiled artifact, and reproduction cases in IndexedDB. A runtime checkpoint is saved only when you select Save checkpoint. Restoring that checkpoint is also explicit. Browser storage is scoped to the complete origin: scheme, host, and port. Reopeninghttp://127.0.0.1:4243 returns to the same local workspace. Starting the playground on port 4343
creates a separate workspace. Changing domains has the same effect.
Export work you want to keep before changing the origin or clearing browser data.
Build and exercise a service
Follow the same loop whether you start with the Orders example, a blank contract, or an imported workspace:- Author — Edit the OpenAPI or semantic TypeScript contract. Add HCL when the service needs state changes, deterministic outcomes, deferred work, faults, or other observable behavior.
- Compile — Select Compile. The playground validates the complete definition and keeps diagnostics beside the relevant source. Describe summarizes the service; Audit shows remaining fidelity gaps.
- Run — Choose an operation and run its representative request or a saved fixture. A fixed seed makes repeated runs deterministic.
- Inspect — Start an HTTP session to exercise stateful behavior. Inspect resources, the causal journal, deferred work, profiles, and checkpoints as the session changes.
- Export — Download a runnable workspace ZIP when the definition is ready to leave the browser.
Hand off to native Simile
The exported ZIP contains the service sources, compiled artifact, project notes, and a generatedHANDOFF.sh file. Extract it on a machine with the matching Simile version, review the files, then
run the handoff:
Simfile. Use the
Console to inspect the registered service and its live exchanges.
Related resources
- Define a service — Develop a contract and behavior definition from public service evidence
- Lifecycle — Register, start, update, and remove native services
- Console — Inspect operations, exchanges, state, and deferred work
- Run one operation — Exercise a contract from the command line