Skip to content

Documentation

This folder contains user-facing docs (how to use AbstractRuntime) and maintainer docs (ADRs/backlog).

If you are new: read getting-started.md → api.md → architecture.md.

Ecosystem

AbstractRuntime is part of the wider AbstractFramework ecosystem: - AbstractFramework umbrella: lpalbou/AbstractFramework - AbstractCore (LLM + tools): lpalbou/abstractcore

In this repo, the AbstractCore wiring lives under src/abstractruntime/integrations/abstractcore/* and is documented in integrations/abstractcore.md.

Start here

  • ../README.md — install + quick start
  • getting-started.md — first steps (recommended)
  • api.md — public API surface (imports + pointers)
  • architecture.md — how the runtime is structured (with diagrams), including how a JSON run store reads a large folder without scanning it (run index, change tokens, cross-process refresh)
  • troubleshooting.md — symptom-oriented setup, runtime, and integration fixes (waits, automations, webhooks, mail steps, feeds, workspaces)
  • proposal.md — design goals and scope boundaries

Guides

  • AbstractRuntime agent skill — a self-contained operating guide for agents using workflows, durable waits, stores and AbstractCore execution
  • Structured responses — JSON schemas across execution boundaries, local and remote validation, and streaming behavior
  • Host-managed serving — optional Core-owned HTTP lifecycle and host-admitted ASGI requests

  • faq.md — common questions (recommended)

  • manual_testing.md — manual smoke tests and how to run the test suite
  • artifacts.md — Runtime artifact identity, descriptors, provenance, catalog search, and access stats
  • integrations/abstractcore.md — wiring LLM_CALL / TOOL_CALLS, the config_facade models/engines/host-jobs passthroughs for hosts, the structured_facade response_format check for hosts, cached sessions with per-session prompt-cache listing/clearing, host memory snapshots, model-residency listings, locks and model switching, live token streaming, workspace-scoped tools, durable bloc prompt-cache control, media inputs, generated media outputs, calibrated decisions (output.modality: "decision", run_facade.decide, the decide node), video progress events, and tool approval waits via AbstractCore
  • integrations/abstractmemory.md — the AbstractMemory memory facade (ADR 0011): open a mind, stamp provenance from the step context, reconstruct a source from the ledger (get_record), history and revisions, and the MEMORY_REVISE effect / memory_revise node
  • tools-comms.md — enabling the optional comms toolset (email/WhatsApp/Telegram)
  • email.md — email for each user: run-scoped account binding and the host resolver, sending without asking (self and pre-authorised recipients), the durable event inbox and mail feeder, the email.received@1 trigger on the primary or any other mailbox of the user, mail verbs for flows (changes and sends only on a Read and write mailbox: email_mailbox_read_only, email_mailbox_cannot_send), and the send-email action
  • tool-approval.md — tool risk tiers, the run-policy rank ceiling, the session tool policy (a conversation's standing approve/deny, applied before any approval wait), and per-call refiners (the send_email recipient rule: self and pre-authorised recipients)
  • api.md#workflowbundles-flow-and-visualflow-distribution — VisualFlow compiler APIs, media nodes, and document nodes (read_pdf / write_pdf / write_docx)
  • api.md#sessions-and-history — session history replay: one window, the most recent 50,000 tokens of whole turns (HISTORY_REPLAY_MAX_TOKENS), returned as a ReplayedHistory whose .report records what was replayed and dropped
  • api.md#conversation-search — keyword search over a plane's conversations (ConversationSearch): questions, answers and the turn's artifacts, one SQLite FTS5 trigram index per plane, incremental sync with a time budget, exact then fuzzy matching
  • api.md#run-history-bundle-export-portable-replay-artifact — run history bundles, including resolved_actions summaries for cross-client capability replay

Features (reference)

  • automations.md — automations: a workflow run on a schedule, on an event or on request as a durable controller run; triggers (schedule@1, schedule@2 calendar rules in a time zone, manual@1, email.received@1, feed.item@1 RSS 2.0 / RSS 1.0 / Atom, webhook.received@1 Standard Webhooks, entry-point sources), per-user trigger connections, the CloudEvents envelope (input_data.event), run origin (_meta.origin), wakes (SCHEDULE_RUN: work later in the same session, with at most the caller's tools), Publish to channel (PUBLISH_EVENT, alerts with recipient and channels), commands, independent or growing context, discussions forked at any occurrence (own writable workspace, the automation's workspace mounted read-only), tool approval, typed waits, notifications and retries, and the storage guarantees (create-if-absent, per-run lock, turn roots, session kinds, one writer process per store)
  • entity-runtime.md — per-entity runtimes for summoned entities: homes, the one-writer lease, act-only diary privacy ($act_only refs), durable visit waits with deadlines, the cognition profile (cognition.yaml: a model per capability, recall width, rebuild policy, idle-sleep thresholds)
  • entity-topics.md — an entity's topics (memory communities): the night's topics stage after the metadata repair (memory embeds vector-less records, then forms one version with authored titles, fenced), what it records, the entity's topics tool (the list, one topic's memories, the closest topic by meaning), and the memory facade names a host serves (communities, community_of, community_keys_of)
  • digital-identity.md — an entity's look and voice: identity.json in the home, the recorded default, the identity_changed biography row, the identity reference on runs, the fingerprint, the summon cue
  • track-record.md — an entity's or a session's track record (sessions, runs, successes, failures, tokens) and reputation (trust per task kind with its evidence), computed from existing records; completion rates until feedback exists; and its acquaintances (the entities and humans it met)
  • evidence.md — artifact-backed evidence capture for external-boundary tools
  • mcp-worker.md — MCP worker CLI (abstractruntime-mcp-worker)
  • replay.md — the replay view: one reconstruction of a run tree (status, the interaction to answer, messages, one activity per execution, artifacts, usage, the workflow it executes) that every client renders; the durable cursor (seq, list_after); conformance fixtures
  • snapshots.md — snapshot/bookmark model and stores
  • provenance.md — tamper-evident hash-chained ledger
  • limits.md — runtime-aware _limits namespace and APIs
  • workflow-bundles.md — .flow bundle format, VisualFlow distribution, and multi-entry fan-in metadata

Maintainers

  • ../CHANGELOG.md — release notes
  • ../CODE_OF_CONDUCT.md — contributor conduct expectations
  • ../CONTRIBUTING.md — how to build/test and submit changes
  • ../SECURITY.md — responsible vulnerability reporting
  • ../ACKNOWLEDGMENTS.md — credits
  • ../ROADMAP.md — current status and longer-term direction
  • adr/README.md — architectural decisions (why)
  • backlog/README.md — implemented and planned work items (what/how)