This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.17.0 instead.
Nestor
Nestor is an open-source framework for intelligent home assistants — the household's butler.
It is built around a fast central agent that understands the home and the people living in it, remembers each of them, drives Home Assistant, delegates long tasks, speaks up on its own when something matters, and can be reached by voice as well as through messaging apps.
Status: design phase. The architecture is settled and a measured proof of concept exists; the framework itself is not usable yet.
Principles
- Fast conversation. About one second from the end of your sentence to the assistant's voice. Interruptible, it ignores your "mm-hm", and it says so out loud when a provider fails.
- Native Home Assistant. Rooms, devices, presence and to-do lists as first-class context; Nestor can also act as a Home Assistant Assist conversation agent.
- Memory you control. Per-person profiles; every memory is dated, sourced, viewable and editable.
- Delegation. Long tasks go to execution agents (Hermes, Codex…) while the conversation goes on; results are announced when they arrive.
- Initiative. It can speak first — an important email, a finished task — when someone is home and it is the right moment.
- One assistant, every channel. Voice, Telegram, WhatsApp, Discord, web: same agent, same memory.
- Plug anything. Third-party integrations through MCP; providers and models are swappable adapters.
- Minimum hardware: a CPU, a microphone and a speaker. Robots, cameras and screens are optional capabilities, with a shared behavior engine and one adapter per body.
- Auditable. An append-only event log is the source of truth for the dashboard, audit and replay. Local-first storage on SQLite.
Its reference distribution is Richie, a Reachy Mini Wireless home robot.
Documentation: nestorhome.dev/docs: installing the server, pairing satellites, the satellite protocol, its schemas and the SDKs.
Running
pip install nestor-home # text only (Telegram); add voice with 'nestor-home[voice]'
nestor init # writes nestor.yaml, its .env (secrets) and the owner account
nestor -c nestor.yaml check # fill the keys in .env first
nestor -c nestor.yaml run
Satellites talk in writing out of the box; their voice is the voice extra. Without it, a configuration
that gives satellites a voice says which requirement to install. nestor init writes that section only
when the extra is installed and you want it.
Every command reads the .env next to the configuration at each start: no need to source it. A variable
already set in the environment (the shell, a service manager) wins over the file.
Each model has a type (language, embedding, speaker, transcription, speech) and a provider, the plugin
that serves it. Language and embedding models are any OpenAI-compatible server. Hosted providers need a key (MODEL_API_KEY in the .env);
local ones (Ollama http://localhost:11434/v1, LM Studio http://localhost:1234/v1, vLLM, llama.cpp)
need none: leave it empty and no Authorization header is sent.
models holds as many as you like, under names you choose; each role refers to one by name. With a
single model, every role uses it:
models:
haiku: {type: language, provider: openai-compatible, base_url: https://openrouter.ai/api/v1, api_key: ${MODEL_API_KEY}, model: anthropic/claude-haiku-5.5}
sonnet: {type: language, provider: openai-compatible, base_url: https://openrouter.ai/api/v1, api_key: ${MODEL_API_KEY}, model: anthropic/claude-sonnet-5.5}
agent:
spoken: haiku # answers aloud: the voice starts on its first sentence
written: sonnet # answers in writing; either one left out takes the other
watches:
model: haiku # sorts incoming items; the written model by default
An embedding model is declared with the others; its type says it embeds. With memory.embedder, memories are
found by meaning as well as by words (FTS5 and vectors, fused by reciprocal rank); without it, by words only:
models:
te3: {type: embedding, provider: openai-compatible, base_url: https://openrouter.ai/api/v1, api_key: ${MODEL_API_KEY}, model: openai/text-embedding-3-small, dimensions: 1536}
memory:
embedder: te3 # any model you like: Nestor recommends none
Vectors live in the instance's SQLite database (sqlite-vec), one table per embedding space (the model served, its dimension, its prefixes): switching models embeds every memory again at the next start, and the old vectors go. With a hosted model, memories leave the house to be embedded.
Satellites hear and speak through two more models: one that transcribes (transcription) and one that gives
the assistant its voice (speech), named by the channel's voice. Like any model, they show in the admin's Models
and System pages, and another provider is another plugin:
models:
ears: {type: transcription, provider: elevenlabs, api_key: ${ELEVENLABS_API_KEY}, language: en}
voice: {type: speech, provider: elevenlabs, api_key: ${ELEVENLABS_API_KEY}, voice_id: GPAQQPp9dazaB2bl4zg9}
channels:
- kind: satellites
voice: {transcription: ears, speech: voice}
Past conversations are remembered too. Once a conversation is over (its channel's silence has passed), the
memory.consolidation model (the background one by default) writes its episode: what it was about, for whoever
took part, and the lasting facts nobody asked to remember. Each turn then carries the latest conversations of
whoever speaks and the older ones their words find (memory.recent_episodes, memory.found_episodes); the
agent can recall the conversations of a time and reread one word for word. A conversation is only ever brought
back to the people who took part in it.
The medium belongs to the turn: a satellite someone types on gets the written model, the same satellite spoken to gets the spoken one.
Ports: the admin listens on 8470, satellites on 8471 (their link and their voice). Both are configurable
(admin.port, the satellites channel's port).
Development
uv sync
uv run pre-commit install
uv run ruff check && uv run ty check && uv run pytest
Admin (web/)
The admin is a React single-page app (Vite, TanStack Router and Query, Tailwind, shadcn/ui on Base UI,
Project Fluent), built into src/nestor/admin/static/app/ and served by Nestor itself. It needs Node 22
and pnpm.
cd web
pnpm install
pnpm dev # on the mock API (MSW), typed against web/openapi.json
NESTOR_API=http://localhost:8470 pnpm dev # against a running Nestor instead of the mocks
pnpm lint && pnpm typecheck && pnpm test && pnpm build
pnpm api:generate # regenerate the client after the API changed
pnpm e2e # Playwright on the mocks, light and dark
NESTOR_URL=http://localhost:8470 E2E_LOGIN=… E2E_PASSWORD=… pnpm e2e:live # on a throwaway instance
On the mocks, sign in as mathis (owner) or lea (admin) with the password nestor; satellites
pair with the code 424242. The visual identity lives in web/src/styles/tokens.css, the logo slot
in web/src/components/wordmark.tsx, the admin's texts in web/src/locales/{en,fr}/*.ftl (the
server's own messages come from GET /api/v1/i18n/{locale}). pnpm lint also runs the project's
Biome plugins (web/lint/*.grit): no native form controls or hand-written ARIA widgets in features,
no Base UI or cmdk imports outside components/ui, no presence variants on cmdk attributes, no
boolean data-* attributes that render "false".
Copy: a text earns its place only if it tells the person something they need (a consequence, a rule,
the next step, how to fix an error). No description that restates its title, no "here you can…"
intro, and almost no em dashes (a period, a colon, parentheses or a middle dot instead):
web/src/i18n/catalog.test.ts fails on all three. The agent speaks in the first person only where
it speaks (its line on the home page, empty states, toasts after what it does); system texts stay
neutral. Its figure is Nestor's character, the
@nestor-home/character package, shown through
web/src/components/agent-figure.tsx.
Docker
compose.yaml runs the published image with everything it keeps in ./data
(install). The container starts as root only to give /data to its
nestor user (uid 1000) when the folder is not already its own, as Docker creates a missing bind
mount owned by root, then runs as that user; started with --user, it runs as given.
Nestor reads data/.env itself, at every start: after editing it, docker compose restart applies it.
Inside the container, localhost is the container: a model server running on the host is
http://host.docker.internal:<port>/v1 (for Ollama, http://host.docker.internal:11434/v1), which
compose.yaml maps on Linux as Docker Desktop does on macOS and Windows. On Linux, that address is the
host's Docker bridge, not its loopback: the model server must listen there too (Ollama:
OLLAMA_HOST=0.0.0.0; llama.cpp: --host 0.0.0.0).
Checking a satellite
nestor satellites conformance checks a satellite written in any language against the
nestor.satellite/1 standard: see Conformance.
Benchmarks
nestor bench measures a part of Nestor on a dataset and compares configurations: which small model sorts
your mail best, whether a new triage algorithm misses fewer parcels, what it costs per thousand items.
nestor bench list
nestor bench run watch-triage --variant batch-small.yaml --variant per-watch-small.yaml [--repeat 3] [--cases mine.jsonl]
nestor bench run watch-triage --variant batch-small.yaml --replay # scored again from the recorded replies
nestor bench compare bench-results/watch-triage/<run> bench-results/watch-triage/<run>
nestor bench report bench-results/watch-triage/<run>
A variant is a fragment of nestor.yaml (a whole one works too), with the suite's knobs under bench;
${NAME} resolves from the environment and the .env next to it:
models:
mistral-small:
type: language
provider: openai-compatible
base_url: https://openrouter.ai/api/v1
api_key: ${OPENROUTER_API_KEY}
model: mistralai/mistral-small-3.2
extra_body: {stream_options: {include_usage: true}} # token counts from servers that only send them on request
persona: {language: French}
bench: {name: batch-mistral-small, algorithm: batch} # watch-triage: batch or per-watch
Two suites ship: watch-triage (which mails match a watch) and memory-recall (which memories reach a
turn's instructions; it calls no model, its knobs are the memory settings).
A suite calls the models of the roles it measures (watches for watch-triage); with a single model in the
variant, every role takes it. models: {fake: {type: language, provider: watch-triage-fake}} runs the suite without a network,
on a deterministic word-overlap judge. A run writes bench-results/<suite>/<started>-<variant>/results.json (dataset hash, variant with its
secrets masked, the models the provider says answered, Nestor's version and commit, every case's output and
model calls with latency, tokens and cost) and a self-contained report.html; model replies are recorded in
.bench-cache/, keyed by model, request, repetition and seed. Both folders are relative to where the
command runs and are not meant to be committed.
A suite is a plugin: a nestor.bench.Suite declared in the nestor.benches entry-point group, with its
JSONL dataset next to its code (src/nestor/bench/suites/watch_triage/ is the example). It reads the
records into cases, runs one case with the trial's models (so every call is measured and replayable), and
sums the results up into metrics and findings, whose labels are Fluent messages.
License
Metadata
Release files for nestor-home 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nestor_home-0.10.0.tar.gz | 1.5 MB | Without provenance | Details for nestor_home-0.10.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nestor_home-0.10.0-py3-none-any.whl | Python 3 | none | any | Details for nestor_home-0.10.0-py3-none-any.whl |
Total release size: 3.2 MB
Release files / nestor_home-0.10.0.tar.gz
| Download URL | nestor_home-0.10.0.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db6c9258c51e0891bf7b45fb41287b0b769dbf216ee6ceb71927e50ffde876bf
|
|
BLAKE2b-256 checksum How to use checksums |
1e49e93ac21396eff6a9b43f5f44321bda9fda5d4acaaaebbf698cef245fbb70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / nestor_home-0.10.0-py3-none-any.whl
| Download URL | nestor_home-0.10.0-py3-none-any.whl |
|---|---|
| Size | 1.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9fa1ee775bd53e01736e6107888a3631f0704cafff3c23ca8a0a35b8ad40508d
|
|
BLAKE2b-256 checksum How to use checksums |
3589ef32f8d1aa28f578b0dc0547d6c06703d385b2ed03d53c05990586ed75d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for nestor-home 0.10.0
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.