Fable Nest Connected · setup guide

Give the little body a mind of its own.

Connected keeps the complete cosy Nest—care, custom companions, themes and arcade—and adds a live agent who can notice what happens, answer interactions and send small heartbeats while the Nest is open.

The gentle architecture

One little bridge. No master keys in the egg.

There is a general method, but not one universal agent login. The included Fable Relay speaks one safe Nest language, then translates it for Letta, OpenClaw or Hermes.

The Nest

Sends the interaction, care state and a few recent memories.

Fable Relay

Checks the pairing phrase and keeps the provider credential private.

Your agent

Returns only speech, pose, mood, activity, memory and heartbeat timing.

If the bridge is quiet, the Nest is still a Nest. The companion can still be cared for, customised and taken to the arcade. Only the live mind waits for the connection to return.
The shared path

Five steps, whichever mind you choose.

You only do the provider-specific middle part once. After that, pairing inside the egg takes two small fields.

01 · CHOOSE

Create the mind.

Make or choose the Letta, OpenClaw or Hermes agent that will inhabit the companion. Give it the personality and boundaries you want.

02 · PREPARE

Copy the relay settings.

Copy connected-relay/.env.example to connected-relay/.env. Choose a long private pairing phrase and enter the exact web address where your Nest lives.

03 · CONNECT

Add one provider.

Use the matching tab below. Provider credentials go in the relay’s private .env file—never into the egg.

04 · OPEN A DOOR

Give the relay HTTPS.

For a phone to reach a relay on your computer, publish only the relay with a named Cloudflare Tunnel. A Quick Tunnel is fine for a short test.

05 · PAIR

Wake the Mind tab.

Open Connected → Mind. Choose the provider, paste the HTTPS relay address ending in /agent/message, add the same pairing phrase, save, then send a test heartbeat.

KEEP CLOSE

Mind the boundaries.

Keep local gateways on localhost. Revoke and replace a pairing phrase if it is shared. Check the heartbeat ledger to see exactly when the agent spoke.

Provider recipes

Choose the mind behind the glass.

The tabs change only the agent-facing half. The Nest always receives the same narrow reply.

Letta

The smoothest cloud-first route. Create or choose an agent, collect its Agent ID and an API key, then let the relay call Letta’s messages API.

Gentlest start
  1. In Letta, create the agent who will inhabit the companion.
  2. Copy its Agent ID and create an API key.
  3. Fill the Letta section of connected-relay/.env.
  4. Start the relay from the Fable Nest project folder.
Private .env settings
FABLE_PROVIDER=letta
FABLE_PAIRING_CODE=your-long-private-phrase
NEST_ORIGIN=https://your-fable-nest.pages.dev
LETTA_API_KEY=your-letta-api-key
LETTA_AGENT_ID=your-agent-id
LETTA_BASE_URL=https://api.letta.com
Start the relay
npm run relay

Copy only the text inside each dark box—no quotation marks or formatting symbols.

Open Letta’s official getting-started guide ↗
The final pairing

Turn the local relay into one HTTPS address.

For a quick test, Cloudflare can create a temporary address. For day-to-day use, make a named tunnel with a fixed hostname and route it to http://127.0.0.1:8788.

cloudflared tunnel --url http://127.0.0.1:8788

Quick Tunnel addresses change when restarted. A named tunnel is the suitable long-term route.

Inside Connected → Mind

Connection: choose your provider
Secure relay address:

https://your-relay-address.example/agent/message

Pairing code: the same private phrase from .env

Save, then open Heartbeats and send a test. The reply should appear in the glass and the ledger.

Open Fable Nest Connected
The relay shares care values, the current interaction or game, local time, and a small recent-memory window. It does not send shell artwork, uploaded sprite files, or provider credentials.