Skip to content

About

Active second brain. Personal cloud; Nextcloud, Home Assistant, Hermes AI

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Repository files navigation

Existential

Your best brain day now accessible.

Can't remember what you've forgotten? Change your environment to remember for you. Existential is that environment. It's just a notepad, until you tell it what to do.

Everything else on your phone surfaces what someone else decided needs your attention. This surfaces what you decided. What you're building is your Diagram: the plan from your best day, followed on the rest.

flowchart TB
    you["You<br/>phone · laptop · your voice"]
    outside["The outside world<br/>bank email · calendars · the web"]

    subgraph house["Your house — one computer or several, one private network"]
        ex["Existential<br/>your apps · your storage<br/>your automations · the AI you choose"]
    end

    you <--> ex
    outside -. "pulled in when you ask" .-> ex

    classDef me fill:#e8f4fd,stroke:#027bcb,stroke-width:2px,color:#111
    classDef core fill:#027bcb,stroke:#014d80,stroke-width:2px,color:#fff
    classDef ext fill:#f4f4f4,stroke:#999,stroke-dasharray:4 3,color:#333
    class you me
    class ex core
    class outside ext
    style house fill:#fcfcfc,stroke:#027bcb,stroke-width:2px,color:#014d80
Loading
  • Written down, not remembered. A decision is a file. It runs whether or not you remember making it.
  • Plain files. Everything you build is a file you can read. Nothing is locked inside an app you'll move on from.
  • Yours, physically. It runs on hardware you own. No account to lose, no subscription required, nobody who can lock you out.

Underneath it is a curated set of open-source apps run as one system on your own hardware, with an AI of your choice that can act on everything in it.

🚀 Quick start

Prerequisites: Docker usable without sudo and a machine to host it. Tailscale logged in on that machine is optional: with it, Core is served over HTTPS on the machine's tailnet name; without it, on your network over HTTP.

git clone https://github.com/jtmckay/existential.git
cd existential

./existential.sh            # asks what this computer is and your login; prints where Core is
docker compose up -d

Then point it at a model: in .env.shared set EXIST_MODEL_URL (any OpenAI-compatible /v1 URL: a hosted LLM, or your existential controller, which leases a GPU host for each run of calls) and, for a hosted LLM, EXIST_MODEL_KEY. Run ./existential.sh && docker compose up -d again. EXIST_MODEL_CHAT picks the model; blank is the first one the server lists.

./existential.sh renders each enabled service's templates and merges them into one docker-compose.yml and one .env at the repo root. Always run compose from the root, never from a service folder.

📖 Getting Started for the full walkthrough.

What Core installs

The first run builds Core: open the work dir, talk to an AI about it, have decree automate it. One ordinary box, no GPU, reached over Tailscale's own HTTPS from every device you log in, or over plain HTTP on your network without it.

code-server The work dir in a browser tab: editor, plus a terminal with claude, opencode and pi ready, and the decree skill
Decree The automation daemon: machines run on a schedule or an inbox message
ntfy How an automation tells you it finished, failed or is waiting for you
Search qmd over the whole work dir, a tool every agent has
Firecrawl The web, searched and read, a tool every agent has

Everything else is an add-on, one line away: Caddy hostnames, monitoring, the webhook and Nextcloud for capture, apps, local AI, voice and the house.

How it fits together

You work in one folder, workspace/: notes/ (plain markdown, starting with my-first-note.md), .decree/ (your automations, as machines, scripts and cron files) and .capture/ (your agent prompts and anything else you capture, secrets redacted, once you turn capture on). code-server opens it in a browser; start claude there and say what should happen, and it writes the automation as one file for you to read, already knowing how from the decree skill in .claude/. It installs it with decree install <name>, and decree runs what is in .decree/. Every morning (you_were_here, on by default) it writes ai/you-were-here.md: what is waiting on you, what is holding steady and where you left off, pushed to your phone through ntfy. The look_back plugin turns those days into what you did this week, month or year. Anything that needs a model reaches it through one OpenAI-compatible /v1 URL, served by ollama, llama.cpp or anything else, on this box or another one.

flowchart TB
    you["You<br/>browser · phone"]

    subgraph core["Core"]
        ts["Tailscale (host)<br/>real HTTPS, no reverse proxy"]
        cs["code-server<br/>editor + terminal · claude · opencode"]
        ws["workspace/<br/>notes/ · .decree/"]
        dec["decree<br/>runs workspace/.decree"]
        ntfy["ntfy<br/>tells you it finished"]
    end

    model["A model at an OpenAI-compatible /v1 URL<br/>ollama · llama.cpp · another box"]
    addons["Optional add-ons<br/>Caddy · monitoring · capture · apps · Local AI · Voice &amp; Home"]

    you --> ts
    ts --> cs
    ts --> ntfy
    cs <--> ws
    dec <--> ws
    dec --> ntfy
    cs -. "opencode" .-> model
    dec -. "workspace/.decree/lib/model.sh" .-> model
    addons -. "a line each" .-> core

    classDef me fill:#e8f4fd,stroke:#027bcb,stroke-width:2px,color:#111
    classDef hub fill:#027bcb,stroke:#014d80,stroke-width:2px,color:#fff
    classDef box fill:#f4f4f4,stroke:#999,color:#333
    classDef ext fill:#fff,stroke:#666,stroke-dasharray:4 3,color:#333
    class you me
    class ws hub
    class ts,cs,dec,ntfy box
    class model,addons ext
    style core fill:#fcfcfc,stroke:#027bcb,stroke-width:2px,color:#014d80
Loading

Every service is a folder. Its flag — EXIST_IS_<CATEGORY>_<SLUG> — is derived from the path, so adding a service is adding a folder. Disabled services are skipped entirely: no templates render, no secrets are generated, nothing lands on disk.

📖 How It's Built for the whole model.

Optional add-ons

Everything else is an add-on: a service (./existential.sh service on <slug>) or a decree plugin (./existential.sh plugin on <name>), and none of it is needed for Core to work. What It Does says which to turn on for what.

Local AI

Ollama Local models, served at the same OpenAI-compatible URL
pi An agent with tools on that same URL, in code-server's terminal and your automations
Open WebUI Day-to-day chat
qmd Search your notes, PDFs and Word files by meaning and exact words, from a terminal or Claude Code and opencode
Firecrawl Web scraping API for agents
WhisperX Speech → text, with speaker diarization
Chatterbox Text → speech
ComfyUI Image and video generation
MCP Tool servers for agents

Voice & Home

Home Assistant Home automation and voice
wyoming-whisper · wyoming-piper What Home Assistant listens and speaks with

Files

Nextcloud File sync and sharing, or a Nextcloud elsewhere that workspace/ syncs with
Collabora Document editing in the browser
Obsidian The desktop app for workspace/notes/ (not a container)

More apps and tools

Immich Photos and video
Mealie Recipes and meal planning
NocoDB Database as a spreadsheet
Appsmith Internal tool builder
Lowcoder Customer-facing app builder
IT-Tools Developer odds and ends
pi-hole LAN DNS and ad blocking
Portainer Container management
Docker log rotation Caps container logs on the host

Considered and rejected alternatives, with reasons: Alternatives.

What it does with all that

One page per problem, each with the lines that turn it on:

📖 What It Does

Docs

Two halves: the Guide is what it does for you, the Technical docs how it's built.

What It Is What this is and what it does for you
Getting Started One evening of setup
What It Does One problem at a time, and the lines that turn each on
How It's Built What's actually running and how it fits
Plugins Write your own automation, or reach the stack over HTTP

Third-party software

This project runs multiple open source projects under their respective licenses. See Open Source Notices and the licensing audit.

About

Active second brain. Personal cloud; Nextcloud, Home Assistant, Hermes AI

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Contributors

Languages