{"id":"30b049cb-57b5-431e-a760-9d0446bbcd74","slug":"chatos","kind":"skill","name":"chatOS","summary":"AI chat platform — Turborepo monorepo with Next.js 16, AI SDK v6, Better Auth, Neon Postgres. Full-stack conversational AI.","owner":"broomva","repoUrl":"https://github.com/broomva/chatOS","license":"MIT","licenseTier":"permissive","trust":"community","stars":1,"match":null,"fewStars":true,"format":"skill","createdAt":"2026-02-25T21:22:04.000Z","addedAt":"2026-10-22T00:38:12.988Z","logoUrl":"https://avatars.githubusercontent.com/u/11726633?u=0d7a413d4ed254e76aee50544b6b1a1cf6805497&v=4","linkOnly":false,"collection":null,"skillPath":null,"categories":["communication","developer-tools","databases"],"tags":["ai-chat","ai-sdk","nextjs","turborepo","typescript","ai","chat"],"runtime":"binary","local":true,"cloudCapable":false,"cloudCapability":"unknown","cloudReadyOnPlatform":false,"needsApiKey":false,"reviewed":false,"syncedAt":"2026-10-26T09:46:23.240Z","sample":false,"url":"https://conduits.dev/tools/chatos","language":"TypeScript","transports":["stdio"],"install":{},"requirements":{"env":[],"upstreamMayCharge":false},"tools":null,"readme":"# chatOS\n\nA best-in-class AI chatbot monorepo template with streaming, multi-model support, and multi-platform bots.\n\nBuilt with [Turborepo](https://turbo.build), [Next.js 16](https://nextjs.org), [Vercel AI SDK](https://sdk.vercel.ai), [Better Auth](https://better-auth.com), [Drizzle ORM](https://orm.drizzle.team), and [Chat SDK](https://chat-sdk.dev).\n\n## Features\n\n- **Multi-model AI chat** — Claude, GPT, Gemini, Grok via Vercel AI Gateway\n- **Streaming** — Real-time responses with resumable streams (Redis-backed)\n- **Tool calling** — Extensible tool system (weather, documents, web search)\n- **Multi-platform bots** — Slack, Teams, Discord via Chat SDK\n- **Type-safe** — End-to-end with tRPC, Drizzle, Zod\n- **Agent-native** — Control metalayer, harness engineering, skills for AI-assisted development\n- **Monorepo** — Turborepo with caching, shared packages, parallel builds\n\n## Quick Start\n\n```bash\n# Clone\ngit clone https://github.com/broomva/chatOS.git\ncd chatOS\n\n# Install\nbun install\n\n# Configure\ncp env.example .env.local\n# Fill in DATABASE_URL, AUTH_SECRET, AI_GATEWAY_API_KEY\n\n# Develop\nturbo dev\n```\n\nApps start on:\n- **Web chatbot**: http://localhost:3000\n- **Bot service**: http://localhost:3001\n- **Documentation**: http://localhost:3002\n\n## Architecture\n\n```\nchatOS/\n├── apps/\n│   ├── web/          Next.js AI chatbot\n│   ├── bot/          Chat SDK multi-platform bot\n│   └── docs/         Fumadocs documentation\n├── packages/\n│   ├── ai/           AI SDK models, tools, streaming\n│   ├── auth/         Better Auth configuration\n│   ├── config/       Shared tsconfig, tailwind presets\n│   ├── db/           Drizzle schema, queries, migrations\n│   ├── types/        Shared TypeScript types\n│   └── ui/           shadcn/ui shared components\n├── .control/         Agent governance (policy, commands, topology)\n├── docs/control/     Architecture, observability, control loop\n├── scripts/control/  Deterministic command wrappers\n├── skills/           Project-local agent skills\n└── evals/            Control metrics\n```\n\n## Commands\n\n| Command | Description |\n|---|---|\n| `bun install` | Install all dependencies |\n| `turbo dev` | Start all apps in development |\n| `turbo build` | Build all packages and apps |\n| `make smoke` | Environment + build sanity check |\n| `make check` | Lint (Biome) + typecheck |\n| `make test` | Full test suite |\n| `make control-audit` | Validate agent governance artifacts |\n\n## Tech Stack\n\n| Layer | Technology |\n|---|---|\n| Monorepo | Turborepo + Bun |\n| Framework | Next.js 16 (App Router) |\n| AI | Vercel AI SDK + AI Gateway |\n| Auth | Better Auth |\n| Database | PostgreSQL + Drizzle ORM |\n| Cache | Redis (Upstash) |\n| UI | shadcn/ui + Radix + Tailwind v4 |\n| Bot | Chat SDK (Slack, Teams, Discord) |\n| Lint | Biome |\n| Test | Vitest + Playwright |\n| Docs | Fumadocs |\n| CI/CD | GitHub Actions |\n\n## Agent-Native Development\n\nThis repo is designed for AI-assisted development with:\n\n- **AGENTS.md** — Command surface and rules for AI agents\n- **PLANS.md** — Durable planning for multi-step tasks\n- **METALAYER.md** — Control-loop setpoints and feedback\n- **CLAUDE.md** — Project context for Claude Code\n- **.control/** — Policy, commands, topology YAML\n- **skills/** — Project-local skills for development guidance\n- **Makefile.control** — Deterministic gate commands (`smoke` → `check` → `test`)\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and guidelines.\n\n## License\n\n[MIT](LICENSE)\n"}