Skip to main content
The console brings a service definition and its running state into one workspace. Use it to browse operations, follow HTTP exchanges, inspect Stack state, review deferred work, and understand current fidelity gaps.

Open the console

Open the terminal interface for the first registered service:
Name a service to select it immediately:
Add --web to use the browser interface:
The service name is optional in both forms. When it is omitted, the console opens the first service in the registry and keeps the service switcher available.
The console uses registered services. Run simile register NAME --config URL_OR_FILE before opening a service for the first time.

Service lifecycle

The console first looks for the selected service on its configured listener.
  • If the matching compiled artifact is already running, the console attaches to it.
  • If the listener is free, the console starts the service and restores its durable state.
  • If another process owns the listener, the console stops with a conflict instead of attaching to an unrelated process.
Closing the console stops only a service that the console started. A service that was already running remains running.

Terminal interface

The terminal interface uses the same service model and runtime inspection endpoints as the browser. It is useful over SSH and in environments where opening a browser would interrupt the workflow.

Browser interface

The browser interface opens on a temporary loopback URL. It combines compiled service evidence with live runtime activity. Simile browser console showing a connected service and runtime telemetry Simile browser console showing a connected service and runtime telemetry The views have two evidence sources: This distinction matters when diagnosing an emulation. The artifact explains what the service can do; runtime views show what the service has done and retained locally.

Operations

Open Operations to search the compiled HTTP surface. Each operation groups its route, declared outcomes, representative payloads, and fidelity evidence. An operation with its route, schemas, outcomes, and representative payloads An operation with its route, schemas, outcomes, and representative payloads Representative payloads explain the compiled contract. Calls made by your application appear under Exchanges.

Run an operation

Open an operation and select Try it. The request workbench sends the call through the running service, including its normal routing, authentication, validation, state, effects, and exchange recording. The workbench starts with the operation’s representative request. You can change the path, query parameters, headers, or JSON body, then select any active profile, scenario, fault profile, and deterministic seed. Profile credentials remain inside the service process. The response includes an execution proof. It records the selected outcome, request controls, validation layers, committed effects, deferred work, webhooks, and delivery fault. Use this proof to answer why a particular response occurred.

Exchanges and state

Exchanges records calls handled by the local emulator and restores them when the service starts again. State reads the running Stack and its payload-free causal journal without opening the state database while the service owns it. The Exchanges workspace showing requests handled by a local service The Exchanges workspace showing requests handled by a local service The State workspace showing Stack resources and journal activity The State workspace showing Stack resources and journal activity

Replay and compare

Open a retained exchange and select Replay. Simile runs the captured request with its original seed and outcome selection, without committing another state transition. The console compares the new result with the retained response and lists semantic differences by JSON path. Replay requires safely retained request evidence. Exchanges with opaque or truncated bodies explain why replay is unavailable.

Save a test session

Open Sessions to checkpoint the complete Stack before a test sequence. A checkpoint includes resources, deferred work, causal journal, counters, and logical clock. Restoring it returns the running service to that exact point. Checkpoints live for the lifetime of the running service process. Give them intent-revealing names such as empty-cart, payment-ready, or after-first-retry. The same view can advance a manually controlled logical clock when the service uses one.

Local security boundary

Runtime inspection is exposed only by services listening on a loopback address. Browser requests must also originate from a loopback origin. A console that starts the service receives a short-lived bearer capability for workbench, replay, session, and clock mutations. The capability stays in the temporary loopback console page. A console attached to an independently running service remains read-only. The inspector redacts sensitive JSON fields, headers, cookies, path parameters, and query parameters. Opaque bodies are omitted, and bodies above 256 KiB are marked as truncated. Sanitized exchanges remain in $SIMILE_HOME/state/services/NAME.exchanges.redb across restarts until you use Clear history. The store has no automatic retention limit. Response bodies and explicit State values can still contain application data. Keep the service and console on a machine you trust.