CoreNELGet started

Guide

Running the sidecar.

Install it, pair it with the browser, choose the folders it shares, and run crew agents on it while you are away.

Set up

Install it, start it, pair it.

The sidecar is a small server that runs on the machine whose files you want the agent to reach. It is the only thing you install.

Install and start

Install the @corenel/sidecar package; it needs Node 22 or later. Then start it on the folder you want to share:

$ corenel-sidecar --root ~/work/api --open

The first time you start it from a terminal, it opens a browser page where you approve its sign-in. Approve it as the same account you use in the browser. With --open it then opens CoreNEL, which asks before it pairs with the sidecar. Where nobody is at a terminal, such as a service or a script, sign it in beforehand with corenel-sidecar login.

It listens on this machine only (127.0.0.1, port 4858) and prints what it is serving, then an address, a one-time pairing code and its key fingerprint under PAIR FROM ANY DEVICE. Without --root it shares the folder you started it in; repeat --root to share several. It runs while the command is open, or in the background with --detach. corenel-sidecar --help lists every option.

By default a sidecar lets in only the account it is signed in as, and if it is not signed in, nobody can connect to it. A team sidecar lets in the members of one organization instead: see Share a sidecar with a team.

Pair it with the browser

  1. Open CoreNEL and click the sidecar indicator at the bottom of the rail.
  2. Under Paste the pairing code, paste the whole block the sidecar printed, or just the code.
  3. Name this device if you like, then Connect. You must be signed in as the sidecar’s account.

A code pairs one device, once, within 10 minutes. corenel-sidecar pair prints another.

The dialog’s first step, Run this on the machine you want to reach, builds the exact command for This machine, Another machine on your network, or Anywhere (a public URL through the cloudflared tunnel, so a phone can pair from elsewhere). Starting the sidecar with --open opens CoreNEL in your browser with a pairing code already filled in: confirm the address it shows and it pairs, with nothing to copy.

Choose and add folders

The shared folders appear on the Open a project page (the + at the end of the project tabs) and, on a phone, in the project switcher. Open a project in one, or open any folder as a project, and that is where the agent works. The agent’s file tools cannot reach anything outside the shared folders.

To add folders from the browser while the sidecar runs, start it with --allow-add-under <dir>. The Open a project page then offers Add a folder, which browses folder names beneath that directory and nowhere else, and can create a new one. A folder added this way is saved to the sidecar’s config file, and is still shared after a restart that does not pass --root; folders given with --root replace the saved list for that run. From a terminal, corenel-sidecar roots add <path> does the same.

Turn on the shell

The shell is off until you start the sidecar with --allow-shell (the pairing dialog’s Shell switch adds it to the command for you). Even then, under the default policy every command stops and asks you first, until you choose Allow for session for that chat. A shell command is never offered as an always-allow rule.

A command you approve runs with your permissions and is not limited to the shared folders. The sidecar leaves your CoreNEL sign-in out of the command’s environment, but the command runs as you and can still read the sign-in file the sidecar keeps on that machine. The sidecar warns about this at startup when the shell is on and runs have no sandbox.

Unattended

Run crew agents on their own clock.

Started with --daemon, the sidecar also runs the crew agents you deploy to it, so their scheduled and triggered runs fire with no browser open.

Start it as a daemon

  1. Sign the sidecar in, as above, if you have not already.
  2. Start it with --daemon:
    $ corenel-sidecar --daemon --root ~/work/api
    Its startup lines say whether it is run-capable and that its clock is on.
  3. Pair it from the browser as above. The Crew page shows Daemon connected.
  4. Deploy each agent you want it to run, from the agent’s Deployment section. The daemon fires only agents that are deployed to it and not paused. See Building a crew.

An agent uses the model set on it. One with no model of its own uses the daemon’s default, which you can change with --default-model <id>. Model calls go through the gateway on your sign-in.

What it enforces

  • Each agent’s budget, on every run. A dollar cap on a model the daemon cannot price refuses to start rather than never tripping.
  • A Continuous trigger needs a dollar or token budget, and fires at most once a minute.
  • Schedule triggers are cron expressions matched against UTC.
  • When a step needs approval and nobody is attending, the agent’s unattended mode decides: deny (the default), park until someone answers (up to 30 minutes), or allow. See Approvals, policy and Home.

Check on it

  • corenel-sidecar list lists every sidecar you run on this machine, running or stopped, with its id and the folder it keeps its state in.
  • corenel-sidecar status shows the sidecar running on this machine: pid, port and uptime. corenel-sidecar stop stops it.
  • corenel-sidecar doctor reports what this machine would serve and what is wrong, and exits non-zero on a definite fault.
  • corenel-sidecar setup records this machine’s settings in its config file, so you stop retyping flags; corenel-sidecar config reads or changes one setting.

Team

Share a sidecar with a team.

A team sidecar lets the members of one organization pair with it and use its agents, and its admin decides who gets in.

Start it in team mode

Sign the sidecar in, as above. Then start it with the organization’s ID, which starts with org_:

$ corenel-sidecar --mode team --org <org id> --root ~/work/api

corenel-sidecar config set org <org id> saves the ID so you do not have to pass it each time. Without an organization, a team sidecar refuses to start. The account it is signed in as is its admin, and its startup lines say so.

Let members in

A member of the organization pairs the same way you do, with a pairing code from the sidecar. The first time someone new connects, they wait until the admin lets them in. The admin sees them on the Team page, which appears in CoreNEL when the paired sidecar is a team sidecar, and chooses Approve or Deny. From a terminal, corenel-sidecar members list, members approve <userId> and members deny <userId> do the same. Deny revokes that person’s devices on the sidecar.

Other members see on the Team page the agents they have access to. When a run needs approval, the ask goes to the person whose run it is, not to everyone connected. Each agent’s Access section says who owns it and who may run it. See Building a crew.

Going further

Sandboxes, and an agent you already have.

Isolate sandboxes in a microVM

By default work runs in the sidecar’s own process, still limited to the shared folders. Start the daemon with --isolation microvm (it needs the msb runtime) and each sandbox runs behind a kernel boundary of its own. A daemon’s startup lines say which mode is in effect. Activity, under Live, shows each sandbox with its CPU and memory, and lets you pause, snapshot or destroy it.

Drive Claude Code through CoreNEL

$ corenel-sidecar --root ~/work/api --acp claude-code --acp-policy read-only

Then choose Claude Code in the model picker, under On your machine, and chat as usual. Each of its tool calls asks CoreNEL’s policy first (--acp-policy is standard, read-only or autonomous; standard by default), and a call aimed outside the shared folders is refused. By default it signs in with your existing Claude subscription; --acp-auth switches that to an API key.

Try it on your own folder.

The app carries the short versions of these guides, so you can follow one with the thing it describes in front of you.

Free, and you bring your own model key.