Skip to main content

AbstractGateway

PyPI CI Docs

AbstractGateway is a deployable Run Gateway host for AbstractRuntime runs, and the control plane of an AbstractFramework installation:

  • start durable runs, accept a durable command inbox, and replay or stream a durable ledger (replay-first);
  • enforce a security baseline: user accounts, browser sessions, an origin allowlist, request limits and an audit log;
  • manage users, providers, capability defaults, local engines, model downloads, browser apps and network exposure from a web console (/console), a terminal console, the CLI or a desktop tray icon.

Clients (AbstractFlow, AbstractCode, AbstractObserver, AbstractContinuum, AbstractEntity, AbstractAssistant, scripts) talk to the gateway over HTTP, so none of them depends on the others.

Native clients use the run APIs and replay views. OpenAI-compatible HTTP access is optional: Gateway /v1 uses Gateway credentials; a direct AbstractCore listener uses Core's own bind and authentication. Both can share the supervised execution owner's local resources. See configuration.

Start here: docs/first-run.md on your own machine, or docs/getting-started.md for an explicit setup.

What's new in 0.22.0 (CHANGELOG): a new gateway asks for its admin password first on every OS (claim, service install, the tray and the desktop icon open "Set up your gateway" with the setup code already given); on Windows, abstractgateway shortcut install adds an AbstractGateway icon to the desktop and the Start menu, the model host starts reliably, and a model host that does not answer no longer blocks the gateway's status routes. AbstractFramework dependencies are now exact pins: Runtime 0.19.7, Core 2.36.0, Agent 0.6.1, Memory 0.5.2, Voice 0.21.1, Skill 0.3.13 and Avatar 0.2.0.

What's new in 0.21.1: bounded Hugging Face summary searches and explicit repository details with a shared quota cooldown; compact, verified Windows login registration; private-safe close-time question-resolution notices. Requires Runtime 0.19.6, Core 2.35.2 and Memory 0.5.2. Windows login integration remains experimental.

What's new in 0.21.0 (CHANGELOG): an entity lives one phase at a time (visit, idle, work, its own time or sleep, or stopped). GET /entities/{name}/life_state serves the phase bar, PUT .../life_state/toggles gives or takes back its own time (the operator's to give; work starts when a job is queued), and the kill switch POST .../lifecycle (stop, resume, retry) is final: after a Stop nothing of the entity runs or writes until Resume, and a gateway restart is not a Stop. An idle entity sleeps on its own thresholds (hours, new memories, or the share of its memories not yet in a topic, sleep.after_fragmented_share), and every sleep runs AbstractRuntime's night: the repair that authors pending titles and summaries, then its topics, served by GET /entities/{name}/communities (AbstractMemory's payload version 2) and GET /entities/{name}/graph (its memory graph in one read), announced by a communities_changed marker on the replay stream. @entity works from any chat (POST /sessions/{id}/mentions, mentions on POST /runs/start and on the summon door): a message whose mentions name only entities starts no agent run (the reserved chip agent asks the agent too), every turn says who spoke (author) and carries the notices of what it formed. Session kinds automation and process keep automation occurrences and AbstractNote's processing out of the conversation list. Every tool result of a visit rests whole in the entity's home (GET .../artifacts), a visit turn takes files as attachments (an image reaches the entity's model as an image), and record blocks say when their words were cut when saved. The iteration limit is 50 by default (agents.max_iterations, stored once on a fresh install), "Keep the Mac awake while the gateway runs" is a setting (serve --keep-awake on|off), and HTTPS on the Tailscale name is served automatically while the gateway runs. Also: GET /entities/{name}/tile (the few facts an entity card shows, in milliseconds), the identity card cached until the entity's life grows, and notification emails that show the automation's Markdown formatted.

Upgrading to 0.21.0:

  • It needs AbstractRuntime 0.19.3, AbstractMemory 0.5.1, AbstractCore 2.35.0, abstractavatar 0.2.0, abstractagent 0.6.1 and abstractskill 0.3.11 or newer (dependency floors: pip install -U abstractgateway brings them). On an older AbstractRuntime the gateway refuses to build its runtime and says so: "this gateway needs abstractruntime>=0.19.3".
  • Code that opens an entity home beside the gateway (a script, a plugin) passes the fence AbstractRuntime 0.19.0 requires: open_home(..., fence=), open_entity_runtime(..., fence=), ChatSession(..., fence=); the gateway passes its own everywhere.
  • Entity homes open with AbstractMemory 0.5.0's task queue: a title or summary that cannot be authored at once is pending, and the next sleep's repair authors it.
  • AbstractCore 2.35.0 never replaces a settings file it cannot parse with defaults (ConfigParseError): the gateway answers 503 core_config_unreadable with the file's path and the parse error until you fix or remove it.
  • GET /entities/{name}/communities serves AbstractMemory's payload version 2 (key beside id, pending, first_sleep_pending); life_state.toggles is {personal} (there is no work switch: work answers 422); the old lifecycle routes (POST .../state {state: "paused"}, .../loop/start|stop) still work and answer Deprecation: true with their successor in Link.
  • After POST /entities/{name}/lifecycle {action: "stop"} every entity door (visit open, hosted chat, mention, summon) answers 409 stopped_use_resume until Resume. Clients render the served turn fields, never the text: author and prompt_author (who spoke), notices (reply_notices on the hosted chat turn: what the turn formed), turn_error (why a visit turn could not be answered) and cut on record blocks.
  • Mentions decide who answers. mentions on POST /runs/start (and the summon door) that name entities but not the reserved chip agent start no agent run: the person's turn is recorded and the answer says agent: "not_addressed" with its turn_id (the turn carries agent_addressed: false on GET /runs, the history bloc and the replay view); the entities answer through POST /sessions/{id}/mentions with that repeat_of. Add agent to the chips for the agent to answer too; every other start answers agent: "started". No entity can be named agent (409).

What's new in 0.20.2 (CHANGELOG): speech clients check voice support with GET /api/gateway/discovery/capabilities?scope=voice, without waiting for the unrelated media discovery; the model worker no longer imports folders from the gateway's data directory; the web console's kit components come from ui-kit 0.9.15 (read-aloud says "speaking" only while audible).

What's new in 0.20.1 (CHANGELOG): 0.20.0 was tagged but never published; 0.20.1 is that release. Every entity has one recorded look and voice, its digital identity, set from the Entity app: the gateway refuses a design it cannot draw or a voice it cannot speak (not offered here, or not downloaded) instead of using another one, and every entity gets a default look and voice from the day it is born. Each entity also has a track record (sessions, runs, successes, failures, tokens), a reputation per kind of task (a completion rate only for now: how good the work was is not assessed yet) and the list of the entities and people it met. A regular agent's conversation can carry a temporary look and voice too, kept with the conversation. From the terminal, abstractgateway entity identity get|set and abstractgateway entity record show and change the same things. Models nobody uses are unloaded after 60 minutes (change it on the Models page or with serve --model-idle-unload MINUTES; 0 never unloads), and a model you keep loaded stays loaded, even after a restart; each loaded model says when it unloads. Stopping or restarting the gateway never fails a run any more: the run waits and carries on at the next start. One card per cloud provider (Anthropic no longer shows twice), shorter setup-guide copy with one Connect or Edit button per card, OVH AI Endpoints and any OpenAI-compatible endpoint; provider names shown as text badges until each owner approves its logo. Automations are listed active first, then paused. The Mac stays awake while the gateway runs. The Resources page shows each loaded model's slot pool. When the default embedding model is not downloaded yet, the log says so in one sentence naming the model and where to download it. Read-aloud resumes exactly where a broken stream stopped.

What's new in 0.19.0 (CHANGELOG; it also ships the changes prepared as 0.18.0, which was not published): a fresh gateway is set up from the browser with an admin password, and accounts sign in with a password or a token; the models run in a supervised model host process on every OS; decisions (POST /v1/decisions, POST /api/gateway/runs/{run_id}/decisions) over AbstractCore 2.32.0's decision models; several self-contained gateway instances on one machine; the redesigned Models library, Resources page and tray menu; Assistant (web) as a managed app; voice streams that send keep-alive lines and record what they did in the audit log; and dictation recordings kept out of conversation attachments. It requires AbstractCore 2.32.0, AbstractRuntime 0.16.0 and AbstractAgent 0.5.0.

What's new in 0.17.2: the console's app manager installs the versions the AbstractFramework release pins (a newer one is offered as an update, never installed by itself); network status reports the user auth a loopback gateway turned on itself.

What's new in 0.17.1: the console's ui-kit islands are resynced from the released kit (ui-kit 0.9.1 -> 0.9.4): the console's voice picker lists each Qwen3-TTS voice once instead of once per model. A run whose On Flow End wrote notify: null now reports quiet_reason: "no notify", not "empty title".

What's new in 0.17.0: memory graph routes (/api/gateway/memory/*: query, history, sources, source reconstruction, derived memories) over AbstractRuntime 0.15.0's memory facade, with a strict owner rule (a person reads only their own graph and the graphs of the entities they created; /kg/query follows the same rule). The gateway no longer imports AbstractMemory directly. It requires AbstractRuntime 0.15.0 and AbstractMemory 0.4.0, whose vector re-encoding is one way: upgrade every process sharing a plane together.

What's new in 0.16.0: the replay view (GET /runs/{id}/view and /view/stream, one fold per record shared by every client), a per-conversation tool policy (approve or deny for the whole session), the voice library with personal voices per account, triggers (feeds, webhooks, several mailboxes) and per-user event streams with Apple push. It requires AbstractRuntime 0.14.0; its hash-chained ledgers are read by 0.14.0 verifiers only, so upgrade writers and verifiers together.

AbstractFramework ecosystem

AbstractGateway is part of the AbstractFramework ecosystem:

  • AbstractRuntime (required): durable run model + workflow registry + stores (pyproject.toml, src/abstractgateway/runner.py)
  • AbstractCore, AbstractAgent, AbstractMemory (installed with the gateway): Runtime owns the LLM/tool/media integration boundary; Gateway uses its discovery and run facades for prompt-cache controls, generated and edited media, voice, audio and music, and KG-backed bundle execution (src/abstractgateway/hosts/bundle_host.py)
  • Apps (optional): AbstractFlow (authoring/bundling), AbstractCode, AbstractObserver, AbstractContinuum, AbstractEntity, AbstractAssistant

Related repos:

Quickstart: your own machine

pip install abstractgateway
abstractgateway serve

On a first run with nothing configured, serve binds 127.0.0.1:8080, turns on user auth, creates the admin user, and prints a one-time link (http://127.0.0.1:8080/console#claim=...). Open it in a browser on the same machine: you are signed in as the admin and a short first-run guide helps you pick a local engine, a default model and the browser apps. A new link: abstractgateway claim --open. Start the gateway at login: abstractgateway service install. See docs/first-run.md.

Local models and engines

The console's Providers page (its Local providers cards) and its Models page (and the matching commands) install a local engine, download a model that fits this machine and delete a download you no longer need, without a terminal. They are AbstractCore's model browser and engine installer, shown inside the gateway:

abstractgateway engines status --probe          # Ollama, LM Studio, MLX, llama.cpp, ...
abstractgateway engines install ollama --dry-run # the exact command, nothing runs
abstractgateway models catalog --fits           # models that fit this machine
abstractgateway models download ollama qwen3:8b
abstractgateway models list                     # installed models with sizes

The commands talk to the running gateway (admin rules and audit log apply); add --local to run them in-process instead. Engine installs run on the gateway host and are on by default for a loopback gateway, and for someone at the gateway machine whatever it listens on (allow_engine_install). See docs/engines.md, docs/model-downloads.md and docs/console.md.

Admins can turn on the OpenAI API on the console's OpenAI API page: any OpenAI SDK or app then uses this gateway's models at http://<gateway>/v1, with a named API key per app, made on that page (valid at /v1 only, revocable one at a time).

Browser apps, network access and the tray

abstractgateway apps install observer --launch   # Flow, Code, Observer, Continuum, Entity, Note, Assistant
abstractgateway apps open observer               # a one-time signed-in link
abstractgateway network set lan                  # let your local network reach the gateway
abstractgateway network restart                  # apply it now
abstractgateway console                          # the terminal console, signed in
abstractgateway update --check                   # what the newest AbstractFramework release changes
abstractgateway update                           # ... and install it (installer installs)

The gateway installs Node.js when needed, installs the browser apps from npm, runs them and opens them already signed in (docs/apps.md). The network setting decides who can reach the gateway: localhost, lan or internet (docs/configuration.md). With pip install "abstractgateway[tray]", serve also shows a menu bar / system tray icon (docs/tray.md).

Quickstart (HTTP server, bundle mode, explicit configuration)

pip install abstractgateway

export ABSTRACTGATEWAY_DATA_DIR="$PWD/runtime/gateway"

# Optional: set only for a custom bundle registry. When unset, Gateway uses
# the packaged shipped bundle directory containing basic-agent.
# export ABSTRACTGATEWAY_FLOWS_DIR="/path/to/bundles"

# User accounts: the sign-in path for the console and the browser apps.
export ABSTRACTGATEWAY_USER_AUTH=1

abstractgateway serve --host 127.0.0.1 --port 8080

OpenAPI docs (Swagger UI): http://127.0.0.1:8080/docs

Smoke checks:

curl -sS "http://127.0.0.1:8080/api/health"

curl -sS -H "Authorization: Bearer $(cat "$ABSTRACTGATEWAY_DATA_DIR/auth/bootstrap-admin-token")" \
  "http://127.0.0.1:8080/api/gateway/bundles"

That last call lists the workflows a fresh install already serves — including a verify-gated coding agent (coding-agent), deep-research, and co-scientist, alongside the default basic-agent. See docs/shipped-workflows.md.

User accounts and the console

With user accounts on (the default of a plain serve, or ABSTRACTGATEWAY_USER_AUTH=1), the gateway creates default/admin, writes its first token to <data dir>/auth/bootstrap-admin-token, and routes each user to their own runtime and data plane (1 user = 1 runtime). Admins manage users from the console or /api/gateway/admin/users; user tokens are returned once and stored only as hashes. Browser apps exchange a user token for an opaque session (POST /api/gateway/session/login, HTTP-only cookie plus CSRF token) instead of keeping the token. ABSTRACTGATEWAY_AUTH_TOKEN is a shared server/operator token, not a browser sign-in token. See docs/security.md.

The built-in console at /console groups its pages in the sidebar: Accounts (users and entities in one table, with each account's email settings and activity), Work (workflows, runtimes, apps), Models (providers, models, engines, multimodal capability defaults) and System (host resources, a sandbox, network access); Setup at the bottom reruns the setup guide. An administrator sees every account; anyone else sees their own account and the entities they created. The same configuration surfaces exist in a terminal through the abstractgateway-console Rust app (the installer builds it; by hand, cargo install abstractgateway-console); abstractgateway console opens it signed in. See docs/console.md.

Each user can connect their own mailbox (Accounts → Email on their own row in the web console, @ on their own row in the terminal console, or /api/gateway/me/email): automations can run when mail arrives, results and approvals can be emailed to the user, and agents can use email tools when an administrator makes them available. Further mailboxes are Read only (automations only read them) or Read and write (a flow's mail steps may mark, move, delete and send), your choice per mailbox. See docs/email.md.

The AbstractAssistant apps on the Apple Watch and iPhone register with the gateway at sign-in and get alerts (approvals, questions, a flow's Notify me, automation results) while the app is closed, through a push relay that never sees any content. See docs/push.md.

Docker server

Release images are published to GHCR as ghcr.io/lpalbou/abstractgateway:

Tag Image Platforms
<version> (for example 0.20.1), latest the light, portable server image linux/amd64, linux/arm64
<version>-gpu, gpu-latest the experimental full GPU image (NVIDIA) linux/amd64
docker pull ghcr.io/lpalbou/abstractgateway:latest

NVIDIA hosts can try the experimental full GPU image when local vLLM/HuggingFace/Diffusers engines are wanted. It is built best-effort at each release (a release whose GPU build fails still ships the light image) until it has a real CUDA build and smoke gate, so check that the -gpu tag of your version exists before you pin it:

docker pull ghcr.io/lpalbou/abstractgateway:gpu-latest

The abstractgateway-server and abstractgateway-server-nvidia GHCR names are published as aliases for existing deployments; use abstractgateway for new ones.

The image installs the base abstractgateway package: HTTP server, AbstractRuntime, Runtime-owned provider/tool and multimodal facades, OpenAI-compatible text/media providers, provider/session prompt-cache helpers, AbstractMemory/LanceDB KG support, AbstractAgent, and AbstractFlow compatibility. Local sentence-transformer embeddings and hardware-local inference engines are explicit extras so the light server image does not pull PyTorch/CUDA runtime packages. Remote text embeddings remain part of the light profile through the embedding.text capability route: point it at OpenAI, OpenRouter, Portkey, LM Studio, vLLM, any OpenAI-compatible embeddings endpoint, or a remote AbstractCore server.

AbstractFlow note:

  • You do not need the abstractflow Python package to run .flow bundles. You only need it to author bundles; the gateway runs bundles only (store VisualFlows through /api/gateway/visualflows/* and publish them as bundles).
docker run --rm --name abstractgateway \
  -p 8080:8080 \
  -e ABSTRACTGATEWAY_DATA_DIR=/data \
  -e ABSTRACTGATEWAY_USER_AUTH=1 \
  -e LMSTUDIO_BASE_URL="http://host.docker.internal:1234/v1" \
  -v "$PWD/runtime:/data" \
  ghcr.io/lpalbou/abstractgateway:latest

On first start, the container creates default/admin and writes the admin user token to runtime/auth/bootstrap-admin-token. Use that token in /console, then rotate it or create named users from the console.

Configure framework model defaults through execution-host capability routes:

docker exec abstractgateway abstractgateway-config set-default input.text \
  --provider lmstudio \
  --model your-model \
  --base-url http://host.docker.internal:1234/v1

In user-auth mode this writes the Gateway baseline Core config at /data/config/abstractcore.json. Per-user runtime overrides use the same Core schema under /data/users/<tenant>/<runtime>/runtime/config/abstractcore.json; use abstractgateway-config set-default --scope user --user alice ... for operator-side scripting.

output.text is a compatibility alias for this same text route. Gateway reports it as a read-only view of input.text, so LLM text input and output do not drift to different default models.

On Apple Silicon, keep Metal/MLX inference native on macOS and run the lightweight Gateway container as the transport/control plane. Point OPENAI_BASE_URL at a generic host-native OpenAI-compatible endpoint such as Docker Model Runner (http://model-runner.docker.internal/engines/v1) or mlx_lm.server on a host port. For named providers, use LMSTUDIO_BASE_URL=http://host.docker.internal:1234/v1 or OLLAMA_BASE_URL=http://host.docker.internal:11434. For native non-Docker installs with local engines, use pip install "abstractgateway[apple]" on Apple Silicon, and pip install "abstractgateway[gpu]" on GPU workstations or NVIDIA Docker builds. For a minimal Apple-local Gateway + Flow setup, see docs/apple-local-gateway-flow.md.

Compose and deployment details: docs/deployment.md.

Capability scope

Direct, run-scoped Gateway routes (each creates a durable child run and returns artifacts):

  • voice and audio: POST /api/gateway/runs/{run_id}/voice/tts (with speed and one_shot), POST /api/gateway/runs/{run_id}/audio/transcribe
  • images: POST /api/gateway/runs/{run_id}/images/generate, /images/edit, /images/upscale
  • video: POST /api/gateway/runs/{run_id}/videos/generate, /videos/from_image
  • music: POST /api/gateway/runs/{run_id}/music/generate
  • decisions: POST /api/gateway/runs/{run_id}/decisions (yes/no, choice and score answers about a text, with confidence; no artifact)
  • run data: GET /api/gateway/runs/{run_id}/input_data, GET /api/gateway/runs/{run_id}/history_bundle

Discovery and catalogs for thin clients:

  • GET /api/gateway/discovery/capabilities: a versioned contract of packages, plugins, endpoints and feature gates, with common.readiness
  • voice, speech, transcription, music and vision catalogs (/api/gateway/voice/voices, /audio/*/models, /audio/music/providers, /vision/*), each with a gateway_catalog_v1 envelope and canonical items; ?language= filters the voice catalog
  • the voice library: /api/gateway/voice/languages, /voice/clones (list, read, create from a recording, rename, delete), /voice/design (a voice from a description) and /voice/compatibility (which engine supports which voice feature); with user accounts on, each account has its own voices in front of a shared library the administrator fills; see docs/api.md
  • /api/gateway/artifacts/search: cross-run, session and run artifact search
  • /api/gateway/kg/query: KG memory queries (LanceDB by default)
  • /api/gateway/prompt_cache/* and /api/gateway/sessions/{session_id}/prompt_cache/*: provider-dependent prompt-cache controls

Media generation needs a configured backend for the route (the console's Multimodal tab). Image and video routes stream abstract.progress records on the child run's ledger; prompt-cache support depends on the provider and model. Details: docs/api.md and docs/faq.md.

Client contract (replay-first)

  • Clients start runs: POST /api/gateway/runs/start
    • optional thinking sets the run-scoped _runtime.thinking default used by Flow LLM/Agent nodes and AbstractAgent adapters when Core/provider support reasoning controls
    • flow_id: "@default" with an agent interface runs the gateway's default agent workflow for that interface; every start answers resolved_workflow
    • input_data._runtime.stream: true also sends the model's reply live (llm.delta frames on the ledger stream)
  • Clients create automations: a workflow run on a trigger (an interval, a daily or weekly time, new mail in one of your mailboxes, a feed item, a signed webhook call, or only when asked), each run readable as a chat turn, quiet unless a run asks for attention or fails: /api/gateway/automations* (docs/automations.md); feeds and webhooks are trigger connections (/api/gateway/triggers/*, the console's Triggers page)
  • Clients follow what needs the person on one stream per account: run starts and ends, automation results, approvals and questions waiting, wakes an agent scheduled with schedule_run, notifications shown: GET /api/gateway/me/events (catch-up) and /me/events/stream (SSE) (docs/events-examples.md)
  • Clients read back what happened after a run: what arrived, how it ended, the alerts it raised (a flow's Notify me chooses its channels: tray, watch, phone, email, console) and where each was delivered: GET /api/gateway/runs/{run_id}/after (docs/api.md)
  • Clients act by submitting durable commands: POST /api/gateway/commands
    • supported types: pause|resume|cancel|conclude|emit_event|update_schedule|compact_memory|inject_guidance, plus the automation.* commands for an automation
  • Clients render by replaying/streaming the durable ledger:
    • replay: GET /api/gateway/runs/{run_id}/ledger?after=...
    • stream (SSE): GET /api/gateway/runs/{run_id}/ledger/stream?after=...

A run's owner can browse and preview the run's workspace folder (GET /api/gateway/runs/{run_id}/workspace, /files, /content), and GET /api/gateway/about reports the versions the gateway runs without sign-in.

Model residency is available from a shell through abstractgateway models loaded|load|unload (docs/console.md).

See docs/api.md for curl examples and the live OpenAPI spec (/openapi.json).

Install

Base remote-light server

Requires Python >=3.10 (see pyproject.toml).

The base install is the remote-light HTTP/SSE server: Gateway, Runtime, Agent, Flow compatibility, Runtime-owned provider/tool and multimodal facades, and LanceDB-backed Memory. It intentionally excludes local sentence-transformer embeddings and hardware-local inference engines so Linux installs do not pull PyTorch/CUDA packages. Remote embeddings and remote multimodal input/output still work in this profile through hosted providers, OpenAI-compatible endpoints, or a remote AbstractCore server.

pip install abstractgateway

Optional extras

  • abstractgateway[apple]: full native macOS Python profile with Apple-local engines and all non-NVIDIA framework capabilities
  • abstractgateway[gpu]: full local GPU profile with vLLM/HuggingFace, local Diffusers image generation, local voice engines, music, and KG memory; this is also the NVIDIA Docker install profile
  • abstractgateway[embeddings]: local sentence-transformer embeddings for semantic KG queries
  • abstractgateway[tray]: a menu bar / system tray icon for abstractgateway serve (macOS, Windows, Linux) — open the console, pause/resume workflows, unload models, watch memory and GPU, restart or update; see docs/tray.md
  • abstractgateway[docs]: MkDocs site tooling
  • abstractgateway[dev]: local test/dev deps

KG memory nodes use Gateway's memory resolver. The default durable/vector backend is LanceDB; memory is process-local dev/test storage, and sqlite is structured-only when the installed AbstractMemory build exposes SQLiteTripleStore.

Gateway has a first-class config helper:

abstractgateway-config status
abstractgateway config init --env-file .env

For details on capability route defaults, store backends, and workflow sources, see docs/configuration.md.

Creating a .flow bundle (authoring)

Author the workflow in the AbstractFlow editor and publish it: the editor stores the VisualFlow on the gateway (/api/gateway/visualflows/*) and POST /api/gateway/visualflows/{flow_id}/publish packs it into a bundle. From Python, AbstractRuntime packs a bundle from VisualFlow JSON files:

from abstractruntime.workflow_bundle import pack_workflow_bundle

pack_workflow_bundle(
    root_flow_json="/path/to/root.json",
    out_path="/path/to/bundles/my-bundle@0.1.0.flow",
    bundle_id="my-bundle",
    bundle_version="0.1.0",
    flows_dir="/path/to/flows",
)

Upload it with POST /api/gateway/bundles/upload, or place it in ABSTRACTGATEWAY_FLOWS_DIR.

See docs/getting-started.md for running, split API/runner, and file→SQLite migration. Split mode, the worker pools (serve --pool-light/--pool-heavy/--pool-watchers), the run index (--run-index) and the garbage-collector tuning (--gc-tuning) are in docs/configuration.md.

For AI agents

Register and use the AbstractGateway agent skill for the authenticated run workflow, replay and approval contracts, model-host diagnostics, and optional inference endpoints. Copy skills/abstractgateway/ from the matching source checkout into your agent's skills directory.

Docs

Published docs site: https://www.lpalbou.info/AbstractGateway/

Project: CHANGELOG.md · CONTRIBUTING.md · CODE_OF_CONDUCT.md · SECURITY.md · ACKNOWLEDGMENTS.md · LICENSE (MIT)

Metadata

Release files for abstractgateway 0.22.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for abstractgateway 0.22.0
File Size Uploaded Provenance Actions
abstractgateway-0.22.0.tar.gz 17.0 MB With provenance Details for abstractgateway-0.22.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for abstractgateway 0.22.0
File Interpreter ABI Platform Actions
abstractgateway-0.22.0-py3-none-any.whl Python 3 none any Details for abstractgateway-0.22.0-py3-none-any.whl

Total release size: 20.6 MB

Release files / abstractgateway-0.22.0.tar.gz

Download URL abstractgateway-0.22.0.tar.gz
Size 17.0 MB
Tags Source
SHA-256 checksum
How to use checksums
a91f8f555ca537937dd2671236d0bddaf332b97852be0d0408f8848726dc4dec
BLAKE2b-256 checksum
How to use checksums
c8bddaf5b6ea2f89ba5a8304a552f911451b161ea43073a7f35d8ca6339eebe0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / abstractgateway-0.22.0-py3-none-any.whl

Download URL abstractgateway-0.22.0-py3-none-any.whl
Size 3.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
714820e7553c5d62663e513c360bb74d2677f45c2275239742182380613a485a
BLAKE2b-256 checksum
How to use checksums
53f945f160f721818d52d21111d472ac73f072b6ea5b0aa863508904af11e4f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for abstractgateway 0.22.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for abstractgateway-0.22.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.22.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page