Skip to main content

DOI Blurps hatched (est.) Blurps alive (est.) Docker pulls babyseat

Talk to it. It remembers.

babyseat is an AI seat whose memory is a graph the model itself programs. You talk to one chat; the model answers through the Claude CLI, and everything it knows about you, your files and your work lives as entities in a field it reads and writes with four tools. A banner the model keeps in its own words carries what matters from one turn to the next, so the chat keeps its thread without replaying history.

The seat is one small native program, cliffvm (Rust, one SQLite file, no Python, no Ollama, no database server). Its packs and its page are files written in c1f, the field's own language, so the model can read, change and replay all of it.

The names. babyseat is the project (PyPI babyseat, Docker chedim/babyseat, the Home Assistant integration). membrane is its memory layer, so the membrane command alias, the membrane/ source folder, the .membrane folders and the Home Assistant domain keep that name. cliffvm is the program. cliffhanger is the reactive graph language it runs (chedim/cliffhanger).

Version 0.7.61. This is a rebuild: the 0.7 Python seat is retired (see Upgrading).

What you get

  • One chat, in your browser. The page has Chat (markdown answers, a Stop button, the tools the model ran folded under each answer) and Settings (the model, limits, what the seat knows about itself). It is a set of c1f view packs that run in the browser.
  • The model works on the field, not on a prompt. Four tools only: entity_query, entity_read, entity_write and run_cliff (a small block of c1f run in one call). Files, commands, HTTP, SQL and Home Assistant are entities the model writes to; the answer is a receipt it reads. The model can load its own packs and replace its own banner (docs/cliffvm.md).
  • Your history comes along. A seat started over a 0.7 install imports the old chats by itself, newest first.
  • Home Assistant. A HACS integration runs the seat inside Home Assistant (or connects to one you run), makes it an Assist conversation agent and lets the model use the house (docs/home-assistant.md).
  • Your choice of model. The chat answers through the claude CLI or any OpenAI-compatible endpoint, a local Ollama included (the boot fact cloud_models, or seat_backend for a local backend; docs/cliffvm.md).
  • Local and strict. The door listens on 127.0.0.1; every route needs a signed token; the page gets one only from this machine (docs/auth.md).

Not in this release: the 3D field view (built, switched off: membrane/apps/field.c1f), the Home Assistant sidebar panel and relay, Blurp and the quota/self/toybox features of 0.7. They are in the tag python-seat-last and the 0.7.53 package.

Install

You need the claude CLI (Claude Code) on the PATH (or CLAUDE_BIN=/path/to/claude) and an Anthropic API key. macOS and Linux (x86_64 and arm64); there is no Windows build. The macOS binaries are unsigned: pip and the installer are not affected by Gatekeeper; a tarball downloaded in a browser needs right-click Open once or xattr -dr com.apple.quarantine <folder>.

How Command State
pip pip install babyseat, then babyseat (--port N, --data-dir <dir>) at the 0.7.61 release
installer curl -fsSL https://raw.githubusercontent.com/chedim/membrane/main/install.sh | sh (installs ~/.local/share/membrane-app/<version> and a ~/.local/bin/babyseat link; --version X.Y.Z picks one) at the 0.7.61 release
Docker docker run -p 127.0.0.1:4096:4096 -v babyseat-data:/data -e ANTHROPIC_API_KEY -v /path/to/linux/claude:/opt/claude:ro -e CLAUDE_BIN=/opt/claude chedim/babyseat (the image has no claude; the admin token: docker exec <container> cat /data/admin.token) at the 0.7.61 release
binary the GitHub release's babyseat-0.7.61-<target>.tar.gz and its .sha256 (targets: aarch64-apple-darwin, x86_64-apple-darwin, x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu, x86_64-unknown-linux-musl, aarch64-unknown-linux-musl): check the sha256, unpack, run bin/cliffvm serve at the 0.7.61 release
Home Assistant the HACS integration downloads the seat's binary and runs it inside Home Assistant (next section) at the 0.7.61 release
from source the next section works today

babyseat and membrane are one command: it starts cliffvm serve and nothing else. The old subcommands (opencode, store, ingest, ...) are gone.

Quick start (from source, verified)

git clone https://github.com/chedim/membrane && cd membrane
scripts/dist/build.sh --out ./dist/0.7.61          # builds native/ (about a minute warm) and assembles the dist folder
export ANTHROPIC_API_KEY=sk-ant-...                # the claude turn's key (see "Which credential" below)
./dist/0.7.61/bin/cliffvm serve

With no ANTHROPIC_API_KEY it first warns that the chat will refuse a message until you set one. It prints, in this order:

cliffvm serve: claude CLI: /path/to/claude
cliffvm serve: data ~/Library/Application Support/membrane (the door's secret and the admin token are made here)
cliffvm: door listening on 127.0.0.1:4096
cliffvm serve: open http://127.0.0.1:4096/
cliffvm serve: a localhost peer is not the admin: a local tool sends the admin token, written (mode 600, new at every start) to <data>/admin.token
cliffvm serve: curl -H "Authorization: Bearer $(cat <data>/admin.token)" http://127.0.0.1:4096/global/health

Open the printed URL: the page loads and you are in the chat. The port is 4096 (--port <n> changes it, --port 0 takes any free port); the data folder is membrane under $XDG_DATA_HOME, else ~/Library/Application Support (macOS) or ~/.local/share (--data-dir <dir> changes it). It holds seat.sqlite (the whole memory), door.secret (made at the first start) and admin.token (new at every start). Stop the seat with ctrl+c; start it again and the chat is as you left it.

From a checkout you can run the same seat on the repo's own membrane/ folder: scripts/seat [--open] [--port <n>] (data in ./.cliffvm; the development wrapper).

Which credential the model uses. By default the claude CLI answers with the Anthropic API key in the seat's environment (ANTHROPIC_API_KEY). The key is handed to the CLI child and is never written to a property, a row, the journal, a log or a reply. To use the CLI's own login instead, start with --fact chat_auth=login (the dev wrapper: CLAUDE_AUTH=login scripts/seat). With neither, the seat says so at start and a message is answered with how to set it.

Reaching the seat from another machine. The door opens on 127.0.0.1 only. --bind 0.0.0.0 opens it to the network (every route still needs a token), and --fact host_names=seat.local lets the page hand out its cookie for a name you reach it by; from another machine the page itself needs a token (the Home Assistant component carries one).

Home Assistant

  1. HACS, three dots, Custom repositories, https://github.com/chedim/membrane, category Integration; install babyseat (membrane) and restart Home Assistant.
  2. Settings, Devices & services, Add integration, babyseat (membrane), then one of:
    • Run a seat inside Home Assistant (the default): pick the provider (Anthropic with an API key, an OpenAI-compatible endpoint, or Ollama: Home Assistant's own Ollama server and model are filled in) and submit. The integration downloads the seat of its own release for this machine (Linux x86_64/aarch64: the static musl build; macOS), checks its sha256 and every file, keeps its data in <config>/membrane/ and runs it on 127.0.0.1; Configure changes the provider, model or key later.
    • Connect to a seat I run: the seat's address (http://<seat-machine>:4096; the seat needs --bind for that) and the token in <data>/admin.token.
  3. Settings, Voice assistants: pick the Membrane seat conversation agent.

An entry of 0.7.53 that ran the seat inside Home Assistant comes back by itself on its Ollama server, and the new seat imports its chat history. The integration installs no pip package. It makes a hidden Home Assistant user, Membrane, and runs every call the model writes as that user, so Home Assistant's own permissions decide what the model may touch. Details, what is not verified yet, the allow-list and the entities: docs/home-assistant.md. A Supervisor add-on (addon/) is in the repository; it is not supported.

Upgrading from the Python seat (0.7.x)

Start the new seat once. At its start it looks for the old store (field.sqlite3 in the places the 0.7 seat used: the new seat's own data folder and its .membrane subfolder, ./.membrane, ~/membrane/.membrane, Home Assistant's /config/membrane/.membrane), opens it read-only and imports the chat history in the background, newest session first. Nothing else is converted; the old field stays a read-only source the model can pull from (Help:legacy). To name the old store yourself: cliffvm serve --legacy <path to field.sqlite3, or its folder>. Details: docs/cliffvm.md, "The history cutover". Your old data directory is never written. To stay on the Python line: pip install babyseat==0.7.53 (the source is the tag python-seat-last).

macOS

The seat runs on macOS and Linux alike. On macOS the data folder is ~/Library/Application Support/membrane. The binary is not signed or notarized: a downloaded copy may be quarantined by Gatekeeper (xattr -d com.apple.quarantine bin/cliffvm).

Documentation

docs/README.md lists every page: what a user reads, what an operator reads, what a developer reads.

Development

cd native && cargo test --release --no-default-features --features bin   # the seat: Rust, real processes, no model
node tests/js/<name>.test.mjs                                            # the page (some need Chrome: CHROME=...)
pytest tests/ha tests/wrapper                                            # the Home Assistant component and the thin Python launcher

Layout: native/ (the VM and the host: Rust), membrane/packs/ (the seat's packs, c1f), membrane/apps/ (the barest app: the packs and the page; field.c1f, the disabled 3D view), membrane/launcher.py (the whole Python: finds the binary and execs it), custom_components/membrane/ (Home Assistant), scripts/ (seat, dist/), docs/. AGENTS.md is the checklist for contributors and coding agents.

Status

A working lab used every day to build itself. Version 0.7.61; the API and flag surfaces may still move. Licensing: MIT (see LICENSE); releases up to 0.7.2 stay under PolyForm Noncommercial 1.0.0.

Cite

If you use babyseat in research, please cite it. The citation metadata is in CITATION.cff (GitHub's "Cite this repository" reads it), and every release is archived on Zenodo under the concept DOI 10.5281/zenodo.23550667, which always resolves to the newest version.

Metadata

Release files for babyseat 0.7.61

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for babyseat 0.7.61
File Size Uploaded Provenance Actions
babyseat-0.7.61.tar.gz 12.3 kB Without provenance Details for babyseat-0.7.61.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for babyseat 0.7.61
File Actions
babyseat-0.7.61-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for babyseat-0.7.61-py3-none-musllinux_1_2_x86_64.whl
babyseat-0.7.61-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for babyseat-0.7.61-py3-none-musllinux_1_2_aarch64.whl
babyseat-0.7.61-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for babyseat-0.7.61-py3-none-manylinux_2_28_x86_64.whl
babyseat-0.7.61-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for babyseat-0.7.61-py3-none-manylinux_2_28_aarch64.whl
babyseat-0.7.61-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for babyseat-0.7.61-py3-none-macosx_11_0_x86_64.whl
babyseat-0.7.61-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for babyseat-0.7.61-py3-none-macosx_11_0_arm64.whl

Total release size: 24.1 MB

Release files / babyseat-0.7.61.tar.gz

Download URL babyseat-0.7.61.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f316d6342aa7799cdbaf417a44ee87b9b860bad454d7e16b61580a7fe57b8885
BLAKE2b-256 checksum
How to use checksums
97e33feded127ea60fcd5af0c1c1582916b4280479b89d2571a6e4cef4b1d016
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / babyseat-0.7.61-py3-none-musllinux_1_2_x86_64.whl

Download URL babyseat-0.7.61-py3-none-musllinux_1_2_x86_64.whl
Size 4.2 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
ba4f2048d84613004ae28724178fc6c0b65003d560ef650717facb9e91b60ce8
BLAKE2b-256 checksum
How to use checksums
99bd117fbc848e21f772406b48a367d7f95bf6590003344db45e88fa16233012
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / babyseat-0.7.61-py3-none-musllinux_1_2_aarch64.whl

Download URL babyseat-0.7.61-py3-none-musllinux_1_2_aarch64.whl
Size 4.1 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
87ad6b815cfeae58ce039e51d06e3dc08ffa1eeba29e79290b14ea6fb0bb9eda
BLAKE2b-256 checksum
How to use checksums
8990c3c0221755360061dba42efde1f3e105bbe7930a4d8e203ca6f7ee9a83f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / babyseat-0.7.61-py3-none-manylinux_2_28_x86_64.whl

Download URL babyseat-0.7.61-py3-none-manylinux_2_28_x86_64.whl
Size 4.2 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
0b33bf98abf32fce259e478ee344e42c0890defeb831a7145493a820a780fd93
BLAKE2b-256 checksum
How to use checksums
d72674aa421047b938853750ef6a47b9f18205636ed70c01edfb3a4f8e0f7441
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / babyseat-0.7.61-py3-none-manylinux_2_28_aarch64.whl

Download URL babyseat-0.7.61-py3-none-manylinux_2_28_aarch64.whl
Size 4.0 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
9b8d8493a2c1470dba2cd2b8dab79335fdd9594178be90b935b8bf58585cfb38
BLAKE2b-256 checksum
How to use checksums
106104022da31a186c0bd9793f2bb80989725a26c82ed673ea65b7ac4ecb82ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / babyseat-0.7.61-py3-none-macosx_11_0_x86_64.whl

Download URL babyseat-0.7.61-py3-none-macosx_11_0_x86_64.whl
Size 3.9 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
27526dbe9fc7824308dd2162be5ab37891c4c354d0cc11186be107c193d6e622
BLAKE2b-256 checksum
How to use checksums
08768fc98d20c1e0341b47ce4f01413f85da63e4cef1386d0badfc911b213d63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / babyseat-0.7.61-py3-none-macosx_11_0_arm64.whl

Download URL babyseat-0.7.61-py3-none-macosx_11_0_arm64.whl
Size 3.7 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
60e14e92a239b8018a534e8786869a2ae5714ab4061c8ac4033f24c5226990bc
BLAKE2b-256 checksum
How to use checksums
e5a625a3e4ab412065dfec3f254c29ef16b0577920e4673fa0c4ce8a9ed0f43a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for babyseat 0.7.61

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page