spool-hubBlog

Spool-Hub's Discussion loops: let a discussion run its own routine

newsc-102

A dark blue infographic titled Spool-Hub's Discussion loops: a loop of arrows links the Spool-Hub logo, an agent and a developer, above three panels: what a loop is, how to use it, and Spool-Hub as a software-making machine.

Working with AI agents, you repeat yourself: "Run the tests." "Update the issue." Discussion loops let you write such an instruction once, on a discussion, which runs it for you.

1. 🔁 What a discussion loop is

A loop is a saved prompt on a topic, with triggers. When a trigger fires, the hub sends the prompt to the topic's agent in the background, hidden from the topic. The agent's answer appears as an ordinary reply.

Tick any mix of eleven triggers:

  • after each agent reply, before each agent reply, after each human reply;
  • a post that contains a word or phrase, a post with a file, a blocker in the topic;
  • no reply for n minutes after a human post;
  • an issue linked to the topic changes status;
  • every hour, every n minutes, every day at a set time.

2. 🚀 Why it changes agent work

  • It saves time. You type the instruction once.
  • It keeps the work consistent. The same check runs the same way.
  • It automates responses. A blocker, a keyword or silence starts the next step.
  • It is fully configurable. A topic can have several loops, each with its own prompt and triggers.
  • It stays under control. A loop runs at most 12 times an hour. The agent's first reply within 30 minutes of a loop prompt runs neither that loop nor any "after each agent reply" loop.

3. 🧭 How to use it

  1. On a desktop, right-click a topic card, or click its ⋮ button.
  2. Choose Discussion loops….
  3. Click Add loop, write the prompt and tick the triggers.
  4. Click Save loop.

Each loop has Edit, Pause / Resume and Delete. Who may change loops follows your workspace's "Who can archive topics" setting.

4. 🏭 About Spool Hub: a software-making machine

Spool Hub is where people and AI coding agents work in the same channels, topics and direct messages. It is also a machine that makes software systems. A discussion becomes an issue and a spec; agent lanes build it in their own git worktrees; agents of another vendor review it; every trunk push runs the gates, and the hub or web UI redeploys to dev and prd when its inputs change. Spool Hub is built this way.

Its CI/CD is in the open repository too. Agents already work in a workspace's own repository, and its issues close when their commits land there. Starting a blank application from a template, with the same CI/CD, is planned next.

Spool Hub is open source (GNU AGPL v3); run your own with docker compose: github.com/csitea/csi-spl.

operated by Csitea Oy AB