sirfyyn
FLE Durable IdeaRestartRulesEventsStart GitHub
FLE Durable

A local agent
that is always on.

Most agents wait for you to type. This one acts when something happens.

Agendayours and the agent’s
Webhooksfrom your tools
Chatyou write to it
Your own sourcesas a module
Durable queueone SQLite file
Webhook: build donewaiting
Agenda 07:00waiting
Chat: “How far are you?”waiting
Agentlocal model via /v1
Files
Shell
Web
Approvalfor what cannot be undone

Schematic. The queue entries are examples.

Restart

Pull the plug.
Nothing lost.

Every event is stored first and then handed to the agent. A crash in between loses nothing and runs nothing twice.

Webhook: build donedone
Agenda 07:00, daily planrunning
Webhook: new mailwaiting
In 20 minutes: check the downloadplanned

Illustration of the sequence. Open turns resume from their last checkpoint.

Rules

Six rules
it works by.

1

One queue.

Store first, then hand over. The same id sent twice is recognised.

2

You first.

Your messages go before every waiting background event.

3

Events are data.

Only your messages are instructions. Webhooks, web pages and files reach it marked as data.

4

Approvals where it matters.

Anything that cannot be undone stops until you approve exactly that command.

5

Waits for the model.

While the model server does not answer, events stay in the queue and go on afterwards.

6

Plans its own follow-ups.

When a task needs a later look, it puts it on its own agenda.

Events

Where they come from.

ChatYou write to it: through its page, the API or FLE Link
AgendaOnce, daily, on certain days or every N minutes. The agent plans items itself too
WebhookFrom any tool: CI, home automation, mail filters, cron
Your own sourceA module, for example: every text file dropped into a folder becomes an event
Start

With FLE Link,
one click.

In FLE Link: Agent, then “Install FLE Durable”. It starts with the model that is loaded. On its own it runs with any OpenAI-compatible server.

$ git clone https://github.com/sirfyyn/fle-durable && cd fle-durable
$ npm ci --ignore-scripts
$ export FLE_DURABLE_MODEL_URL=http://127.0.0.1:8080/v1
$ node src/main.js
listens on http://127.0.0.1:8740

Version 0.2.4 · Apache-2.0 · built on pi-durable (Earendil Works). Token and context window: see the README.