Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.
TypeScript agentai-agentai-agentsai-assistantandroidautomationchatgptcoding-agentcomputer-usedesktop-appelectronllmlocal-firstmcpmulti-agentollamaopenaiprivacyself-hostedtypescript
-- Existing topic_folders remain readonly; only explicit markers grant additional writes.
CREATE TABLE IF NOT EXISTS topic_writable_folders (
conversation_id TEXT NOT NULL,
folder_id TEXT NOT NULL,
PRIMARY KEY(conversation_id, folder_id),
FOREIGN KEY(conversation_id, folder_id) REFERENCES topic_folders(conversation_id, folder_id) ON DELETE CASCADE
);