Lumen
About the project
Inspiration
AI agents are finally useful: they can read your code, edit files and run commands. But you get two
bad options. Cloud agents are convenient but far from your real files, and everything goes through
someone else’s servers. Local agents can see your files, but they’re stuck on one machine.
Reaching one from your phone means port forwarding, VPN setup, or exposing a server to the internet.
We wanted the best of both: an agent that lives at home, next to your stuff, and that you can open
from anywhere, privately, without trusting a third party.
What it does
Lumen is a personal AI agent with a warm, friendly interface. It runs on your own computer and you
reach it from any device:
-
Does real work on your machine. Ask in plain words and it reads and edits files, runs commands
and plans multi-step tasks. In our demo it wrote a file and listed the workspace in 23 seconds.
Risky actions wait for your approval. -
Follows you anywhere. Open it on your laptop or phone, unlock it with your password, keep
working. It installs to your home screen like an app, with light and dark themes. -
Private by default. No cloud account. Nothing is opened on your router. Your home IP stays
hidden. Your API keys never leave your computer.
How we built it
Lumen is two layers on top of an open-source agent engine.
1. Sol: the private networking layer (built by us).
Sol is a single Go binary with zero third-party Go dependencies. It runs its own Tor process and
publishes your computer as a Tor onion service, so it’s reachable from anywhere without
any inbound ports:
- Device pairing: with a QR code or a one-time link, and each device gets its own key.
-
Signed handshake: every connection signs a fresh random challenge. Strangers, port
scanners and replayed connections get zero bytes back. - Tor client authorization: without a paired key, Tor won’t even reveal the address.
- Instant revocation: remove a lost laptop and its open connections close that second.
-
Self-healing: when the network changes (for example a VPN turning on), Sol restarts Tor and
re-announces your address. It checks it can reach itself, so “Online” really means reachable. - A friendly control panel that shows which device is connected to what, and that each connection was cryptographically verified.
2. Lumen: the gate and the app (built by us).
A small Go server sits in front of the agent:
-
Password login: the password is stored only as a PBKDF2 hash. Sessions last 30 days, and
guessing is rate-limited. -
Cross-site protection: it uses browser
Sec-Fetch-SiteandOriginchecks. -
Credential isolation: the agent’s own token and cookie are handled server-side and never
reach the browser, and the AI API key stays on the computer. -
The Lumen look: a sunny, peachy theme with a cocoa dark mode, an eye logo, an app icon and a
phone layout. It’s injected into the agent’s pages without modifying the engine.
3. The agent engine (open source, not ours).
The agent itself is DeepSeek Harness (MIT-licensed), run unmodified as a child process on a
loopback port. Models come from Gemini / OpenRouter.
The path a request takes:
phone or laptop → Tor → Sol (onion, device check) → Lumen (password) → agent on your computer → AI model
Challenges we ran into
-
“Online” that wasn’t. After a VPN came up, Tor kept saying “100% bootstrapped” while the
circuits announcing our address were dead. The panel said Online, but nothing could connect.
We made Sol watch for network changes and dial its own onion as a health check, so Online
now means verified reachable. -
Tor’s control protocol is strict. Our fake Tor in the tests accepted client keys, but real
Tor answered512 No auth type specified: it also needsFlags=V3Auth. Worse, the old address
had already been removed, so the node went dark. We fixed it, added a rollback, and made the test
fake as strict as the real thing. -
Rethinking the wire protocol. Our first design signed every HTTP request, which meant
buffering whole files in memory and only supported HTTP. Switching to one signed handshake per
connection made it simpler, safer, and able to carry any TCP app. -
Reskinning an app we didn’t write. We rebranded the agent’s interface without forking it, by
overriding its color tokens and hiding its logos. Then a phone kept showing the old look
because it had cached the theme, so we added content-hashed asset URLs. -
Security vs. convenience. Putting a powerful agent on the internet is risky. That’s why it
sits behind two locks (Sol’s device keys, then Lumen’s password) and keeps every secret at home.
Accomplishments that we’re proud of
- A stranger with your exact address gets nothing, not even an error page, and we have tests that prove it.
- It works over the real Tor network, through a VPN, from a phone. Pairing and the first page load take about a minute from a cold start.
- Sol has zero third-party Go dependencies, and both projects have test suites that run in CI on Linux, macOS and Windows.
- A user-facing look and feel we’re genuinely proud of.
What we learned
- Test fakes are only as good as their strictness. A lenient mock hid a real bug.
- Status has to measure what users care about (“can my phone reach me?”), not a stand-in for it
(“is the process running?”). - Removing a feature (per-request signing) made the system both simpler and more secure.
- Tor onion services are incredible infrastructure that most people never get to use.
What’s next for Lumen
- One-tap phone access without Tor Browser (a hosted gateway or a small app).
- A Lumen persona and memory that’s truly yours.
- An I2P transport alongside Tor (the interface is already in place).
- One-file downloads for macOS and Windows with Tor bundled.
Built with
AI tools
Prize Categories Entered
- Event prizeSubmitted
Best Design/UX
- Event prizeSubmitted
Best Solo Hack
- Event prizeSubmitted
Best Use of Theme
- Event prizeSubmitted
Best Overall Hack