Skip to content

Releases

0.1.6

Choose a tag to compare

@dickyj-grc dickyj-grc released this 26 Nov 09:34
8f35dde

Upgrade notes

  • New installs are sandboxed. Apps installed from now on run with a read-only root filesystem (writable /tmp, /run, /var/tmp), no Linux capabilities, no root user (root images run as 65534), at most 256 processes, a 1 GiB memory limit if none is declared, and no outbound network. Apps that call the internet, browse, or reach a database elsewhere need sandbox: { egress: true } in their manifest, the console's Allow outbound internet, or allow_internet on amoeba-mcp's deploy_service. Bundled apps that need it (Lightpanda, Obscura, finance-db, streaming-echo) already declare it. Services installed before, and hand-written ones, are unchanged until reinstalled.
  • Each app gets its own Docker network, internal and shared only with the gateway, so apps can no longer reach each other directly. Apps with egress also join amoeba-egress, where they cannot reach each other either. An app that relied on calling another app by container name must go through the gateway (see calls), or list the network under sandbox.networks. Set AMOEBA_SELF_CONTAINER to the gateway's container name if you run it outside the provided compose files.
  • About 30 apps per Docker host by default. Each app's network takes an address range from Docker's default pools. For more, set smaller ranges with default-address-pools in /etc/docker/daemon.json (see the manifest reference's sandbox section).
  • The database service requires a signed identity. With this release's gateway, amoeba-db trusts only x-amoeba-identity and refuses requests without it. Update the gateway and amoeba-db together.
  • Every app container is recreated once on its next start, because each now receives AMOEBA_IDENTITY_PUBLIC_KEY and AMOEBA_SERVICE_NAME.
  • Rate limits are on by default: 600 requests a minute per caller per service (AMOEBA_RATE_LIMIT_PER_MINUTE, or rate_limit_per_minute per app; 0 is unlimited), and sign-ins lock for 15 minutes after 5 failures for an account or 20 from one address.
  • Installing onto a taken name now fails with 409. Before, it silently replaced the existing service. Send replace: true (in the package values, or the library install body) to replace or upgrade it. The MCP server's deploy_service tool takes replace too.

Security

  • Gateway-only access. Before, every app shared amoeba-net, so an AI-built app could call the database service directly with a made-up x-amoeba-roles: admin header and get past both the role check and column masking. Apps now get a network of their own, and the gateway signs the caller's identity (x-amoeba-identity, EdDSA, per service) for apps to verify; amoeba-db verifies it.
  • Sandbox for AI-built apps, on Docker and Apple containers (see the upgrade notes). The manifest's sandbox block relaxes it per app.
  • Per-tool permissions for MCP apps: tool:<name> (or tool:*) in permissions.
  • Pinned MCP tool lists: a tool that is new or reworded after approval is blocked until an admin approves the current list (console button, or POST /admin/apps/<name>/tools/approve).
  • MCP sign-in discovery: a 401 carries WWW-Authenticate: Bearer resource_metadata=…, and the gateway serves OAuth Protected Resource Metadata at /.well-known/oauth-protected-resource/v1/<service>/…. Set auth.authorization_servers (defaults to auth.issuer).
  • Rate limits on failed sign-ins and per caller per service.
  • Catalog writes are serialized across requests. Each admin request used its own lock, so two at once could overwrite each other.
  • The amoeba-mcp guide no longer says secrets are "stored encrypted on disk". They are plain files readable only by Amoeba.

Calls on behalf of the caller

  • calls: [lightpanda] in a manifest (and calls on amoeba-mcp's deploy_service) lets an app call other services as whoever called it. Each request carries x-amoeba-caller-token, which the app sends as Authorization: Bearer when calling those services through the gateway. The called service checks the original caller's roles, so a Stagehand or Playwright app and the browser it drives must both grant them.
  • The token works only on the listed services, lasts at most an hour (never past the caller's own token), is revoked with the caller's token, and shows in the usage log as alice via scraper. Callers cannot forge it, and apps without calls never get one.

WebSockets

  • WebSocket connections pass through the gateway, with the same token and role checks as any request. Playwright, Puppeteer or Stagehand on a laptop or in CI can drive a browser hosted on Amoeba, which starts on connect and sleeps when idle: chromium.connectOverCDP("wss://<amoeba>/v1/<browser>/", { headers: { Authorization: "Bearer <token>" } }). Notebooks, web terminals and live dashboards work behind Amoeba too.
  • An open session counts as an active connection, so the app is never stopped mid-session. local_upstream applies, which Chrome and Lightpanda need.

Quick start in one command

  • docker-compose.quickstart.yml runs Amoeba and its web console on port 8080 with nothing to set up: curl -fsSL …/docker-compose.quickstart.yml | docker compose -p amoeba -f - up -d.
  • First run (AMOEBA_BOOTSTRAP=1). On an empty data directory Amoeba generates a signing secret, creates admin with a random password (logged once, and kept in /etc/amoeba/admin-password), and writes an empty catalog. Without the variable a missing secret is still a startup error.
  • The image serves the web console at /, next to the API. Set AMOEBA_CONSOLE_DIR to serve it from elsewhere.
  • .dockerignore keeps target/, node_modules, local config and secrets out of image builds.

README

  • New quick start, highlights (Claude deploying an app; per-role column masking) and a comparison with Docker MCP Gateway, Obot, agentgateway and Sablier, near the top.

Settings that stay

  • Adjust before deploy. The App library tab has an "Adjust" section: who can call the app, memory, CPU and idle stop, starting from the app's own values.
  • Settings after deploy. Each service has a Settings button with the same form. Memory and CPU changes restart the app; the others apply at once.
  • Kept on upgrade. These settings are stored as overrides and re-applied when the same app is reinstalled or upgraded. Permission changes through PATCH /admin/apps/<name> are kept the same way. Another app taking the name starts from its own manifest.
  • Name conflicts. The deploy dialog says when a name is taken and by what, offering "Use -2" or "Replace it". The Git and Dockerfile tabs check before starting a build.
  • API: PATCH /admin/apps/<name>/settings with any of permissions, public, memory, cpu_cores, cooldown_seconds. GET /admin/apps/<name> adds source, settings and overrides.

Fixes

  • Query strings are forwarded. The proxy sent apps only the path, so ?status=overdue filters (including the database service's) and tokens in URLs never arrived.
  • Apps stuck in "installed". An install's state could be lost to the catalog reload it triggers, so the app showed "installed" forever although it was running. State updates are now atomic.
  • Nightly e2e: droplet refused (422). The e2e now tries other DigitalOcean regions when one refuses the droplet, and prints DigitalOcean's reason.

0.1.5

Choose a tag to compare

@dickyj-grc dickyj-grc released this 12 Nov 07:03
d79190d

Upgrade notes

  • Each app container is recreated once. Containers now carry a spec label, and existing ones have none, so each image app's container is replaced on its next start. Anything an app kept only in its own container filesystem is lost then, as on a reinstall.
  • Image apps get a PORT env var set to placement.port. A manifest that declares PORT in schema is refused; remove it and use ${PORT} in app.command if the app takes the port as an argument.
  • Stricter schema.env. Installs refuse an unknown type, empty options, or a default that fails its own type or options.

App library

  • Deploy known apps without knowing their setup. The deploy dialog opens on a new App library tab: search by name, tag, image (lightpanda/browser:latest) or GitHub URL, pick an app, and fill only the settings it needs. Image, start command, port, permissions and API come from the library. Typing a known image or repo in the Docker Image or Git tab offers the library setup.
  • First apps: Lightpanda over MCP (no build: the published image in its MCP mode), Obscura, the database service, hello-world and streaming-echo.
  • API: GET /admin/library, GET /admin/library/<id>, POST /admin/library/<id>/install with {name?, public?, env, secrets}. The library is compiled into the gateway.

Manifest

  • app.command replaces an image's CMD, so a published image can run in another mode without a build. Supported by the Docker and Apple container drivers. Write ${PORT} for the port: it becomes placement.port, so the number is written once. Image apps also get a PORT env var.
  • interface says how callers use an app: type (mcp, openapi, http, cdp), path, summary, docs and a sample try request. The console shows it in the services table, starts the Test dialog with the sample request, and uses its path in the token dialog's MCP config.
  • Required settings. schema.env fields take required, and installs now check type (string, number, integer, boolean) and options. An empty value falls back to the default. The library tab shows options as a dropdown and marks required settings.
  • Reference docs: docs/manifest.md documents every field, with docs/amoeba.schema.json for editors and AI tools, linked from the README and listed in llms.txt.

Console

  • Build progress. Deploying from Git or a Dockerfile now shows elapsed time, the command running and the live build log, updated every 2 seconds, with a "Stop build" button. Before, the button just said "Building image..." until the build ended.
  • Real service status. The table showed every service as "Idle (Scale-to-Zero)", because it read fields the gateway never sent. It now shows Running, Preparing, Idle or Error, with the error message and the service's port.
  • Less flicker. The 3-second refresh no longer shows a loading state, skips re-rendering when nothing changed, and pauses while the tab is hidden. Services stay in a fixed order; before, they could reshuffle on every refresh.

Gateway

  • Reinstalls run the new spec. Reinstalling an app under the same name used to restart its old container, so a changed image, command, env or memory limit had no effect (deploying Lightpanda from the library after the Docker Image tab still ran the CDP server, and /mcp returned 404). Containers are now labelled with a fingerprint of their spec and recreated when it changes.
  • GET and DELETE /admin/apps/<name>/build report and cancel the latest build. A second build for the same name while one runs is 409. Cancelling kills the build's whole process group.
  • AMOEBA_BUILD_TIMEOUT_SECS overrides the 15-minute build timeout, for large projects.
  • GET /admin/apps returns names sorted.
  • GET /admin/apps/<name> adds a runtime block: running, active_requests, last_request_at, port, public.
  • Readiness errors name the port. "nothing answered on port 8080", plus the port the image suggests when it differs, e.g. 9222 for lightpanda/browser, read from its EXPOSE or --port in its command. A 503 for an app that failed or is still preparing now carries the reason in its body.
  • The reaper stops an idle service once. It used to stop an already-stopped service again on every 10-second sweep.

0.1.4

Choose a tag to compare

@dickyj-grc dickyj-grc released this 11 Nov 13:39

Fixes

  • Version numbers. The 0.1.3 release was tagged before its version bump merged, so its binaries and console still reported 0.1.2. 0.1.4 reports its own version everywhere.

Security

  • Console test runner upgraded to Vitest 4.1.12. Clears all six Dependabot alerts (three critical) in vitest, @vitest/mocker and tinypool. They were dev-only: none of these ship in the images or the built console.

0.1.3

Choose a tag to compare

@dickyj-grc dickyj-grc released this 11 Nov 13:29
0b94fee
v0.1.3

v0.1.3

0.1.2

Choose a tag to compare

@dickyj-grc dickyj-grc released this 11 Nov 09:54
55eab4d

Upgrade notes

  • New image: ghcr.io/dickyj-grc/amoeba-db. The database service ships as its own image. GHCR creates new packages as private, so make it public, as amoeba is, before installing the finance-db example elsewhere.
  • Console dev server ports changed. npm run dev in web/ now serves on 3064 and proxies to the API on 8064, matching scripts/dev.sh. Before, it used 3000 and 8080.
  • Installs check the whole catalog. An app install that would leave services.json invalid now fails with 400. Before, the file was written, and the gateway silently kept serving the old catalog.

Database service (new)

  • amoeba-db holds one PostgreSQL connection and serves only approved definitions: tables opened for specific operations, and named queries. Callers send names and values, never SQL (#18).
  • Per-role column policy (show, mask, hide). Masking happens in the generated SQL, so a masked value never leaves the database. Unlisted columns stay closed.
  • Guardrails:
    • Reads run in READ ONLY transactions, on a separate read connection if one is configured.
    • Writes can use their own account (DATABASE_URL_WRITE).
    • Every statement has a timeout.
    • A write that touches more rows than its limit is rolled back.
    • Rows are scoped to the caller's org (app.org, org_column).
    • Every call writes one audit record.
  • Every definition the caller's roles allow is also an MCP tool at /mcp.
  • Definitions hot-reload from DB_DEFINITIONS_FILE. An invalid edit is logged, and the previous definitions stay in force.
  • Example package examples/app-packages/finance-db, with demo data in demo.sql.

Gateway

  • App manifests can declare operation_rules, so a package can name its own operations (for example, one per table and query) and grant them separately (#18).
  • AMOEBA_SERVICES_FILE overrides the catalog path (default /etc/amoeba/services.json) (#17).
  • Install, uninstall and policy changes apply to the running gateway immediately, instead of waiting for the file watcher (#17).

Apple container driver (macOS)

  • Image apps install correctly on apple-container machines. Before, the install was silently ignored (#17).
  • New apps no longer get stuck in pulling: the readiness probe uses the container's resolved IP and pulls with container image pull (#17).
  • Plain env vars from the install now reach the container. Before, only secrets did (#17).

Local development

  • scripts/dev.sh runs Amoeba and the web console in one command, with the API on localhost:8064 and the console on localhost:3064. On macOS with Apple's container CLI it runs natively, with no Docker Desktop VM; elsewhere it uses Docker Compose (#17).
  • The README has a new Run Locally section, an intro built around Amoeba's two jobs, and a roadmap (#19).

CI

  • Nightly e2e builds and tests the image for its own commit, never :latest. A stale :latest had made a passing fix look broken (#16).
  • A new CI job runs the database service's tests against a real Postgres. Releases also publish the amoeba-db image (#18).

0.1.1

Choose a tag to compare

@dickyj-grc dickyj-grc released this 11 Nov 06:15
92c1c7a

Upgrade notes

  • Obscura package needs a token. Obscura 0.2.3+ refuses to start its MCP server without OBSCURA_MCP_TOKEN. The example package now pins h4ckf0r0day/obscura:0.2.6 and requires that secret (32+ characters) at install. Reinstall Obscura with values.secrets.OBSCURA_MCP_TOKEN set.
  • Upstream auth fails closed. A service with upstream_auth whose token can't be resolved now gets 503 with x-amoeba-rejection-reason: secret-unavailable. Before, the request was forwarded with an empty Bearer token.
  • New header for upstreams. Upstreams now receive x-amoeba-roles. Amoeba strips any copy the client sends.

Gateway

  • Path-based operation_rules: map paths like loans/{id}/approve to named operations, checked against the service's role map. The first matching rule wins; requests that match no rule fall back to the HTTP method. Rules are validated when the config loads (#11).
  • Upstreams receive the caller's roles in x-amoeba-roles, next to x-amoeba-user and x-amoeba-org (#11).
  • upstream_auth.token_secret reads the upstream token from an installed secret file on each request (#14).
  • Token revocation is persisted, so a revoked token stays revoked across restarts.

Apps and secrets

  • App manifests can declare upstream_auth: {type, secret}. The same secret is passed to the container and sent by the gateway as its credential (#14).
  • Secret names are checked so they can't escape the app's secrets directory. Install rejects secret values the manifest doesn't declare (#12).
  • MCP deploy_service: agents can deploy services, with single-tenant or per-org permission maps (#4).

Web console

  • New admin console: services table, stats, issuing scoped tokens, and testing endpoints.
  • Deploying from the console now builds a real app package, so rows marked as secret reach the service as secrets (#12).
  • The Git repo and Dockerfile tabs now work: Amoeba builds the image on its host (POST /admin/apps/:name/build), shows the build log, and then deploys the image. Git URLs must be https://, and all input is checked before any git or docker command runs (#13).
  • npm run build works again: Tailwind is pinned to v3. A new Web CI workflow runs tests and the build (#12).

Fixes and maintenance

  • Builds again after the zip 9 and jsonwebtoken 10 upgrades. JWT signing no longer panics; that panic made every login return 502.
  • Nightly e2e: retry droplet deletion, sweep leftover droplets, and run a branch's own orchestrator image on manual runs (#14).
  • New example config for Unlimited-OCR.
  • Dependency bumps: vite, postcss-selector-parser, jsonwebtoken, cargo group (#5–#8).

0.1.0

Choose a tag to compare

@dickyj-grc dickyj-grc released this 21 Aug 06:31
607e762

This release shows

What's Changed

  • fix(e2e): poll for container stop instead of fixed sleep by @ramziwahid in #3

New Contributors

Full Changelog: https://github.com/dickyj-grc/Amoeba/commits/v0.1.0