# Install Cernanto and run your first workflow

You need **Node.js 26 or later** on macOS, Linux or Windows. Linux also needs `bubblewrap` and `socat`.

## Start the local runtime

The first start installs the runtime from npm and pulls the platform’s agents
from the Cernanto registry, each held to the digest the release names. Both land
under `~/.cernanto`, with the Claude Code and Codex tooling. The terminal can be
quiet while the packages download.

Shell

```sh
npm install -g cernanto
cernanto dev
```

Run that block on its own and wait for the shell prompt before pasting the next one. If an assistant is signed in, `cernanto dev` detects it. Otherwise `connect which? [1]` asks which assistant to connect. Enter selects Claude Code. To try the counter without signing in, press **Ctrl-C at that question**; the plane is already running.

## Download the examples

Clone the repository and enter its agents workspace.

Shell

```sh
git clone https://github.com/cernanto/cernanto
cd cernanto/agents
```

To get the same files without Git, extract the source archive and open a
terminal in its `agents` folder.

[Download the source archive](https://github.com/Cernanto/cernanto/archive/refs/heads/main.zip).

The registry also supplies the source beside each package.
[Get the examples from the registry.](/docs/runtime-and-guarantees#get-the-examples-without-git)

## Run the counter

Deploy the precompiled counter alone, then call it twice.

Shell

```sh
cernanto deploy examples/basics/counter
cernanto call examples/basics/counter next
```

Output

```text
1
```

Shell

```sh
cernanto call examples/basics/counter next
```

Output

```text
2
```

The second call continues the same count. [Try the counter recovery exercise.](/docs/runtime-and-guarantees#check-recovery-with-the-counter)

## Open the web UI

**See it in your browser.** The runtime serves its own web UI. One command opens it:

Shell

```sh
cernanto ui
```

Select `examples/basics/counter` in the list of agents. The call you just made is there, read as a conversation. Press **Next** in the box under it, and it answers the next number. [The web UI](/docs/ui) shows what else is on that screen.

![The counter in the Cernanto web UI: its calls read as a conversation, each answered with the next number](/screenshots/cernanto-ui-first-reply-light.webp)

The counter in the web UI, with the calls made to it.

<a id="full-collection"></a>
## Try the included helpdesk

Deploy the full collection to use the helpdesk. Two of the examples start HTTP
servers on **all network interfaces**. Orders listens on port **8080** and the
refund desk on **8085**. Requests to those examples can use your model sign-in.
Use a trusted network. [Local services and how to stop the runtime.](/docs/runtime-and-guarantees#coding-assistants-model-access-and-local-services)

Shell

```sh
cernanto deploy examples/basics/ examples/sandbox/ examples/workflows/
```

The helpdesk answers from the included handbook and needs model access through
Claude Code or Codex. If you skipped sign-in, run `cernanto dev` on its own and
finish the sign-in prompt. If you signed in separately, run it again so the
local runtime records the login.
[Model access and API keys.](/docs/runtime-and-guarantees#coding-assistants-model-access-and-local-services)

Shell

```sh
cernanto call examples/workflows/helpdesk ask question="Who approves expenses over 5000 euros?"
```

Output

```text
{ "answered": true, "answer": "Dana Swope, the finance lead.", "page": "expenses.md" }
```

The wording of a fresh answer can vary.

In the web UI, select `examples/workflows/helpdesk`. Its **Trace** shows how it reached that answer: the handbook pages it chose, then the answer it wrote from them.

## Work through your coding assistant

From the root of your own workspace, install the Cernanto skill for Claude Code,
Codex and other assistants that read Agent Skills.

Shell

```sh
cernanto skill
```

Then ask for an agent in a sentence. A first request that needs no outside
account: “Write an agent that takes a message and a number of minutes, waits
that long, then answers the message.” Your assistant writes and deploys the
agent, checks how the compiler read the source, and edits the wording if needed.
[What your assistant is told.](/docs/skill)
[Install it for every workspace.](/docs/runtime-and-guarantees#use-your-coding-assistant)

Next, [write an agent of your own](/docs/runtime-and-guarantees#one-file-of-your-own) or [choose a workflow to run](/examples).

---

[Release source](https://github.com/Cernanto/cernanto/blob/v0.9.4/README.md) · [HTML page](https://cernanto.com/install)

## Project

[GitHub](https://github.com/Cernanto/cernanto) · [npm](https://www.npmjs.com/package/cernanto)

[About](/about)

## Contact

[Project questions](https://github.com/Cernanto/cernanto/discussions) · [Report an issue](https://github.com/Cernanto/cernanto/issues)

[Licensing](mailto:legal@cernanto.com) · [Security](mailto:security@cernanto.com)

## Legal

[License](/license) · [Patents and trademarks](/license#patents)

[Privacy](/license#privacy)

Cernanto™ · Copyright © 2026 Cernanto
