tao12345666333/ankacloud
About
The agent you carry around: a single-user control plane for cloud-sandboxed coding agents. One sandbox per thread, one long-term memory across all of them.
Developer ToolsMeasured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
ankacloud
Website · 中文 · Quick start · Docs · Discussions
Every sandbox forgets. Anka doesn't.
A self-hosted control plane for coding agents that run in disposable cloud sandboxes — where the agent keeps its memory, its persona and its skills across every task, and the box is thrown away afterwards.
One FastAPI process, one SQLite file, no queue, no Redis — single-user by design: one operator, many threads. The agent doing the work is a stock ankaloop inside an isolated sandbox, so nothing you learn here locks you into this platform.
Why this exists
Most "background agent" products turn into ticket automation: a task goes in, a diff comes out, and the agent starts every job with amnesia.
ankacloud starts from the opposite end — the agent's memory and persona are the product:
- One memory, continuous across tasks. A thread you open next week still knows what you decided last month. Sandboxes are disposable; memory is not.
- Persona and skills are pushed in, owned centrally. SOUL, IDENTITY,
AGENTS.md, skills, commands and hooks live on the control plane and are injected into every sandbox — edit once, applies everywhere. - The agent is barely modified. The control plane only commands: thread registry, sandbox lifecycle, message relay, memory persistence. The thinking is done by unmodified ankaloop.
That makes it a good fit for the "agent you carry around": open a thread, and it knows who you are, which repositories matter, and what you already decided — then finishes the job in a fresh, isolated box.
Quick start
docker run -d --name ankacloud --restart unless-stopped \
-p 127.0.0.1:8000:8000 -v ankacloud-data:/data \
ghcr.io/tao12345666333/ankacloud:1
Open http://127.0.0.1:8000, then add two things in Settings:
- Sandbox → a provider and its API key (E2B by default; Luxor, Runta, GMI Cloud and a self-hosted E2B also work).
- Model providers → any OpenAI-compatible endpoint (OpenRouter, a gateway, your own vLLM) and the models you want.
That's it — no environment file to fill in. Everything you need to get running is configured in the Web UI and stored in SQLite; the remaining environment variables (listen address, the Web API token, GitHub App credentials) are for unattended installs, and are just a fallback wherever the UI also owns a value. See configuration.
Prefer to run it from a checkout, or on a systemd box?
uv sync --frozen && uv run uvicorn ankacloud.main:app --port 8000 # from a checkout
sudo ./deploy/install.sh # bare metal, systemd
More in deployment.
What you get
Runs where it can't hurt you
- One thread = one cloud sandbox. Code, shell and network all execute there, isolated from each other and from the control plane.
- Idle sandboxes pause automatically and resume on the next message; running ones are extended before they expire; lost ones are recreated from the control-plane session backup.
- Even when a sandbox is destroyed, the conversation and its event stream replay from the control plane.
State you can see
- Board view — every thread as a card in Todo / In progress / Needs you / Waiting for you / Done. Lanes are derived from the last turn, never stored, so they cannot go stale.
- Home session (Anka) — a resident agent with no sandbox that answers questions, searches memory, reports thread status and dispatches work into threads.
- Memory panel — read and edit
MEMORY.md,SOUL.md,IDENTITY.mdand facts; a dreamer folds finished threads back into long-term memory on a timer and on archive.
Real work, not a demo
- Projects — bind a repo, a sandbox provider, a model provider and shared env/secrets; a thread
then clones, works on its own branch and opens a PR with
gh pr create. - Credentials that stay out of the box — the GitHub token is injected provider-side (egress
proxy on E2B) and the sandbox only sees a placeholder; project secrets follow the same rule
wherever the runtime supports it. Commit identity and an
Ankacloud-Threadtrailer are written for you. - Telegram — talk to the same control plane from your phone, with a separate bot for "thread finished" pushes. See telegram.
- Skills, MCP servers, schedules — reusable capability definitions, remote MCP tools, and scheduled prompts handled by the home agent.
Web UI / Telegram
│
▼
┌─────────────────────────────────────────────────────┐
│ ankacloud control plane (one process, one SQLite) │
│ thread registry · sandbox lifecycle · message relay │
│ event fan-out · memory persistence · reconciler │
│ home agent: answers, dispatches (no sandbox) │
│ ~/.config/ankaloop = memory / persona / skills │
└─────────┬─────────────────────────┬─────────────────┘
│ │
sandbox A sandbox B (paused)
anka serve anka serve
Documentation
- Docs index — every page in one place
- Configuration — every setting, what the Web UI owns, the environment fallbacks
- Deployment — Docker, systemd, public exposure, backups, GitHub App setup
- Telegram — the chat channel and completion notifications
- Architecture — control plane, memory model, reconciler
- deploy/README.md — bare-metal systemd operations in detail
Development
uv sync --frozen # install dependencies (uv only; never pip install)
uv run pytest -q # unit tests, all fakes — no keys or external services
uv run uvicorn ankacloud.main:app --host 127.0.0.1 --port 8000
Contributions are welcome — read CONTRIBUTING.md for branch naming, test conventions and the English-only rule. Security issues: see SECURITY.md, never a public issue. Questions and ideas fit best in Discussions.
License
Explore related projects
Loading…