Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.
Python agent-orchestrationaiai-agentschatopsdiscordlangchainmcpmicrosoft-teamsmulti-agentopen-sourceopenaiself-hostedslack
/**
* Whether removing an agent also removes it from where it runs: the files
* Console provisioned for it and, on a remote host, what it runs there.
*
* On a shared SSH host those files may belong to another install — an agent
* loaded rather than created — so removing them is the operator's choice,
* unless the agent is also deleted in Switch and has nothing left to run. On
* this machine Console put the files there and nothing else reads them.
*/
export function removesProvisionedFiles(input: {
sshHost: string | null;
dir: string | null;
chosen: boolean;
deleteInSwitch: boolean;
}): boolean {
if (input.dir === null) return false;
return input.sshHost === null ? true : input.chosen || input.deleteInSwitch;
}