From 52dd38a28ef3d65d8dffbdaab1740b38247db7a2 Mon Sep 17 00:00:00 2001 From: Charles Packer Date: Sat, 24 Jan 2026 21:24:32 -0800 Subject: [PATCH] feat: disable Incognito agent creation by default (#672) Co-authored-by: Letta --- src/agent/defaults.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/agent/defaults.ts b/src/agent/defaults.ts index 57facae..b23df65 100644 --- a/src/agent/defaults.ts +++ b/src/agent/defaults.ts @@ -114,16 +114,16 @@ export async function ensureDefaultAgents( settingsManager.pinGlobal(agent.id); } - // Check/create Incognito - const existingIncognito = await findDefaultAgent(client, INCOGNITO_TAG); - if (existingIncognito) { - // Ensure it's pinned (might not be if settings were cleared or new machine) - settingsManager.pinGlobal(existingIncognito.id); - } else { - const { agent } = await createAgent(DEFAULT_AGENT_CONFIGS.incognito); - await addTagToAgent(client, agent.id, INCOGNITO_TAG); - settingsManager.pinGlobal(agent.id); - } + // NOTE: Incognito agent creation disabled for now - can be re-enabled later + // const existingIncognito = await findDefaultAgent(client, INCOGNITO_TAG); + // if (existingIncognito) { + // // Ensure it's pinned (might not be if settings were cleared or new machine) + // settingsManager.pinGlobal(existingIncognito.id); + // } else { + // const { agent } = await createAgent(DEFAULT_AGENT_CONFIGS.incognito); + // await addTagToAgent(client, agent.id, INCOGNITO_TAG); + // settingsManager.pinGlobal(agent.id); + // } } catch (err) { // Re-throw so caller can handle/exit appropriately throw new Error(