A tiny “agent with a computer in your pocket.” (like a mini openclaw)
This is not a chatbot. It is a per-user sandboxed runtime with memory, files, and channel-native messaging.
Links:
- Website: capsule.new
- Docs: docs.capsule.new
- Web chat and a named Telegram channel hit the same
@app.message()handler. /computer/users/<user>/habits.jsonandsummary.mdare normal files in a mounted filesystem.- A user-scoped
eventscollection remembers messages for linked web/Telegram identities. app.home(...),@app.home_body(), and@app.home_suggestions()define the home surface.
capsule fs create capsule-computer
capsule channel create pocket-telegram --type telegram -c bot_token=123:ABCTelegram starts as a channel-scoped identity. To share web and Telegram user-scoped memory, create a link code from the web app and send /link CODE to the bot.
uv sync
capsule serve main.py:app --channel pocket-telegramcapsule deploy main.py:appCreate a tiny Python habit tracker for me.
I ran 3 miles.
What did I text you earlier?
Show my files.