The agent you carry around, in an isolated cloud sandbox.
A single-user control plane for cloud-sandboxed agents. Start a thread from the web UI or Telegram — it writes code, runs shell commands, browses the web, and opens PRs inside its own sandbox, while remembering who you are and what you decided across every past thread.
- 1Python process
- 1SQLite file
- 1 thread = 1 sandbox
- Apache-2.0

Why ankacloud
Plenty of background agents.
This one starts with memory.
Most background coding agents treat work like ticket automation: drop an issue in, wait for a PR to come out. ankacloud makes long-term memory and persona first-class — less a disposable worker, more a collaborator you carry with you.
One continuous memory
Your agent remembers past threads, decisions you made, and preferences you wrote down. A fresh sandbox never starts as a stranger.
MEMORY.md · SOUL.md · IDENTITY.md · factsOne thread, one cloud sandbox
Code, shell, and network stay isolated inside each thread's own cloud sandbox. Idle sandboxes pause automatically, wake on the next message, and rebuild cleanly if lost.
E2B · Tenki · RuntaA thin control plane
It tracks threads, manages sandbox lifecycles, relays messages, fans out events, and persists memory. The actual work runs on a nearly unmodified ankaloop.
Your agent and skills stay portableAll your work at a glance
Every thread appears as a card on the Board: Todo, In progress, Needs you, Waiting for you, and Done. Lanes are derived live from the latest turn, never stored separately.
Web and Telegram share one state
Architecture
The control plane orchestrates.
Sandboxes do the work.
ankacloud never runs the task agent loop itself. It tracks threads, manages sandbox lifecycles, relays messages, fans out events, and persists memory; the actual work runs inside each sandbox on a nearly unmodified anka serve, using the thread ID as its session ID.
~/.config/ankaloop/memory, persona, and skills — single source of truthanka serverunning · 2 vCPUanka serverunning · 4 GiBanka serveidle, paused · resumes on the next message- IsolatedEach thread's filesystem, shell, and network live in its own sandbox, completely cut off from the rest.
- RecoverableIf a sandbox pauses, expires, or disappears, the control plane still holds the full history and event stream to rebuild it.
- SwappableAlongside E2B, ankacloud supports Tenki and Runta — configurable per project.
- Self-hostableOne FastAPI process and one SQLite file run on any small VPS. Read the design doc.
Day to day
Start one thread.
Track them all in one place.
Five lanes, every thread at a glance
Every thread is a card on the Board. Its lane is derived straight from the latest turn — Todo, In progress, Needs you (last turn failed), Waiting for you (the agent replied), or Done — so the board never drifts from reality.

Memory, persona, and skills stay on the control plane
MEMORY.md, SOUL.md, IDENTITY.md, and facts live in one directory on the control plane, shared by every sandbox over HTTP. Archiving a thread folds its takeaways back into global memory — edit once, and every sandbox picks it up.

Anka: a resident agent with no sandbox overhead
Anka runs inside the control plane without a shell. It handles questions that don't need a repo, checks thread status and memory, searches the web, and kicks off cloud work via create_thread and send_to_thread — send one message on Telegram and work starts immediately.

Two front doors
Follow on the web.
Dispatch from Telegram.
Both talk to the same control plane and share one state. With no active thread, your message goes to Anka — it either answers directly or spawns a task with create_thread, switching your active thread automatically. Turn on notifications to get a one-line “Thread finished” ping on Telegram when a turn completes.
- Streaming replies update a single message on a throttle, keeping your chat clean.
- Anyone outside your allowlist is silently ignored — single-user by design, no pairing flow needed.
- Reloading the web UI resumes cleanly from ?after_seq=, so no events are ever dropped.
t-1a2b3c4d5e6fankacloud · current thread/reset and /start alias notes, and it doesn't mention how /switch handles ambiguous prefixes. Committed the fix on docs/telegram-commands.docs/telegram-commands/new [title]Create a thread and switch to it/threadsList the 10 most recent threads and their status/switch <id>Switch the active thread/home [text]Return to Anka; with text, answer or dispatch/statusShow sandbox/agent state and the active turn/archiveArchive the thread (stop sandbox, fold memory)
Long-term memory
The control plane owns your long-term memory.
Sandboxes pause, expire, and get torn down, so memory doesn't belong inside them. ~/.config/ankaloop/ lives on the control plane: every sandbox reads and writes through it over HTTP, threads stay isolated while active, and archiving distills conclusions back into global memory.
- 1Thread starts
Persona, skills, and AGENTS.md are pushed into the sandbox; memory is fetched from the control plane over HTTP using a thread-scoped token.
- 2Thread runs
Each thread writes only to its own note scope so concurrent work never cross-contaminates; global MEMORY.md is updated only by memory consolidation, Anka, and you.
- 3Thread archives
The thread's token is revoked on the spot, and Anka folds its takeaways into global memory — so the next thread starts already up to speed.
~/.config/ankaloop/single source of truthMEMORY.mdLong-term memory: decisions, conclusions, and project conventionsSOUL.mdWho the agent is and how it worksIDENTITY.mdHow it names itself and speaks to youfacts/Discrete facts you can inspect and edit one by oneskills/SKILL.md and scripts — edit once, active everywhere
Built in
Everything you expect,
all in one process.
Projects and GitHub
Configure a repo, env vars, machine size, and default provider once. Every thread clones the repo, works on its own branch, and opens a PR via gh pr create. Your GitHub token never enters the sandbox — E2B's egress proxy injects it.

Skills
Author skills in the web UI or ask Anka to generate them with the built-in skill-creator; both write to the same control-plane directory. Threads mount them at creation, and edits hot-reload via SkillWatcher.

Providers
Attach multiple models per provider with custom context windows, output limits, and reasoning effort. Every thread chooses its provider and model explicitly.

Sandbox runtimes
E2B, Tenki, and Runta all sit behind one SandboxProvider interface, with a capability catalog that builds each runtime's settings form automatically.

MCP
MCP servers attach directly inside each thread's sandbox; only HTTP servers you explicitly opt in are exposed to Anka.
Schedules and notifications
Anka runs scheduled prompts directly or dispatches them to sandboxes. Finished turns can ping Telegram with a concise one-line status, title, and thread ID.
In the wild
Every screen here is real, not a mockup.
Every screenshot on this page comes straight from one live control plane — real E2B sandboxes, real models, real GitHub repos. Inside: a thread fixing an SSE reconnect race and opening a PR, a dependency audit, a cross-repo PR review, a web-research digest, a quick script, and Anka tying it all together.






Quickstart
One process. One SQLite file.
Requires Python ≥ 3.11 and uv. You can run the test suite and explore the web UI with no API keys; when you're ready to launch sandboxes and call models, set E2B_API_KEY and OR_*.
$ git clone https://github.com/tao12345666333/ankacloud.git
$ cd ankacloud
$ uv sync --frozenE2B_API_KEYOR_KEYOR_URLOR_MODEL
$ uv run uvicorn ankacloud.main:app \
--host 127.0.0.1 --port 8000
# → {"ok": true} http://127.0.0.1:8000/api/health$ uv run uvicorn ankacloud.main:app \
--host 127.0.0.1 --port 8000$ sudo ./deploy/install.shINFO ankacloud: web API on 127.0.0.1:8000
INFO ankacloud: reconciler every 60s · idle pause 10m
INFO ankacloud: telegram channel not configured
GET /api/health 200 {"ok": true}
$
Who it's for
A home for your agent,
not a platform for a company.
Your own agent
You want an agent that knows who you are, which repos matter, and what you decided last time — instead of re-explaining context on every task.
A small team
A few people sharing one cloud deployment: every thread isolated, each opening its own PR, all drawing from one memory and one skill catalog.
Builders & tinkerers
One small VPS, one process, one SQLite file, and upstream ankaloop underneath — clean enough to read and hack end to end.
- Multi-tenancy & RBAC
- Billing
- Team collaboration
- Local runners
- Desktop / browser portals
Open a thread.
Let it start remembering you.
Open source under Apache-2.0 (v0.11.0). Issues, PRs, and feedback from daily use are always welcome.