v0.11 · Per-thread provider and model selection→

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
The ankacloud thread view: the agent's tool calls and final report for a fix, running in its own cloud sandbox
A real thread: the agent fixes an SSE reconnect race in its own E2B sandbox, runs all 416 tests, and opens draft PR #127.

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 · facts
  • One 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 · Runta
  • A 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 portable
  • All 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.

  • 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.

Board

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.

Five lanes, every thread at a glance
Memory

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.

Memory, persona, and skills stay on the control plane
Anka

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.

Anka: a resident agent with no sandbox overhead

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.
Ankaankacloud bot
Can you check if the README's Telegram section is missing any commands?
AnkaThat needs the repo. Opening a thread for it.
Dispatchedt-1a2b3c4d5e6fankacloud · current thread
ankacloud · t-1a2b3c4d5e6fFound two gaps: the command table omits the /reset and /start alias notes, and it doesn't mention how /switch handles ambiguous prefixes. Committed the fix on docs/telegram-commands.
✅ Thread finished · docs patch readydocs/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.

  1. 1
    Thread 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.

  2. 2
    Thread 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.

  3. 3
    Thread 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 truth
  • MEMORY.mdLong-term memory: decisions, conclusions, and project conventions
  • SOUL.mdWho the agent is and how it works
  • IDENTITY.mdHow it names itself and speaks to you
  • facts/Discrete facts you can inspect and edit one by one
  • skills/SKILL.md and scripts — edit once, active everywhere
sandbox A · HTTPsandbox B · HTTPAnka · local

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.

    Projects settings: three repositories — ankacloud and ankaloop on GitHub, kong-operator read-only — each with its thread count
  • 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.

    Skills settings: a catalog of pr-review, release-notes, and web-digest
  • Providers

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

    Model providers settings: Baseten with GLM-5.3, Kimi-K3.1-Pro, and DeepSeek, plus OpenRouter
  • Sandbox runtimes

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

    Sandbox settings: the E2B Cloud provider with lifetime, idle pause, and machine size
  • 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.

A thread on mobile: a script the agent wrote and ran, with its output files listed at the end of the reply
A thread on mobile: the script the agent wrote, and the files it left behind.
The mobile drawer: threads grouped by project, with Board, GitHub, and Settings below
Threads grouped by project in the mobile drawer.
Anka on mobile: one status reply listing every thread, its PR, and where it stands
Anka on mobile: one reply summarizing every active thread.
A script thread in dark mode, showing tool calls, the model, the sandbox provider, and the final reply
A script thread in dark mode, showing its model and sandbox runtime in the header.
A read-only review of three open kong-operator pull requests, each with a verdict and test results
A read-only PR review in another repository, with a verdict and test results for each PR.
The Board in dark mode: Todo, In progress, Needs you, Waiting for you, and Done lanes with thread cards
The Board in dark mode, following your system theme.

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_*.

1
Clone and install
$ git clone https://github.com/tao12345666333/ankacloud.git
$ cd ankacloud
$ uv sync --frozen
2
Set the four required env vars

E2B_API_KEYOR_KEYOR_URLOR_MODEL

3
Start the server
$ uv run uvicorn ankacloud.main:app \
    --host 127.0.0.1 --port 8000
# → {"ok": true}  http://127.0.0.1:8000/api/health
ankacloud — shell
Local
$ uv run uvicorn ankacloud.main:app \
    --host 127.0.0.1 --port 8000
On a server
$ sudo ./deploy/install.sh

INFO 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.

01

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.

02

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.

03

Builders & tinkerers

One small VPS, one process, one SQLite file, and upstream ankaloop underneath — clean enough to read and hack end to end.

Not yet
  • 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.