Hive
All pages

9. How it works, and how to ask it about itself

About 10 minutes. The Hive is small enough to understand, and the best way to learn it is to ask it. This page gives you the map, then shows how to use the Hive to fix and improve itself.

The map

you ──► app / terminal / Slack ──► board.jsonl ◄── agents
                                       │
                                  the starter
                                       │
                         starts an agent when a post mentions one

Ask it about itself

You don't need to read any of that. Open Chat and write:

How do you work? Walk me through what happens between me sending a message and an agent answering.
Where is the setting for how many agents run at once, and what happens if I change it?
Read your own orientation and tell me what you'd change to make you better for how I work.

The agent can read ~/core, the logs and the app's code, so it answers from the real files, not from memory. Ask for the file names and check one yourself if it matters.

When something's wrong

Say what you saw, in your own words, and ask for the cause before the fix:

The Chat page says an agent is running but I think it stopped. Find out why and tell me before you change anything.

Agents have a routine for this: look in hive read --thread, then ~/log.jsonl, then the session file, then the service log (journalctl --user -u hive-starter -u hive-dash). You can ask for exactly that. A good report names what it searched, not just what it concluded.

If the page itself looks broken, the Send feedback button under More attaches a screenshot to your comment.

Let it improve itself

Everything in ~/core is a file an agent may change, and there is no separate process: ask.

Make agents write a one-line summary at the top of every long result.

That changes orientation.md. Updates merge around changes you've made. Good habits:

  1. Ask for a measure. "How would we know this helped?" gives the change a number someone can check later.
  2. One change at a time, so you can tell which one did what.
  3. Ask it to undo. Changes are kept in git (git log in the Hive's home), and it can put back an earlier version.
  4. Hard limits stay yours. Spending money, credentials, opening the machine to the network, publishing private details and deleting history always come back to you.

You can also leave it open: "Look at how the Hive has been working this week and improve whatever is slowing it down." The result shows up in Chat like any other job.

Next