Skip to content

Designer → Sandbox

This page connects Design your first system and Try the Sandbox into a single walkthrough. By the end you’ll have a real EvidentSource component (that you designed) running in the Sandbox and reachable from a client.

Open designer.evidentsource.com. Create a project. Sketch:

  • Events: what your system records
  • Commands: what users send in
  • State views: what the app reads back

Full walkthrough: Design your first system.

Hit Generate in Designer. Pick your language. Download the archive or clone the generated repo.

You’ll get decide function stubs for each command and evolve stubs for each state view. Fill in the business logic — the types, commands, and view shapes are already in place.

Each SDK has a single build command that produces WebAssembly components from your decide and evolve functions. The generated repo has a README with the exact command for your language.

From Designer, click Deploy to Sandbox. Your components are uploaded and registered against a database in the Sandbox namespace. The page gives you the database name to point your clients at.

Alternatively, deploy from the CLI — see Deploying to Sandbox.

Point any SDK at https://sandbox.evidentsource.com and send one of the commands you just modeled. See Connecting with an SDK for the exact client setup per language.

Query one of your state views. The evolve function you wrote has been folding the events into it since step 5.

Query the event stream for your subject. You’ll see the event your decide function emitted, with full metadata — the command that produced it, when it landed, and the component version that handled it.

That’s an EvidentSource decision trace. Read Decision Traces & AI-Readiness for why this matters.