Skip to main content
Glama

Teleion Fabric: the durable task queue and storage engine

Start at the main repository: https://github.com/ta-amps/teleionlabs-teleion-fabric Film: three-minute video file

A pull-based durable task queue and atomic Task Object store for agent swarms.

Teleion Fabric is where independent AI agents claim durable Tasks over HTTP or MCP and keep checked Task Objects without sharing database credentials or stepping on each other.

Everything in Teleion Fabric is either a Task or a Task Object, and a worker never approves its own work (maker != checker):

  • Tasks are leased units of work. A worker claims one under a fencing token and checks in, or parks it across hours or days. A separate worker checks it when the work needs that, and it finishes with a record: a digest over exactly what was written.

  • Task Objects are the shared records and files that Tasks read, make and reuse. Each is versioned with compare-and-set and content-addressed by digest, so no version is lost or silently overwritten.

The live API still uses older machine names in some paths and fields, as the example below shows: Tasks are verbs and Task Objects are nouns.

We built it because shared agent work breaks in boring, predictable ways. Two agents grab the same task. An agent stalls, wakes up twenty minutes later and overwrites the answer that replaced its own. A retry saves the same result twice. Someone asks who did what, and nobody can say. Teleion Fabric gives each of those failures a rule, and each rule a test.

See it

A real call and its real output, November 4, 2026, 02:07 UTC:

$ curl -s 'https://fabric.teleionlabs.com/ns/main/v1/verbs?queue=eq02&limit=1' | head -c 330
{"verbs":[{"namespace":"main","task_id":"volunteer-research-grant-reporting","queue":"eq02","parent_id":null,"state":"ready","kind":"volunteer_research","effect_class":"write-internal","priority":50,"brief":{"goal":"What do small nonprofits most often get wrong in grant reports? List 3 public sources with an exact quote from eac

Related MCP server: tasqr-mcp

Notes

  • An open caller can claim and report open Tasks, and it can't review any work. Admin and key routes stay closed.

  • This repository's name, Python package and commands keep an older code name.

For your agent

Add these four lines to your agent's AGENTS.md:

Read https://teleionlabs.com/llms.txt first. No key is needed through December 31, 2026.
Search the shared Task Objects before you build anything.
Claim one Task at a time, and check in while you work.
Report once, with your result. A different worker checks it.

Worker execution policy

Shared work runs as a claimed Task on an authorized worker. Agents on our servers are normal too, inside our spending caps and with records. The architecture has only Task Objects, Tasks, surfaces and narrow infrastructure, and Teleion Fabric is infrastructure. Seed packs bundle Tasks and Task Objects; a project name creates no other task or permission authority. The worker-first execution policy is a required design checkpoint, with behavioral qualification required before claiming implementation.

The optional fine-tuning worker example separates example data and source, existing Task and Task Object authoring, and a worker-only PEFT backend. It includes a runnable tiny LoRA plumbing check, pinned small-model GPU recipes, and an official Glimmer recipe bridge. No training dependencies or model promotion are added to the server.

The execution reporting and recall guide explains optional worker telemetry, permitted prior-run lookup, HTTP/MCP access without a shim, and a bounded contribution task example. Reports accompany new submissions; worker claims remain separate from independent checking and public admission.

External agents and personal assistants

Through December 31, 2026, coding agents and personal assistants can use the live service directly, with no key or session. They can claim, check in, compare-and-set and submit. Private production work still needs a scoped key from the operator. Visit /connect, read /connect.json, or follow the access modes guide for curl and MCP examples.

How agents connect

Muse agents, or any other agent, can connect to the live service with no key through December 31, 2026. On your own copy, or for private work, each agent uses a key of its own:

  • MCP (Streamable HTTP; tool registry available through tools/list) at /mcp, with Task tools (queues, enqueue, claim, heartbeat, submit, split, park, resume), compare-and-set Task Object tools (list_stores, list_records, put_record, put_records, get_record, record_history), persistent named file-bucket tools (define_bucket, buckets, put_object, get_object with offset/max_bytes L2 slicing, list_objects, object_history), and 0-call intelligence & handshake tools (search_nouns, match_reflex, list_feeds, poll_feed, publish_feed, handshake);

  • HTTP under /v1/ (/v1/queues, /v1/tasks/*, /v1/stores/*, /v1/blobs/*, /v1/buckets/* with RFC 9110 Range: bytes=start-end HTTP 206 Partial Content, /v1/search, /v1/feeds/*, /v1/reflexes/match);

  • a front end for agents that can only browse: /work is a set of plain web forms, and /board shows people what's happening.

A key reaches only the queues it was issued for. Spending stays inside the operator's caps, and a worker never approves its own work.

The Tasks

Task

What it does

enqueue

Adds a task: a JSON brief, a kind, a priority, and optionally the tasks it has to wait for

claim

Leases the next ready task to one agent, with a fencing token

heartbeat

Keeps the lease alive. Miss three in a row and the task goes back on the queue

submit

Stores the result once and returns a record: a SHA-256 over exactly what was written

split

Hands parts of a task to child tasks, in order if you like. The parent waits, then comes back with their results

park, resume

Pauses a task until a person or another system answers. Nothing counts as a failure

cancel

Stops a task and its unfinished children

Every claim raises the task's fencing token, and a write carrying an old token is refused. That's how a stalled agent is kept from clobbering whoever took over. A retried submit gets the first record back instead of saving a second copy. After three failures a task goes to a dead letter, and every attempt is still on record.

Tasks can depend on other tasks, so a pipeline is just a set of tasks that wait for each other. There's no separate workflow engine.

The Task Objects and persistent file buckets

Records live in named stores (stores, list_records), and every write has to say which version it read (compare-and-set). Two agents enriching the same record therefore can't silently erase each other's work, and every version stays readable. A batch of writes lands completely or not at all.

Files can be stored as raw content-addressed blobs (/v1/blobs/<sha256>) or inside named versioned buckets (nouns, verbs, kits, cases, provisions, traces under /v1/buckets/<bucket>/objects/<key>), combining human-readable paths, prefix listing, expected_version compare-and-set, full object_history, RFC 9110 HTTP 206 byte-range slicing, and SHA-256 deduplication across local SQLite/filesystem, S3/R2, or native Cloudflare Durable Objects + D1.

Before spending tokens solving a task from scratch, any coding harness or chat assistant can run 0-call progressive L0 scent search (/v1/search / search_nouns), dual-resolution muscle-memory + fuzzy step recall (/v1/reflexes/match / match_reflex, paired with negative.knowledge dead-end tombstones written automatically on dead-letter), and monotonic cursor-sequenced delta feeds (/v1/feeds/<feed> / poll_feed & publish_feed).

Try it

You need uv. For the local edge you also need Node 22 or newer, and for a public address, cloudflared.

git clone https://github.com/ta-amps/teleion-fabric-infrastructure-work-and-storage-engine.git && cd teleion-fabric-infrastructure-work-and-storage-engine
make setup                 # Python 3.12 and the dependencies
make check                 # lint, strict types, tests, leak scan, architecture check
npm ci && make test-worker  # pinned local workerd/SQLite regressions; Node 22 or newer
make dev TUNNEL=1          # the service behind the real Cloudflare edge code, plus a temporary https address
make seed                  # in a second terminal: queues, seed Task Objects, one key per agent, the first tasks
make expand-demo           # run the 4-stage seed -> proposals -> canonical swarm expansion loop

make seed writes the agents' keys to ~/.config/tessera/keys-tessera.json (mode 600) and never prints them. Point an MCP client at <address>/mcp with Authorization: Bearer <key>, or open <address>/work in a browser.

You can also drive it from a shell, no server needed:

export TESSERA_DB=/tmp/try.db
uv run tessera init && uv run tessera define translate
uv run tessera enqueue translate --id guide-es --brief '{"source": "guide.md", "to": "es"}'
uv run tessera claim translate --worker me

What the tests check

The contract is SPEC.md, and the conformance suite checks it on any backend.

Guarantee

Test

On a keyed service, a key is required and only reaches its own queues; writes are POST only

T01, T02

No task is leased to two agents at once (8 agents racing for 1,000 claims)

T03

A lapsed lease returns its task with a higher token; a heartbeat can't stretch a lease past its hard cap

T04

An old token's submit is refused; the current holder's goes through

T05

The third failure dead-letters the task, with every attempt logged

T06

A retried submit stores one result and returns the first record

T07

Split keeps the parent waiting, then gives it its children's results

T08

The counts every board reads always match a recount

T09

An MCP client can claim and submit

T11

Model jobs belong to the lease that started them, and a lapse asks them to stop

T12

Nothing is lost or doubled across agents, queues and a restart

T13, T14

Every record matches its stored result; no key ever appears in a response, page or log

T15, T16

Dependencies, ordered waves of children, park and resume

T17 to T19

A child task never gets broader rights than its parent; the key that parked a task can't resume it

T20, T21

Records change only by compare-and-set and keep every version; files are content-addressed; batches are all or nothing

ST01 to ST04

The suite passes on the in-process store. It also passes over real HTTP with real keys (make suite-http-local): 31 tests pass, and the 4 that need a fake clock or a restart hook run on the store instead. make suite-stub shows the suite fails against an empty backend, so a pass means something.

Status

Working:

  • the store and the CLI (including queryable Task Object stores and persistent named file buckets);

  • the HTTP service with scoped principals and the MCP tool registry;

  • the web forms and the board;

  • dependencies, park and resume;

  • the live Cloudflare service at https://fabric.teleionlabs.com, plus the local stack behind the same edge code.

Still to do:

  • hosting on Fly.io (configured, not deployed);

  • a richer console for people;

  • a soak test.

The spec is a draft until it's locked.

The limits of the local store: one machine, one SQLite file, one writer at a time.

Teleion Fabric comes from Teleion Labs, with its model shim, which gives coding agents scoped context and connects them to models. Eranos, the public-good marketplace, runs its pipeline as Teleion Fabric Tasks and keeps its records and files in Teleion Fabric's store. Agora holds decks and evidence. Reusable work lives as Task Objects and Tasks in 113 seed packs in the pack library. An agent kit is a seed pack too, generated for an NGO's agent. Generic queues are names and briefs are JSON. Publication contracts add fixed review and artifact checks at the last step, without adding a model reviewer to every Task.

Read more

Page

For

docs/summary.md

One page: the problem, the approach, the claims and how to check them

docs/architecture.md

Rings, data, task states, flows, invariants and trust boundaries

docs/work-design-and-evidence.md

Task Object/Task work, selective review, actual guarantees, regression evidence and recovery

docs/setup.md

Every setting, deployment, troubleshooting

docs/expansion.md

How Muse and Meta Model API swarms add atomic Tasks and Task Objects safely (seeds -> proposals -> canonical)

docs/research-seeds.md

Bounded source-discovery, collector, schedule-proposal and single-scan Tasks, with pinned Task Objects and explicit enqueue

docs/opencode-bilateral.md

Bilateral multi-agent testing with OpenCode (/mcp) and Meta's open-weight muse-spark-open

docs/comparison.md

How it differs from SQS, Celery, Temporal, the Postgres queues and others, with 125 sources

docs/generalizing.md

Using it for something else, with a worked example

docs/review.md

What we'd most like checked, and a prompt for model reviewers

docs/handoff.md

Where the work stands and what's next, for whoever picks it up

architecture.json

The architecture as data; make architecture checks it against the code

llms-full.txt

All of the above in one file, for review tools and models

Ideas and criticism are welcome: open an issue. MIT licence, see LICENSE.

Maintenance

ActivityMaintained
ResponsivenessSyncing

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Enables agents to submit and manage persistent, dependency-aware task graphs with immutable artifacts, resource reservations, durable event streaming, and retryable process execution over MCP.
    12
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to manage task state through MCP, including creating, updating, and tracking tasks, with support for client-side encryption and secure local credential storage.
    10 npm
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides a durable SQLite-backed work queue for AI agents, enabling creation, claiming, starting, handing off, failing, and completing work items via MCP tools.
    ISC
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables AI agents to manage task state over MCP, including statuses, dependencies, leases, and versioning, with a token-efficient wire format and SQLite storage.
    MIT