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 startgetting-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 suiteartifacts.md— Runtime artifact identity, descriptors, provenance, catalog search, and access statsintegrations/abstractcore.md— wiringLLM_CALL/TOOL_CALLS, theconfig_facademodels/engines/host-jobs passthroughs for hosts, thestructured_facaderesponse_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, thedecidenode), video progress events, and tool approval waits via AbstractCoreintegrations/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 theMEMORY_REVISEeffect /memory_revisenodetools-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, theemail.received@1trigger 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 actiontool-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 (thesend_emailrecipient 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 aReplayedHistorywhose.reportrecords what was replayed and droppedapi.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, incrementalsyncwith a time budget, exact then fuzzy matchingapi.md#run-history-bundle-export-portable-replay-artifact— run history bundles, includingresolved_actionssummaries 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@2calendar rules in a time zone,manual@1,email.received@1,feed.item@1RSS 2.0 / RSS 1.0 / Atom,webhook.received@1Standard 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 withrecipientandchannels), 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_onlyrefs), 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'stopicstool (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.jsonin the home, the recorded default, theidentity_changedbiography row, the identity reference on runs, the fingerprint, the summon cuetrack-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 toolsmcp-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 fixturessnapshots.md— snapshot/bookmark model and storesprovenance.md— tamper-evident hash-chained ledgerlimits.md— runtime-aware_limitsnamespace and APIsworkflow-bundles.md—.flowbundle 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 directionadr/README.md— architectural decisions (why)backlog/README.md— implemented and planned work items (what/how)