Skip to content

Growth and retention

PathHoldsGrows with
bazilion.dbAgents, messages, saved results, settings, encrypted secretsUse
agents/<id>/sessions/*.jsonlConversation transcripts, tool output includedTurns
agents/<id>/uploads/Files attached to chatsAttachments
teams/<slug>/Team work tree and shared memory notesThe Agents’ work
profiles/, skills/Agent templates and installed skillsYou
browsers/<agent-id>/Managed browser profiles (cookies, logins)Browsing

Conversations, messages and uploads are never pruned: they are the record. Finished follow-ups and their attachments are deleted seven days after they end. Saved results are capped at 25 MiB per file and 1 GiB per home; they do not expire, and deleting one (Team → Results or bazilion result rm) frees its share.

Terminal window
du -sh ~/.bazilion/* ~/.bazilion/agents/*
sqlite3 ~/.bazilion/bazilion.db "SELECT name, SUM(pgsize) FROM dbstat GROUP BY name ORDER BY 2 DESC"
  • Delete an Agent you no longer need (bazilion agent delete <id>), which removes its directory and conversations.
  • Reset an Agent’s browser (bazilion agent browser reset <agent>).
  • Delete saved results you no longer need.
  • A Team’s memory/.qmd-index.sqlite can be deleted at any time; it is rebuilt from the Markdown notes.

Do not delete session files by hand: the database still lists those conversations, and the active one’s next turn continues from its file. SQLite reuses freed pages, so the database file does not shrink right away when you delete something.

The daemon writes no log files. It logs to stdout, so under a service manager such as systemd the journal holds and rotates the log.