Work that survives
Most AI tools live inside a browser tab. Close it, lose Wi-Fi, or let the server restart, and the thing you asked for evaporates mid-sentence.
Fungi is built on the assumption that something will restart. Because it will.
What keeps going
- Conversations. Each conversation with an Agent is a saved Session. Close
your laptop, come back tomorrow, open it from the Grove inbox. On your own
machine,
fungi resumepicks up a saved Session in your project folder. - Queued work. Think of the next thing while the Agent is busy? Queue it. It’s saved as work to do, not lost because the first task ran long.
- Repeating work. An Agent can set itself a loop (“check this every morning”) or a schedule. You can see your Agents’ schedules and pause or delete them.
- Jobs and messages. When one Agent hands work to another, the hand-off is written down before anyone acts on it. If a process dies halfway, the next run finds out what happened and recovers.
A night in the life
At 2 a.m. the server your Agent runs on restarts for an update. Your Agent was halfway through a long research task, and had asked a second Agent to check some numbers.
Nothing dramatic happens. The job record says the run was in progress, so on the way back up Fungi asks what became of it and carries on. The second Agent’s answer was saved as mail, so it’s waiting when the first one returns. In the morning, Grove shows the task as done, or as failed with a reason. Not as a spinner that never ends.
The open parts underneath
You can use these on their own. They’re MIT licensed and on npm.
- Watchdog: a small durable job queue on SQLite. Each tick claims one ready job and records exactly one outcome. If the process dies, it asks your liveness check and recovers.
- BirdDog: durable mail between Agents, built on Watchdog. Every sender and recipient is an ordinary Agent Session.
- Mule: the model-and-tool loop, awaited and cancellable.
- Shiitake: the Agent itself, which keeps Sessions across restarts.
Honest limits
- Running programs on a Computer don’t survive sleep. Files do. Restart your server.
- A fixed-rhythm loop ends after seven days. Start it again, or use a schedule.
- “Accepted” is not “finished”. Fungi says when a task is waiting, working, done or failed. Read the result before trusting it.
- Retrying can cost twice. A failed run explains whether the model started. If it didn’t, there’s no charge.