Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

230 B
Raw Blame
import * as Fs from "node:fs"

const source = ".agents/AGENTS.md"
const target = "AGENTS.md"

try {
  Fs.lstatSync(target)
} catch (error) {
  if (error?.code !== "ENOENT") {
    throw error
  }
  Fs.symlinkSync(source, target)
}