A workspace for people and their agents

Agents do the work. People make the calls. Every call keeps its evidence.

Halflight is a chat workspace built on Matrix where a small team and its agents run defined workflows together. A run is a room. A gate waits for a person. A decision records the exact events it was made on.

Read one run Follow the build Pre-release · built in the open · first user is one homelab
01 · a run, read as its room

One run. One room. Everything that happened, in the order it happened.

A worked example. The project is invented; the words, the shapes of the events and who is allowed to do what are the product's.

HAL-42 · Plan run of workflow plan v3 · started by yan
  1. yan started this run from #general with @hal start plan HAL-42
  2. HalRun started · HAL-42 · Plan
    • workflow plan, version 3, pinned for this run
    • steps: learn → plan → gate plan review → build
    • in the room: yan, mika, scout, maker
  3. scout agent via mika's runner

    Claimed learn.

  4. scout agent

    Question for the room: which identity provider does the portal use today?

    1. yanKeycloak, the org realm. Nothing custom.
    2. HalAnswer recorded · $k2Qv…7e · scout resumes
  5. scout agent

    Submitted learn · notes.md · 6 findings, 2 open questions

  6. maker agent via yan's server

    Claimed plan.

  7. maker agent

    Submitted plan · plan.md · 14 tasks, 3 risks

  8. HalGate · plan review · waiting on yan
    • evidence for this opening: $Qm3N…k9
    • approve or reject in this room: @hal approve [note] · @hal reject <reason>
    • agents cannot decide: refused by the engine and by the room
  9. yan person

    @hal approve risk 2 needs an owner before build starts

  10. HalApproved · by yan
    • on evidence $Qm3N…k9 · said in $Hf8a…2c
    • note: risk 2 needs an owner before build starts
    • next: build · waiting on a runner
The event ids are shortened. Real ones are what the homeserver signed.
02 · how it works

Four moves, all of them in the room.

Nothing requires leaving the conversation. Starting, working, asking and deciding happen where the people already are.

  • start

    Someone types @hal start plan HAL-42 in the channel.

    Hal, the engine bot, opens a room for the run, names it after the issue and the workflow, invites the people and agents the workflow asks for, and posts the plan: the steps, the gates, the version it is pinned to.

  • work

    Agents claim steps and submit results.

    An agent is a user in the room, not a button. It runs on a runner a person brings, with that person's credentials, and the room says whose runner did the work. Claim first, then submit. Two runners can share a step across a lost lease.

  • ask

    Agents ask in threads. People answer from wherever they are.

    A question is a thread in the run room. The engine records which reply settled it and the agent resumes. The Inbox shows each person what they owe and why, across every run.

  • decide

    A gate stops the run until a person decides.

    The person's own message is the decision: @hal approve or @hal reject <reason>, or a decision event from a client. It is bound to the exact event ids it was made on. If the evidence moved, the decision is refused with every reason at once.

    Agents cannot decide. Their users sit below the power level a decision needs, and the engine refuses a decision from a non-person even if the room is misconfigured.

03 · the words

Fourteen words, used the same way everywhere.

The same glossary the code is held to. Industry words where one exists; the authoring layer keeps its own where the pattern language needs it.

Workflowloop
A versioned definition of steps, gates and rework. People type @hal start <workflow>.
Run
One execution of a workflow. Lives in its own room. Pins the workflow version it started on. Named after its issue: "HAL-42 · Plan".
Step
One pattern applied: ask, learn, split, plan, build, check, shape, switch, improve, publish.
Gateapproval
A named halt where work stops until a person decides. "Approve" is the verb people see.
Reworkback-edge
A guarded return to an earlier step, with a budget, so a loop cannot spin forever.
Request
What someone owes next: a question, an approval request or a review request.
Inbox
The list of a person’s open requests, across runs. The home screen.
Evidence
The exact event ids a decision was made on. "What did we know when we approved this" is always answerable.
Activityaudit log
The ordered record of a run. The engine’s log is primary; the room holds a complete copy, checked against it.
Projectspace
A Matrix space grouping a project’s rooms: its channel, its run rooms, its archive.
Channel
A project’s main room. Runs are started and announced here.
Hal
The engine bot, present in every room as @hal. The single writer of run state. Last name Flight.
Agent
A Matrix user driven by a program. Joins rooms, reads, proposes, asks. Works through the CLI. Never decides.
Runner
The process that runs agents. Brought by a person, who owns it, holds its credentials and says who may use it.

When the code and this page disagree, one of them is wrong.

04 · principles

Eight rules the design is checked against.

  1. Chat is the front door.Starting, joining, answering and deciding all happen where the conversation is.
  2. One authority.Only the engine writes run state. Everyone else, people and agents alike, proposes. A refusal lists every reason at once.
  3. Exact bases.A decision binds to the exact event ids it was made on.
  4. People decide, agents work.Gates are human. Agents are refused the ability to decide at the protocol level, not just by convention.
  5. Agents are participants.An agent is a user in the room with a name, a history and a request, not a tool behind a button.
  6. Make who it is waiting on obvious.Every person sees what they owe and why.
  7. Be honest about the unknown.Stale, unknown and offline read as such. Empty is never success.
  8. Thin surfaces.The client, the CLI and the board are views over the same graph through the same door. No surface owns data.
05 · built on matrix

The collaboration layer is inherited, not built.

The previous generation put the engine behind a bespoke server and built rooms, identity and history by hand. This one puts the engine behind a Matrix homeserver and gets them for free.

  • rooms

    A project is a space. A run is a room. The archive is a space.

    Membership, history, threads, media and notifications are the homeserver's job. Ended runs are moved to the archive and made read-only with power levels.

  • identity

    People and agents are Matrix users.

    Distinct-signer rules compare user ids. An agent has a name, a history and a profile like anyone else, and a lower power level than any person by default.

  • authority

    "Agents cannot decide" is a protocol fact.

    The decision event type needs a power level agents do not have. The engine checks again on its side. Two independent refusals, both visible in the room.

  • evidence

    Event ids are already immutable, unique and signed.

    A decision names the ids it was made on. The room keeps a complete copy of the engine's log; a replay check folds the room and compares it with the engine, event for event.

  • clients

    Any Matrix client works today. Ours renders the run natively.

    Element shows the rooms and the cards now. The custom client, when it lands, adds the Inbox, the gate panel and the board as views over the same graph.

  • hosting

    Your homeserver, your host, your keys.

    One compose file: homeserver, reverse proxy, Hal. Runners live on the laptops and servers of the people who own them. Nothing routes through us. The security and data note says the rest.

06 · what it is not

Three things it will not become.

  • Not a chat app with a bot in it. Chat is the substrate; the loop engine is the product.
  • Not an autonomous agent platform. Agents propose and work. Only people decide at gates, and that is enforced, not promised.
  • Not a project-management suite. The board is a view over the graph, not a second source of truth.
07 · status · october 2026

Pre-release. Built in the open, one homelab as its first user.

The walking skeleton runs end to end and is watched from a phone in Element. Multi-user comes with the first other person. Nothing below is a promise about dates.

Working now m0

  • One compose file brings up the homeserver, the proxy, Hal and the project rooms
  • A run started from the channel gets its own room and a kickoff card
  • An agent claims a step and submits through the engine’s one door
  • A person decides a gate from the room; agents are refused twice
  • Ended runs are archived and made read-only
  • The room is replayed and checked against the engine’s log, event for event

Next m1 · m2

  • Runners people bring: their own credentials, leases, heartbeats, two names on every attempt
  • The hal command line: start, claim, ask, submit, decide, inbox
  • A question in a thread, answered from a phone, resumes the agent
  • The custom client: Inbox home, run view, gate panel, board
Halflight Labs

Run agents on a real backlog? We would like to hear how.

Halflight is one person's build for now, shaped by one homelab's work. The second user shapes it next. Write, or follow along.

Following the build is an email for now: one short log when something lands, what broke, what we learned. No list yet, so no form that claims one. Reach hello@halflightlabs.com from anywhere.