Open source file-system and knowledge based agent template. Build AI agents that stay up to date with your knowledge base
rebranding to vercel
Hugo Richard161bf349c8d2
diff --git a/.agents/skills/add-bot-adapter.md b/.agents/skills/add-bot-adapter.mdindex dc9f9d3..8d1b196 100644--- a/.agents/skills/add-bot-adapter.md+++ b/.agents/skills/add-bot-adapter.md@@ -1,6 +1,6 @@# Add Bot Adapter-Guide for adding a new platform adapter (Slack, Linear, etc.) to the Savoir bot system.+Guide for adding a new platform adapter (Slack, Linear, etc.) to the Knowledge Agent Template bot system.## Architecturediff --git a/.agents/skills/add-source.md b/.agents/skills/add-source.mdindex e8ddbcf..55bda2c 100644--- a/.agents/skills/add-source.md+++ b/.agents/skills/add-source.md@@ -1,6 +1,6 @@# Add Source-Guide for adding a new knowledge source to the Savoir instance.+Guide for adding a new knowledge source to the Knowledge Agent Template instance.## Via Admin UI (recommended)diff --git a/.agents/skills/rename-project.md b/.agents/skills/rename-project.mdindex 0867597..ec8119e 100644--- a/.agents/skills/rename-project.md+++ b/.agents/skills/rename-project.md@@ -1,13 +1,13 @@# Rename Project-Guide for fully renaming the project from "Savoir" to a custom name.+Guide for fully renaming the project from "Knowledge Agent Template" to a custom name.## WorkflowWhen the user wants to rename the project:1. **Ask the user** for the new name (e.g. "MyDocs") and optionally a new package namespace (e.g. `@mydocs`)-2. **Replace ALL mentions** of "Savoir" across the entire project+2. **Replace ALL mentions** of "Knowledge Agent Template" across the entire project3. **Rename packages** if the user wants a custom namespace4. **Run `bun install`** to update the lockfile after package renames@@ -17,14 +17,14 @@ When the user wants to rename the project:| File | What to change ||------|---------------|-| `apps/app/app/app.config.ts` | `name: 'Savoir'` → new name, update `description`, update `icon` |+| `apps/app/app/app.config.ts` | `name: 'Knowledge Agent Template'` → new name, update `description`, update `icon` || `apps/app/app/assets/icons/custom/savoir.svg` | Replace with custom icon SVG, rename the file |### Package Metadata| File | What to change ||------|---------------|-| `package.json` | `"name"`, `"description": "Monorepo for Savoir"` |+| `package.json` | `"name"`, `"description"` || `packages/sdk/package.json` | `"name"`, `"description"`, `"repository.url"`, `"homepage"` || `packages/agent/package.json` | `"name"`, `"description"` || `apps/app/package.json` | `"name"`, dependency references `@savoir/agent`, `@savoir/sdk` |@@ -34,12 +34,12 @@ When the user wants to rename the project:| File | What to change ||------|---------------|| `packages/sdk/src/index.ts` | `Savoir` interface name, `createSavoir` function name |-| `packages/sdk/src/client.ts` | `SavoirClient` class name, error messages mentioning "Savoir" |+| `packages/sdk/src/client.ts` | `SavoirClient` class name, error messages || `packages/sdk/src/types.ts` | `SavoirConfig` type name, JSDoc comments |-| `packages/agent/src/prompts/chat.ts` | `buildAdminSystemPrompt(appName = 'Savoir')` default value |+| `packages/agent/src/prompts/chat.ts` | `buildAdminSystemPrompt(appName = 'Knowledge Agent Template')` default value || `apps/app/server/utils/bot/adapters/github.ts` | `SavoirGitHubAdapter` class name || `apps/app/server/utils/bot/index.ts` | `SavoirGitHubAdapter` import and usage |-| `apps/app/server/utils/sandbox/git.ts` | `email: '[email protected]'`, `name: 'Savoir Bot'` |+| `apps/app/server/utils/sandbox/git.ts` | `email: '[email protected]'`, `name: 'Knowledge Agent Bot'` |After renaming packages, update **all imports** across the codebase:@@ -55,40 +55,40 @@ Also check `package.json` scripts for `--filter=@savoir/*` references.| File | What to change ||------|---------------|-| `README.md` | Title, all mentions of "Savoir" |-| `CONTRIBUTING.md` | Title, all mentions of "Savoir" |+| `README.md` | Title, all mentions of "Knowledge Agent Template" |+| `CONTRIBUTING.md` | Title, all mentions of "Knowledge Agent Template" || `AGENTS.md` | Title |-| `packages/sdk/README.md` | All mentions of "Savoir", `createSavoir`, `SavoirClient`, etc. |-| `packages/agent/README.md` | All mentions of "Savoir" |-| `docs/ARCHITECTURE.md` | All mentions of "Savoir" |-| `docs/SOURCES.md` | All mentions of "Savoir" |-| `docs/ENVIRONMENT.md` | All mentions of "Savoir", `SAVOIR_API_URL`, `SAVOIR_API_KEY` |-| `docs/CUSTOMIZATION.md` | All mentions of "Savoir" |+| `packages/sdk/README.md` | All mentions of "Knowledge Agent Template", `createSavoir`, `SavoirClient`, etc. |+| `packages/agent/README.md` | All mentions of "Knowledge Agent Template" |+| `docs/ARCHITECTURE.md` | All mentions of "Knowledge Agent Template" |+| `docs/SOURCES.md` | All mentions of "Knowledge Agent Template" |+| `docs/ENVIRONMENT.md` | All mentions of "Knowledge Agent Template", `SAVOIR_API_URL`, `SAVOIR_API_KEY` |+| `docs/CUSTOMIZATION.md` | All mentions of "Knowledge Agent Template" |### In-App Documentation| File | What to change ||------|---------------|-| `apps/app/app/content/docs/getting-started.md` | All mentions of "Savoir" |-| `apps/app/app/content/docs/sdk.md` | All mentions of "Savoir" |-| `apps/app/app/content/docs/bot-setup.md` | "Savoir GitHub bot", "Savoir knowledge base" |-| `apps/app/app/content/docs/discord-bot.md` | "Savoir Discord bot" |-| `apps/app/app/content/docs/api-keys.md` | "authenticate with Savoir" |-| `apps/app/app/content/docs/admin-mode.md` | "Savoir uses" |+| `apps/app/app/content/docs/getting-started.md` | All mentions of "Knowledge Agent Template" |+| `apps/app/app/content/docs/sdk.md` | All mentions of "Knowledge Agent Template" |+| `apps/app/app/content/docs/bot-setup.md` | "Knowledge Agent Template GitHub bot", "knowledge base" |+| `apps/app/app/content/docs/discord-bot.md` | "Knowledge Agent Template Discord bot" |+| `apps/app/app/content/docs/api-keys.md` | "authenticate with Knowledge Agent Template" |+| `apps/app/app/content/docs/admin-mode.md` | "Knowledge Agent Template uses" |### Skills| File | What to change ||------|---------------|-| `agents/skills/add-source.md` | "Savoir instance" |-| `agents/skills/add-bot-adapter.md` | "Savoir bot system" |+| `agents/skills/add-source.md` | "Knowledge Agent Template instance" |+| `agents/skills/add-bot-adapter.md` | "Knowledge Agent Template bot system" |## Quick Find & ReplaceTo find all remaining mentions after manual updates:```bash-grep -ri "savoir" --include="*.ts" --include="*.vue" --include="*.md" --include="*.json" \+grep -ri "knowledge agent template\|savoir" --include="*.ts" --include="*.vue" --include="*.md" --include="*.json" \--exclude-dir=node_modules --exclude-dir=.output --exclude-dir=dist --exclude-dir=.nuxt```diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.ymlindex 31ef72f..82a8944 100644--- a/.github/ISSUE_TEMPLATE/bug-report.yml+++ b/.github/ISSUE_TEMPLATE/bug-report.yml@@ -5,7 +5,7 @@ body:- type: markdownattributes:value: |- Before reporting a bug, please make sure that you have read through our documentation and existing [issues](https://github.com/vercel-labs/savoir/issues) to see if the bug has already been reported or fixed. If it has, please add your reaction to the existing issue instead of creating a new one.+ Before reporting a bug, please make sure that you have read through our documentation and existing [issues](https://github.com/vercel-labs/knowledge-agent-template/issues) to see if the bug has already been reported or fixed. If it has, please add your reaction to the existing issue instead of creating a new one.- type: textareaid: envattributes:diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.ymlindex 24946fd..5e35cbb 100644--- a/.github/ISSUE_TEMPLATE/config.yml+++ b/.github/ISSUE_TEMPLATE/config.yml@@ -1,5 +1,5 @@blank_issues_enabled: truecontact_links:- name: GitHub Discussions- url: https://github.com/vercel-labs/savoir/discussions+ url: https://github.com/vercel-labs/knowledge-agent-template/discussionsabout: Ask questions and discuss ideas with the communitydiff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.ymlindex 4649f83..f81888b 100644--- a/.github/ISSUE_TEMPLATE/feature-request.yml+++ b/.github/ISSUE_TEMPLATE/feature-request.yml@@ -5,7 +5,7 @@ body:- type: markdownattributes:value: |- Before requesting a feature, please make sure that you have read through our documentation and existing [issues](https://github.com/vercel-labs/savoir/issues) to see if the feature has already been requested or implemented. If it has, please add your reaction to the existing issue instead of creating a new one.+ Before requesting a feature, please make sure that you have read through our documentation and existing [issues](https://github.com/vercel-labs/knowledge-agent-template/issues) to see if the feature has already been requested or implemented. If it has, please add your reaction to the existing issue instead of creating a new one.- type: textareaid: descriptionattributes:diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.ymlindex bdd49c6..d70a3cd 100644--- a/.github/ISSUE_TEMPLATE/question.yml+++ b/.github/ISSUE_TEMPLATE/question.yml@@ -5,7 +5,7 @@ body:- type: markdownattributes:value: |- Before requesting a question, please make sure that you have read through our documentation and existing [issues](https://github.com/vercel-labs/savoir/issues) to see if the feature has already been requested or implemented. If it has, please add your reaction to the existing issue instead of creating a new one.+ Before requesting a question, please make sure that you have read through our documentation and existing [issues](https://github.com/vercel-labs/knowledge-agent-template/issues) to see if the feature has already been requested or implemented. If it has, please add your reaction to the existing issue instead of creating a new one.- type: textareaid: descriptionattributes:diff --git a/AGENTS.md b/AGENTS.mdindex 223be37..d282c4e 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -1,4 +1,4 @@-# Savoir+# Knowledge Agent TemplateAI agents with real-time knowledge base access.@@ -16,7 +16,7 @@ AI agents with real-time knowledge base access.## Structure```-savoir/+knowledge-agent-template/├── apps/app/ # Nuxt app (chat UI + API + bots)│ ├── app/ # Vue components, pages│ └── server/ # API, workflows, sandbox, bot adapters@@ -41,4 +41,4 @@ Project-specific guides for AI-assisted customization. When the user asks to add| Add Tool | `add-tool.md` | Adding a new AI SDK tool || Add Source | `add-source.md` | Adding a GitHub/YouTube knowledge source || Add Bot Adapter | `add-bot-adapter.md` | Adding a new platform (Slack, Linear, etc.) |-| Rename Project | `rename-project.md` | Renaming the project from "Savoir" |+| Rename Project | `rename-project.md` | Renaming the project from "Knowledge Agent Template" |diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 4246e5c..2a1efdf 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -1,16 +1,16 @@-# Contributing to Savoir+# Contributing to Knowledge Agent Template-Thank you for your interest in contributing to Savoir!+Thank you for your interest in contributing to Knowledge Agent Template!## Reporting Bugs-- Search [existing issues](https://github.com/vercel-labs/savoir/issues) before opening a new one+- Search [existing issues](https://github.com/vercel-labs/knowledge-agent-template/issues) before opening a new one- Include steps to reproduce, expected behavior, and actual behavior- Include your environment (Node version, OS, browser)## Suggesting Features-- Open a [feature request issue](https://github.com/vercel-labs/savoir/issues/new)+- Open a [feature request issue](https://github.com/vercel-labs/knowledge-agent-template/issues/new)- Describe the use case and why it would be valuable- If possible, outline a proposed implementation@@ -18,8 +18,8 @@ Thank you for your interest in contributing to Savoir!```bash# Clone the repo-git clone https://github.com/vercel-labs/savoir.git-cd savoir+git clone https://github.com/vercel-labs/knowledge-agent-template.git+cd knowledge-agent-template# Install dependenciesbun install@@ -35,7 +35,7 @@ bun run dev## Project Structure```-savoir/+knowledge-agent-template/├── apps/app/ # Nuxt application (chat UI + API + bots)├── packages/sdk/ # @savoir/sdk - AI SDK compatible tools├── packages/agent/ # @savoir/agent - Agent core (router, prompts, tools)diff --git a/README.md b/README.mdindex a4dad26..3a1f83b 100644--- a/README.md+++ b/README.md@@ -1,8 +1,8 @@-<img src="./assets/banner.jpg" width="100%" alt="Savoir banner" />+<img src="./assets/banner.jpg" width="100%" alt="Knowledge Agent Template banner" /><p align="center"><br>- <b>Savoir</b>+ <b>Knowledge Agent Template</b><br><i>Open source file-system and knowledge based agent template.</i><br>@@ -21,7 +21,7 @@ Open source file-system and knowledge based agent template. Build AI agents that### File-Based Search — No Embeddings Needed-No vector database. No chunking pipeline. No embedding model. Savoir agents use `grep`, `find`, and `cat` inside [isolated sandboxes](./docs/ARCHITECTURE.md#3-sandbox-system) to search across all your [sources](./docs/SOURCES.md). Results are deterministic, explainable, and instant. Zero infrastructure overhead.+No vector database. No chunking pipeline. No embedding model. Agents use `grep`, `find`, and `cat` inside [isolated sandboxes](./docs/ARCHITECTURE.md#3-sandbox-system) to search across all your [sources](./docs/SOURCES.md). Results are deterministic, explainable, and instant. Zero infrastructure overhead.### Multi-Platform Bots — One Agent, Everywhere@@ -118,8 +118,8 @@ console.log(text)```bash# Clone the repository-git clone https://github.com/vercel-labs/savoir.git-cd savoir+git clone https://github.com/vercel-labs/knowledge-agent-template.git+cd knowledge-agent-template# Install dependenciesbun install@@ -158,7 +158,7 @@ See [ENVIRONMENT.md](./docs/ENVIRONMENT.md) for the full list of environment var## Customization-Savoir is designed as a **reusable template**. See the [Customization Guide](./docs/CUSTOMIZATION.md) for how to:+Knowledge Agent Template is designed as a **reusable template**. See the [Customization Guide](./docs/CUSTOMIZATION.md) for how to:- Rename your instance (name, icon, description)- Add [content sources](./docs/SOURCES.md) (GitHub repos, YouTube channels, custom)@@ -190,7 +190,7 @@ See [SOURCES.md](./docs/SOURCES.md) for detailed source configuration options.## Bots-Savoir includes built-in bot integrations powered by the [Vercel Chat SDK](https://github.com/vercel-labs/chat):+Knowledge Agent Template includes built-in bot integrations powered by the [Vercel Chat SDK](https://github.com/vercel-labs/chat):- **GitHub Bot**: Responds to mentions in GitHub issues and PRs. Uses a [GitHub App](https://docs.github.com/en/apps) for authentication and webhooks.- **Discord Bot**: Responds to mentions and continues conversations in threads. Uses the [Discord API](https://discord.com/developers/docs).diff --git a/apps/app/.env.example b/apps/app/.env.exampleindex 7316539..062f151 100644--- a/apps/app/.env.example+++ b/apps/app/.env.example@@ -1,5 +1,5 @@# =============================================================================-# Savoir - Environment Variables+# Knowledge Agent Template - Environment Variables# =============================================================================# Copy this file to .env and fill in the values.# See docs/ENVIRONMENT.md for detailed descriptions.@@ -24,7 +24,7 @@ AI_GATEWAY_API_KEY= # Vercel AI Gateway API key# NUXT_GITHUB_SNAPSHOT_REPO= # Default snapshot repository (owner/repo format)# NUXT_GITHUB_SNAPSHOT_BRANCH=main# NUXT_GITHUB_TOKEN= # Optional PAT override for snapshot git operations-# # If omitted, Savoir uses GitHub App installation tokens+# # If omitted, the app uses GitHub App installation tokens# --- GitHub Bot (optional) ---------------------------------------------------diff --git a/apps/app/app/app.config.ts b/apps/app/app/app.config.tsindex c76b8f1..c7364e1 100644--- a/apps/app/app/app.config.ts+++ b/apps/app/app/app.config.ts@@ -1,12 +1,12 @@export default defineAppConfig({app: {- name: 'Savoir',+ name: 'Knowledge Agent Template',description: 'Open source file-system and knowledge based agent template.',- icon: 'i-custom-savoir',+ icon: 'i-simple-icons-vercel',},ui: {colors: {- primary: 'primary',+ primary: 'neutral',neutral: 'neutral'},dashboardPanel: {diff --git a/apps/app/app/app.vue b/apps/app/app/app.vueindex b8ff3b7..c4e9503 100644--- a/apps/app/app/app.vue+++ b/apps/app/app/app.vue@@ -41,13 +41,12 @@ useSeoMeta({<template><UApp :toaster="{ position: 'top-right' }" :tooltip="{ delayDuration: 200 }">- <NuxtLoadingIndicator color="var(--ui-primary)" />+ <NuxtLoadingIndicator color="var(--ui-text-highlighted)" /><NuxtLayout><NuxtPage /></NuxtLayout>- <!-- To enable Vercel Analytics, uncomment: -->- <!-- <Analytics /> -->+ <Analytics /></UApp></template>diff --git a/apps/app/app/assets/css/main.css b/apps/app/app/assets/css/main.cssindex 2556593..ce70595 100644--- a/apps/app/app/assets/css/main.css+++ b/apps/app/app/assets/css/main.css@@ -5,29 +5,18 @@--font-sans: 'Geist', sans-serif;--font-mono: 'Geist Mono', monospace;--font-pixel: 'Geist Pixel Line', monospace;-- --color-primary-50: #EFFDF5;- --color-primary-100: #D9FBE8;- --color-primary-200: #B3F5D1;- --color-primary-300: #75EDAE;- --color-primary-400: #00DC82;- --color-primary-500: #00C16A;- --color-primary-600: #00A155;- --color-primary-700: #007F45;- --color-primary-800: #016538;- --color-primary-900: #0A5331;- --color-primary-950: #052E16;}:root {+ --ui-primary: black;--ui-container: var(--container-3xl);--ui-radius: 0.15rem;overscroll-behavior-y: none;}-html {- background-color: var(--ui-bg);+.dark {+ --ui-primary: white;}::view-transition-old(root),diff --git a/apps/app/app/assets/icons/custom/savoir.svg b/apps/app/app/assets/icons/custom/savoir.svgdeleted file mode 100644index e0f08bd..0000000--- a/apps/app/app/assets/icons/custom/savoir.svg+++ /dev/null@@ -1,53 +0,0 @@-<svg width="824" height="824" viewBox="0 0 824 824" fill="none" xmlns="http://www.w3.org/2000/svg">-<g filter="url(#filter0_ii_610_841)">-<rect width="824" height="824" rx="186.5" fill="url(#paint0_radial_610_841)"/>-</g>-<rect x="2.5" y="2.5" width="819" height="819" rx="184" stroke="url(#paint1_linear_610_841)" stroke-width="5"/>-<g filter="url(#filter1_di_610_841)">-<path d="M411.5 312.886C466.936 312.886 511.875 267.916 511.875 212.443C511.875 156.97 466.936 112 411.5 112C356.064 112 311.125 156.97 311.125 212.443C311.125 267.916 356.064 312.886 411.5 312.886Z" fill="black"/>-<path d="M384.125 384.928L239.337 338.567C219.714 332.361 198.898 335.678 182.218 347.804C165.556 359.985 156 378.799 156 399.454V569.29C156 597.184 173.841 621.652 200.413 630.177L384.125 688.996V384.928Z" fill="black"/>-<path d="M640.782 347.808C624.134 335.681 603.286 332.292 583.663 338.57L438.875 384.931V689L622.605 630.18C649.159 621.656 667 597.188 667 569.294V399.457C667 378.806 657.448 359.989 640.782 347.808Z" fill="black"/>-</g>-<defs>-<filter id="filter0_ii_610_841" x="0" y="-3.00455" width="824" height="828.924" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">-<feFlood flood-opacity="0" result="BackgroundImageFix"/>-<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>-<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>-<feOffset dy="4.7998"/>-<feGaussianBlur stdDeviation="0.959961"/>-<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>-<feColorMatrix type="matrix" values="0 0 0 0 0.309804 0 0 0 0 0.313726 0 0 0 0 0.32549 0 0 0 1 0"/>-<feBlend mode="normal" in2="shape" result="effect1_innerShadow_610_841"/>-<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>-<feOffset dy="-3.00455"/>-<feGaussianBlur stdDeviation="2.00304"/>-<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>-<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>-<feBlend mode="normal" in2="effect1_innerShadow_610_841" result="effect2_innerShadow_610_841"/>-</filter>-<filter id="filter1_di_610_841" x="150" y="111" width="523" height="589" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">-<feFlood flood-opacity="0" result="BackgroundImageFix"/>-<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>-<feOffset dy="5"/>-<feGaussianBlur stdDeviation="3"/>-<feComposite in2="hardAlpha" operator="out"/>-<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0.986272 0 0 0 0 0.582797 0 0 0 1 0"/>-<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_610_841"/>-<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_610_841" result="shape"/>-<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>-<feOffset dy="1"/>-<feGaussianBlur stdDeviation="8.45"/>-<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>-<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0.932749 0 0 0 0 0.55117 0 0 0 1 0"/>-<feBlend mode="normal" in2="shape" result="effect2_innerShadow_610_841"/>-</filter>-<radialGradient id="paint0_radial_610_841" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(412 -2.6028) rotate(90) scale(829.207)">-<stop stop-color="#00DC82"/>-<stop offset="1" stop-color="#009458"/>-</radialGradient>-<linearGradient id="paint1_linear_610_841" x1="537.459" y1="1.59185e-05" x2="314.421" y2="824" gradientUnits="userSpaceOnUse">-<stop offset="0.010423" stop-color="#00DC82"/>-<stop offset="1" stop-color="#006F42"/>-</linearGradient>-</defs>-</svg>diff --git a/apps/app/app/components/DocToc.vue b/apps/app/app/components/DocToc.vueindex 52fb328..3195877 100644--- a/apps/app/app/components/DocToc.vue+++ b/apps/app/app/components/DocToc.vue@@ -128,7 +128,7 @@ function scrollTo(id: string) {<ul ref="listEl" class="space-y-1 border-l border-default relative"><div- class="absolute left-0 w-0.5 -ml-px bg-primary rounded-full transition-all duration-200"+ class="absolute left-0 w-0.5 -ml-px bg-neutral-900 dark:bg-white rounded-full transition-all duration-200":style="indicatorStyle"/>diff --git a/apps/app/app/components/SourceModal.vue b/apps/app/app/components/SourceModal.vueindex d2b709b..3a45f79 100644--- a/apps/app/app/components/SourceModal.vue+++ b/apps/app/app/components/SourceModal.vue@@ -142,8 +142,8 @@ async function save() {<div class="p-4 bg-muted/30 rounded-lg border border-default"><div class="flex items-start gap-3 mb-3">- <div class="size-8 rounded-lg bg-primary/10 flex items-center justify-center shrink-0">- <UIcon name="i-lucide-folder-output" class="size-4 text-primary" />+ <div class="size-8 rounded-lg bg-neutral-100 dark:bg-neutral-800 flex items-center justify-center shrink-0">+ <UIcon name="i-lucide-folder-output" class="size-4 text-highlighted" /></div><div><h3 class="text-sm font-medium text-highlighted">@@ -171,7 +171,7 @@ async function save() {</div><div class="mt-3 flex items-center gap-2 text-xs">- <UIcon name="i-lucide-arrow-right" class="size-3 text-primary" />+ <UIcon name="i-lucide-arrow-right" class="size-3 text-highlighted" /><span class="text-muted">Preview:</span><code class="text-highlighted font-mono bg-default px-1.5 py-0.5 rounded">{{ snapshotPreviewPath }}diff --git a/apps/app/app/components/tool/Chart.vue b/apps/app/app/components/tool/Chart.vueindex 45a01f7..2bc34fb 100644--- a/apps/app/app/components/tool/Chart.vue+++ b/apps/app/app/components/tool/Chart.vue@@ -39,7 +39,7 @@ const formatValue = (value: string | number | undefined): string => {<div class="w-full md:min-w-[600px] max-w-3xl h-[380px] my-4"><template v-if="invocation.state === 'output-available'"><div v-if="invocation.output.title" class="flex items-center gap-3 mb-4">- <UIcon name="i-lucide-line-chart" class="size-5 text-primary shrink-0" />+ <UIcon name="i-lucide-line-chart" class="size-5 text-highlighted shrink-0" /><div class="min-w-0"><h3 class="text-lg font-semibold truncate">{{ invocation.output.title }}diff --git a/apps/app/app/content/docs/admin-mode.md b/apps/app/app/content/docs/admin-mode.mdindex 4817680..52fea06 100644--- a/apps/app/app/content/docs/admin-mode.md+++ b/apps/app/app/content/docs/admin-mode.md@@ -57,7 +57,7 @@ Here are some things you can ask in admin mode:## Structured Logging with evlog-Savoir uses [`@evlog/nuxthub`](https://github.com/HugoRCD/evlog) for structured logging. Every API request, bot interaction, and workflow execution is automatically logged to the `evlog_events` table in your [NuxtHub](https://hub.nuxt.com) database.+Knowledge Agent Template uses [`@evlog/nuxthub`](https://github.com/HugoRCD/evlog) for structured logging. Every API request, bot interaction, and workflow execution is automatically logged to the `evlog_events` table in your [NuxtHub](https://hub.nuxt.com) database.This means:@@ -78,4 +78,4 @@ Admin mode uses a completely separate AI pipeline from the regular chat:Admin chats are stored like regular chats but tagged with `mode: 'admin'` in the database.-For a deeper look at the architecture behind admin mode and other components, see the [Architecture documentation](https://github.com/vercel-labs/savoir/blob/main/docs/ARCHITECTURE.md) on GitHub.+For a deeper look at the architecture behind admin mode and other components, see the [Architecture documentation](https://github.com/vercel-labs/knowledge-agent-template/blob/main/docs/ARCHITECTURE.md) on GitHub.diff --git a/apps/app/app/content/docs/api-keys.md b/apps/app/app/content/docs/api-keys.mdindex df0e047..051c4ba 100644--- a/apps/app/app/content/docs/api-keys.md+++ b/apps/app/app/content/docs/api-keys.md@@ -1,6 +1,6 @@# API Keys-API keys allow external services to authenticate with Savoir without a browser session. They use [Better Auth](https://www.better-auth.com)'s [API key plugin](https://www.better-auth.com/docs/plugins/api-key) to create a virtual session tied to the key owner.+API keys allow external services to authenticate with Knowledge Agent Template without a browser session. They use [Better Auth](https://www.better-auth.com)'s [API key plugin](https://www.better-auth.com/docs/plugins/api-key) to create a virtual session tied to the key owner.## Admin Keysdiff --git a/apps/app/app/content/docs/bot-setup.md b/apps/app/app/content/docs/bot-setup.mdindex 56d6244..2b947dc 100644--- a/apps/app/app/content/docs/bot-setup.md+++ b/apps/app/app/content/docs/bot-setup.md@@ -1,6 +1,6 @@# GitHub Bot Setup-The Savoir GitHub bot responds to mentions in GitHub issues, using your knowledge base to provide answers directly in the conversation.+The Knowledge Agent Template GitHub bot responds to mentions in GitHub issues, using your knowledge base to provide answers directly in the conversation.> If you haven't created your GitHub App yet, follow the [GitHub App Setup](/admin/docs/getting-started#github-app-setup) in the Getting Started guide first. The same app handles both OAuth login and the bot.@@ -37,10 +37,10 @@ Users can also install the app from the sidebar suggestion card or from the **SeThe app uses [installation access tokens](https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app-installation) to interact with repositories -- no personal access token needed for the bot.-If you also use the snapshot repository management features in Savoir admin, extend app permissions with:+If you also use the snapshot repository management features in the admin panel, extend app permissions with:- **Contents (Read & Write)** to push synced docs and marker files-- **Administration (Read & Write)** when you want Savoir to create repositories automatically+- **Administration (Read & Write)** when you want the app to create repositories automatically`NUXT_GITHUB_TOKEN` remains optional fallback only and is not required for normal GitHub App-based setup.@@ -54,7 +54,7 @@ Mention the bot in any issue comment:The bot will:1. React with an "eyes" emoji to indicate it's processing-2. Search the Savoir knowledge base using the same AI agent as the chat+2. Search the knowledge base using the same AI agent as the chat3. Post a reply in the same issue thread4. React with a "thumbs up" emoji when done@@ -87,4 +87,4 @@ When enabled, the bot will respond to every new issue opened in repositories wheThe bot is built on the [Vercel Chat SDK](https://github.com/vercel-labs/chat) with a custom GitHub adapter. It uses the [Octokit](https://github.com/octokit/rest.js) library with [GitHub App authentication](https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/about-authentication-with-a-github-app) to interact with the GitHub API.-Each response goes through the same AI agent pipeline as the chat interface, using [Vercel AI SDK](https://ai-sdk.dev) tools to search the knowledge base in a [Vercel Sandbox](https://vercel.com/docs/vercel-sandbox). For the full architecture, see the [Architecture documentation](https://github.com/vercel-labs/savoir/blob/main/docs/ARCHITECTURE.md) on GitHub. To build your own adapter, see the [Customization Guide](https://github.com/vercel-labs/savoir/blob/main/docs/CUSTOMIZATION.md#4-add-a-bot-adapter).+Each response goes through the same AI agent pipeline as the chat interface, using [Vercel AI SDK](https://ai-sdk.dev) tools to search the knowledge base in a [Vercel Sandbox](https://vercel.com/docs/vercel-sandbox). For the full architecture, see the [Architecture documentation](https://github.com/vercel-labs/knowledge-agent-template/blob/main/docs/ARCHITECTURE.md) on GitHub. To build your own adapter, see the [Customization Guide](https://github.com/vercel-labs/knowledge-agent-template/blob/main/docs/CUSTOMIZATION.md#4-add-a-bot-adapter).diff --git a/apps/app/app/content/docs/discord-bot.md b/apps/app/app/content/docs/discord-bot.mdindex df54c6b..132f24f 100644--- a/apps/app/app/content/docs/discord-bot.md+++ b/apps/app/app/content/docs/discord-bot.md@@ -1,6 +1,6 @@# Discord Bot Setup-The Savoir Discord bot responds to mentions and continues conversations in threads, using your knowledge base to provide answers.+The Knowledge Agent Template Discord bot responds to mentions and continues conversations in threads, using your knowledge base to provide answers.## Create a Discord Application@@ -70,4 +70,4 @@ Bot conversation state is stored in:- [**Redis**](https://upstash.com/docs/redis) if `REDIS_URL` is set (recommended for production -- state persists across restarts)- **In-memory** as fallback (state is lost on restart)-For the full architecture and how to build custom adapters, see the [Architecture](https://github.com/vercel-labs/savoir/blob/main/docs/ARCHITECTURE.md) and [Customization Guide](https://github.com/vercel-labs/savoir/blob/main/docs/CUSTOMIZATION.md#4-add-a-bot-adapter) on GitHub.+For the full architecture and how to build custom adapters, see the [Architecture](https://github.com/vercel-labs/knowledge-agent-template/blob/main/docs/ARCHITECTURE.md) and [Customization Guide](https://github.com/vercel-labs/knowledge-agent-template/blob/main/docs/CUSTOMIZATION.md#4-add-a-bot-adapter) on GitHub.diff --git a/apps/app/app/content/docs/getting-started.md b/apps/app/app/content/docs/getting-started.mdindex ec41a61..147d92e 100644--- a/apps/app/app/content/docs/getting-started.md+++ b/apps/app/app/content/docs/getting-started.md@@ -16,10 +16,10 @@ cp apps/app/.env.example apps/app/.env| `GITHUB_CLIENT_ID` | GitHub App client ID (used for OAuth login). See [GitHub App Setup](#github-app-setup) below. || `GITHUB_CLIENT_SECRET` | GitHub App client secret || `NUXT_ADMIN_USERS` | Comma-separated list of admin emails or GitHub usernames |-| `NUXT_PUBLIC_SITE_URL` | Public URL of your Savoir instance |+| `NUXT_PUBLIC_SITE_URL` | Public URL of your instance || `AI_GATEWAY_API_KEY` | [Vercel AI Gateway](https://ai-sdk.dev) API key |-`NUXT_GITHUB_SNAPSHOT_REPO` and `NUXT_GITHUB_TOKEN` are optional. You can configure the snapshot repository in the admin sandbox UI after startup, and Savoir uses a GitHub App installation access token automatically when app credentials are configured.+`NUXT_GITHUB_SNAPSHOT_REPO` and `NUXT_GITHUB_TOKEN` are optional. You can configure the snapshot repository in the admin sandbox UI after startup, and the app uses a GitHub App installation access token automatically when app credentials are configured.`NUXT_GITHUB_TOKEN` is only a fallback. Keep it unset unless you explicitly need to override GitHub App authentication.@@ -38,12 +38,12 @@ cp apps/app/.env.example apps/app/.env## GitHub App Setup-Savoir uses a single **GitHub App** for both **user authentication** (OAuth login) and the **GitHub bot** (webhook events). This avoids creating two separate apps.+Knowledge Agent Template uses a single **GitHub App** for both **user authentication** (OAuth login) and the **GitHub bot** (webhook events). This avoids creating two separate apps.1. Go to [**GitHub Settings > Developer settings > GitHub Apps > New GitHub App**](https://github.com/settings/apps/new)2. Fill in the basic information:- **App name**: e.g. `your-bot-name`- - **Homepage URL**: your Savoir instance URL+ - **Homepage URL**: your instance URL- **Callback URL**: `<your-url>/api/auth/callback/github` (for OAuth login)- **Webhook URL**: `<your-url>/api/webhooks/github` (for the bot)- **Webhook secret**: generate a random string and save it@@ -52,7 +52,7 @@ Savoir uses a single **GitHub App** for both **user authentication** (OAuth logi| Permission | Access | Why ||------------|--------|-----|-| Email addresses | Read-only | Required for user login -- allows Savoir to identify users by email |+| Email addresses | Read-only | Required for user login -- allows the app to identify users by email |### Repository Permissions@@ -61,11 +61,11 @@ Savoir uses a single **GitHub App** for both **user authentication** (OAuth logi| Issues | Read & Write | Bot needs to read issues and post replies || Metadata | Read-only | Required by GitHub for all apps |-If you want Savoir to manage the snapshot repository automatically from the admin UI (list repos, create repo if missing, write sync commits), add:+If you want the app to manage the snapshot repository automatically from the admin UI (list repos, create repo if missing, write sync commits), add:| Permission | Access | Why ||------------|--------|-----|-| Contents | Read & Write | Push synced content and maintain the Savoir marker file |+| Contents | Read & Write | Push synced content and maintain the marker file || Administration | Read & Write* | Needed when creating repositories automatically |\* Depending on your GitHub setup (user vs org ownership), repository creation can require elevated app permissions and org approval.@@ -137,7 +137,7 @@ The app will be available at `http://localhost:3000`. Sign in with GitHub using## Adding Sources-Sources define the knowledge base the app uses to answer questions. They are managed through the **admin interface**. Sources aren't limited to documentation — you can add any content that produces files (GitHub repos, YouTube transcripts, custom APIs). See the [Sources documentation](https://github.com/vercel-labs/savoir/blob/main/docs/SOURCES.md) for all available options.+Sources define the knowledge base the app uses to answer questions. They are managed through the **admin interface**. Sources aren't limited to documentation — you can add any content that produces files (GitHub repos, YouTube transcripts, custom APIs). See the [Sources documentation](https://github.com/vercel-labs/knowledge-agent-template/blob/main/docs/SOURCES.md) for all available options.1. Navigate to the admin panel at `/admin`2. Go to the Sources section@@ -155,14 +155,14 @@ After adding or updating sources, trigger a sync from the admin interface. The s## How It Works-Savoir uses a **file-based search** approach -- no embeddings or vector databases:+Knowledge Agent Template uses a **file-based search** approach -- no embeddings or vector databases:1. Documentation from all sources is aggregated into a single snapshot repository2. When a user asks a question, a [Vercel Sandbox](https://vercel.com/docs/vercel-sandbox) is created from the snapshot3. The AI agent uses `bash` and `bash_batch` tools (via the [AI SDK](https://ai-sdk.dev)) to run `grep`, `find`, `cat`, etc. in the sandbox4. Results are synthesized into a natural language answer with citations-You can also integrate Savoir into your own applications using the [SDK](/admin/docs/sdk). For the full technical architecture, see the [Architecture documentation](https://github.com/vercel-labs/savoir/blob/main/docs/ARCHITECTURE.md) on GitHub.+You can also integrate the app into your own applications using the [SDK](/admin/docs/sdk). For the full technical architecture, see the [Architecture documentation](https://github.com/vercel-labs/knowledge-agent-template/blob/main/docs/ARCHITECTURE.md) on GitHub.## Admin Panel@@ -176,7 +176,7 @@ The admin panel at `/admin` provides:## Tech Stack-Savoir is built on:+Knowledge Agent Template is built on:- [Nuxt](https://nuxt.com) -- full-stack Vue framework- [NuxtHub](https://hub.nuxt.com) -- database (SQLite), KV storage, and blob storagediff --git a/apps/app/app/content/docs/sdk.md b/apps/app/app/content/docs/sdk.mdindex b4279fc..9ffd77f 100644--- a/apps/app/app/content/docs/sdk.md+++ b/apps/app/app/content/docs/sdk.md@@ -1,6 +1,6 @@-# Savoir SDK+# Knowledge Agent Template SDK-The [`@savoir/sdk`](https://github.com/vercel-labs/savoir/tree/main/packages/sdk) package provides a TypeScript client for interacting with Savoir programmatically. It exposes [AI SDK](https://ai-sdk.dev)-compatible tools that let any AI model search and read your knowledge base. For the full API reference and error handling, see the [SDK README](https://github.com/vercel-labs/savoir/blob/main/packages/sdk/README.md) on GitHub.+The [`@savoir/sdk`](https://github.com/vercel-labs/knowledge-agent-template/tree/main/packages/sdk) package provides a TypeScript client for interacting with Knowledge Agent Template programmatically. It exposes [AI SDK](https://ai-sdk.dev)-compatible tools that let any AI model search and read your knowledge base. For the full API reference and error handling, see the [SDK README](https://github.com/vercel-labs/knowledge-agent-template/blob/main/packages/sdk/README.md) on GitHub.## Installation@@ -36,7 +36,7 @@ You'll need an API key to authenticate. See [API Keys](/admin/docs/api-keys) for| Option | Type | Required | Description ||--------|------|----------|-------------|-| `apiUrl` | `string` | Yes | Base URL of your Savoir API |+| `apiUrl` | `string` | Yes | Base URL of your API || `apiKey` | `string` | No | API key for authentication. See [API Keys](/admin/docs/api-keys). || `sessionId` | `string` | No | Reuse an existing [sandbox](https://vercel.com/docs/vercel-sandbox) session || `source` | `string` | No | Usage source identifier (e.g. `'github-bot'`). Defaults to `'sdk'`. |@@ -45,7 +45,7 @@ You'll need an API key to authenticate. See [API Keys](/admin/docs/api-keys) for## AI SDK Tools-The SDK exposes tools compatible with the [Vercel AI SDK](https://ai-sdk.dev). Use them with [`generateText`](https://ai-sdk.dev/docs/ai-sdk-core/generating-text) or [`streamText`](https://ai-sdk.dev/docs/ai-sdk-core/streaming-text) to give any AI model access to your Savoir knowledge base.+The SDK exposes tools compatible with the [Vercel AI SDK](https://ai-sdk.dev). Use them with [`generateText`](https://ai-sdk.dev/docs/ai-sdk-core/generating-text) or [`streamText`](https://ai-sdk.dev/docs/ai-sdk-core/streaming-text) to give any AI model access to your knowledge base.```typescriptimport { generateText } from 'ai'diff --git a/apps/app/app/pages/admin/api-keys.vue b/apps/app/app/pages/admin/api-keys.vueindex e9ba3b1..8de9021 100644--- a/apps/app/app/pages/admin/api-keys.vue+++ b/apps/app/app/pages/admin/api-keys.vue@@ -85,9 +85,9 @@ function copyKey(key: string) {</header><div class="space-y-6">- <div v-if="revealedKey" class="rounded-lg border border-primary/30 bg-primary/5 p-4">+ <div v-if="revealedKey" class="rounded-lg border border-neutral-300 bg-neutral-50 dark:border-neutral-700 dark:bg-neutral-900 p-4"><div class="flex items-center gap-2 mb-2">- <UIcon name="i-lucide-alert-triangle" class="size-4 text-primary" />+ <UIcon name="i-lucide-alert-triangle" class="size-4 text-highlighted" /><p class="text-sm font-medium text-highlighted">Save your API key now</p>@@ -166,7 +166,7 @@ function copyKey(key: string) {<p class="text-sm text-highlighted font-medium truncate">{{ key.name || 'Unnamed key' }}</p>- <UBadge v-if="key.userRole === 'admin'" label="Admin" size="xs" color="primary" variant="subtle" />+ <UBadge v-if="key.userRole === 'admin'" label="Admin" size="xs" color="neutral" variant="subtle" /><UBadge v-if="!key.enabled" label="Disabled" size="xs" color="neutral" variant="subtle" /></div><p class="text-xs text-muted truncate">diff --git a/apps/app/app/pages/admin/logs.vue b/apps/app/app/pages/admin/logs.vueindex 4d8d76f..43fcebd 100644--- a/apps/app/app/pages/admin/logs.vue+++ b/apps/app/app/pages/admin/logs.vue@@ -318,7 +318,7 @@ async function investigateErrors() {<divv-for="d in dailyChartData":key="d.day"- class="flex-1 min-w-0 bg-primary/40 hover:bg-primary/70 transition-colors rounded-sm cursor-default"+ class="flex-1 min-w-0 bg-neutral-300 hover:bg-neutral-500 dark:bg-neutral-600 dark:hover:bg-neutral-400 transition-colors rounded-sm cursor-default":style="{ height: `${d.pct}%` }":title="`${d.day}: ${d.count.toLocaleString()} logs`"/>@@ -363,7 +363,7 @@ async function investigateErrors() {v-for="unit in (['hours', 'days'] as TimeUnit[])":key="unit"class="px-3 py-1 text-xs capitalize transition-colors"- :class="timeUnit === unit ? 'bg-primary text-white' : 'text-muted hover:text-highlighted hover:bg-elevated'"+ :class="timeUnit === unit ? 'bg-neutral-900 text-white dark:bg-white dark:text-neutral-900' : 'text-muted hover:text-highlighted hover:bg-elevated'"@click="timeUnit = unit">{{ unit }}diff --git a/apps/app/app/pages/admin/new.vue b/apps/app/app/pages/admin/new.vueindex 20e82df..90198c7 100644--- a/apps/app/app/pages/admin/new.vue+++ b/apps/app/app/pages/admin/new.vue@@ -384,7 +384,7 @@ const validSourcesCount = computed(() => sources.value.filter(s => s.data.label)<divclass="relative p-8 border border-dashed rounded-lg transition-colors cursor-pointer":class="[- isDragging ? 'border-primary bg-primary/5' : 'border-default hover:border-muted hover:bg-elevated/30',+ isDragging ? 'border-neutral-900 bg-neutral-900/5 dark:border-white dark:bg-white/5' : 'border-default hover:border-muted hover:bg-elevated/30',]"@drop="handleDrop"@dragover="handleDragOver"@@ -405,7 +405,7 @@ const validSourcesCount = computed(() => sources.value.filter(s => s.data.label)<UIcon:name="isDragging ? 'i-lucide-download' : 'i-lucide-upload'"class="size-5 text-muted"- :class="{ 'text-primary': isDragging }"+ :class="{ 'text-highlighted': isDragging }"aria-hidden="true"/></div>@@ -574,7 +574,7 @@ const validSourcesCount = computed(() => sources.value.filter(s => s.data.label)<div class="mb-2 text-center"><button- class="text-xs text-muted hover:text-primary transition-colors inline-flex items-center gap-1.5"+ class="text-xs text-muted hover:text-highlighted transition-colors inline-flex items-center gap-1.5"@click="showQuickImport = !showQuickImport"><UIcon name="i-lucide-sparkles" class="size-3" />diff --git a/apps/app/app/pages/admin/sandbox.vue b/apps/app/app/pages/admin/sandbox.vueindex daf619b..2c7eae3 100644--- a/apps/app/app/pages/admin/sandbox.vue+++ b/apps/app/app/pages/admin/sandbox.vue@@ -77,7 +77,7 @@ async function saveSnapshotConfig() {if (status === 409) {const confirmed = await confirmModal.open({title: 'Use existing repository?',- description: 'This repository already exists and is not marked as managed by Savoir. Confirm only if you want Savoir to adopt it.',+ description: 'This repository already exists and is not marked as managed by the app. Confirm only if you want to adopt it.',confirmLabel: 'Adopt repository',cancelLabel: 'Cancel',})@@ -91,7 +91,7 @@ async function saveSnapshotConfig() {])toast.add({title: 'Repository adopted',- description: 'Savoir will now use this existing repository for snapshots.',+ description: 'The app will now use this existing repository for snapshots.',icon: 'i-lucide-check',})return@@ -165,7 +165,7 @@ watch(selectedSuggestion, (value) => {</p><div class="rounded-lg border border-default p-4 space-y-4"><p class="text-xs text-muted">- This repository stores the aggregated docs that snapshots are created from. If it doesn't exist, Savoir creates it automatically.+ This repository stores the aggregated docs that snapshots are created from. If it doesn't exist, the app creates it automatically.</p><div class="grid grid-cols-3 gap-3">@@ -206,7 +206,7 @@ watch(selectedSuggestion, (value) => {</div><p class="text-xs text-muted mb-2">- Choose one from your accessible repositories, or type a new name above and Savoir will create it automatically.+ Choose one from your accessible repositories, or type a new name above and the app will create it automatically.</p><template v-if="repoCatalogStatus === 'pending'">diff --git a/apps/app/app/pages/admin/stats.vue b/apps/app/app/pages/admin/stats.vueindex b627bca..eaabbc1 100644--- a/apps/app/app/pages/admin/stats.vue+++ b/apps/app/app/pages/admin/stats.vue@@ -108,16 +108,6 @@ function getTrendIcon(trend: number | null): string {return 'i-lucide-minus'}-const sourceColorMap: Record<string, string> = {- 'web': 'bg-primary',- 'github-bot': 'bg-emerald-500',- 'discord-bot': 'bg-violet-500',- 'sdk': 'bg-amber-500',-}--function getSourceColor(source: string): string {- return sourceColorMap[source] ?? 'bg-gray-400'-}const chartDataBySource = computed(() => {if (!stats.value?.dailyBySource) return []@@ -191,6 +181,12 @@ function getModelCost(modelId: string): number | null {return entry ? entry.totalCost : null}+const sourceColors = ['#3b82f6', '#f59e0b', '#10b981', '#ef4444', '#8b5cf6', '#ec4899', '#06b6d4', '#f97316']++function getSourceColor(index: number): string {+ return sourceColors[index % sourceColors.length] ?? '#000000'+}+</script><template>@@ -399,12 +395,11 @@ function getModelCost(modelId: string): number | null {:content="{ side: 'top', sideOffset: 6 }"><div class="w-full flex flex-col-reverse relative before:absolute before:inset-x-0 before:bottom-full before:h-40">- <template v-for="src in chartSources" :key="src">+ <template v-for="(src, srcIndex) in chartSources" :key="src"><divv-if="day.sources[src]"class="w-full transition-opacity group-hover:opacity-80 first:rounded-b-sm last:rounded-t-sm"- :class="getSourceColor(src)"- :style="{ height: `${Math.max(1, ((chartMetric === 'tokens' ? day.sources[src].tokens : day.sources[src].messages) / chartMax) * 140)}px` }"+ :style="{ height: `${Math.max(1, ((chartMetric === 'tokens' ? day.sources[src].tokens : day.sources[src].messages) / chartMax) * 140)}px`, backgroundColor: getSourceColor(srcIndex) }"/></template></div>@@ -422,8 +417,8 @@ function getModelCost(modelId: string): number | null {</span></div><div class="flex items-center justify-center gap-4 mt-3 pt-3 border-t border-default text-[10px] text-muted">- <span v-for="src in chartSources" :key="src" class="flex items-center gap-1">- <span class="inline-block size-2 rounded" :class="getSourceColor(src)" />+ <span v-for="(src, srcIndex) in chartSources" :key="src" class="flex items-center gap-1">+ <span class="inline-block size-2 rounded" :style="{ backgroundColor: getSourceColor(srcIndex) }" />{{ src.replace('-', ' ') }}</span></div>@@ -451,7 +446,7 @@ function getModelCost(modelId: string): number | null {:content="{ side: 'top', sideOffset: 4 }"><div- class="w-full bg-primary/60 rounded-t-sm transition-opacity group-hover:bg-primary relative before:absolute before:inset-x-0 before:bottom-full before:h-24"+ class="w-full bg-neutral-400 dark:bg-neutral-600 rounded-t-sm transition-opacity group-hover:bg-neutral-600 dark:group-hover:bg-neutral-400 relative before:absolute before:inset-x-0 before:bottom-full before:h-24":style="{ height: `${Math.max(2, (h.messageCount / peakHoursMax) * 80)}px` }"/></UTooltip>diff --git a/apps/app/app/pages/login.vue b/apps/app/app/pages/login.vueindex 5c4588e..2e04aaa 100644--- a/apps/app/app/pages/login.vue+++ b/apps/app/app/pages/login.vue@@ -33,21 +33,15 @@ const oauthErrors: Record<string, string> = {temporarily_unavailable: 'GitHub is temporarily unavailable. Please try again later.',}-const shaderColors = reactive({ swirlA: '', swirlB: '', circle: '', dots: '', rays: '' })--function primary(shade: number) {- return getComputedStyle(document.documentElement).getPropertyValue(`--color-primary-${shade}`).trim()-}+const shaderColors = reactive({+ swirlA: '#404040',+ swirlB: '#a3a3a3',+ circle: '#e5e5e5',+ dots: '#737373',+ rays: '#a3a3a3',+})onMounted(() => {- Object.assign(shaderColors, {- swirlA: primary(700),- swirlB: primary(500),- circle: primary(100),- dots: primary(300),- rays: primary(500),- })-const queryError = route.query.error as string | undefinedif (queryError) {error.value = oauthErrors[queryError] || `Authentication error: ${queryError}`@@ -101,13 +95,13 @@ function onGitHub() {<div class="w-full max-w-sm"><div class="text-center mb-8"><div class="inline-flex items-center justify-center mb-4">- <UIcon :name="appConfig.app.icon" class="size-10 text-primary" />+ <UIcon :name="appConfig.app.icon" class="size-8 text-highlighted" /></div><h1 class="text-2xl font-semibold text-highlighted">{{ mode === 'signin' ? 'Welcome back' : 'Create your account' }}</h1><p class="mt-1.5 text-sm text-muted">- {{ mode === 'signin' ? `Sign in to your ${appConfig.app.name} account.` : `Get started with ${appConfig.app.name}.` }}+ {{ mode === 'signin' ? 'Sign in to your account.' : 'Create your account to get started.' }}</p></div>@@ -164,20 +158,19 @@ function onGitHub() {blocksize="lg":loading- class="text-white"/></UForm><p class="mt-6 text-center text-sm text-muted"><template v-if="mode === 'signin'">Don't have an account?- <button class="text-primary font-medium hover:underline cursor-pointer" @click="mode = 'signup'">+ <button class="text-highlighted font-medium hover:underline cursor-pointer" @click="mode = 'signup'">Sign up</button></template><template v-else>Already have an account?- <button class="text-primary font-medium hover:underline cursor-pointer" @click="mode = 'signin'">+ <button class="text-highlighted font-medium hover:underline cursor-pointer" @click="mode = 'signin'">Sign in</button></template>@@ -189,7 +182,7 @@ function onGitHub() {</div></div>- <div class="hidden lg:block w-1/2 m-2 rounded-lg border border-muted/50 relative overflow-hidden">+ <div class="hidden lg:block w-1/2 m-2 rounded-lg relative overflow-hidden"><ClientOnly><Shader class="absolute inset-0 size-full"><Glow :intensity="2.69" :size="27.5" :threshold="0.37">diff --git a/apps/app/app/pages/settings/api-keys.vue b/apps/app/app/pages/settings/api-keys.vueindex f757141..64ff698 100644--- a/apps/app/app/pages/settings/api-keys.vue+++ b/apps/app/app/pages/settings/api-keys.vue@@ -80,9 +80,9 @@ function copyKey(key: string) {</header><div class="space-y-6">- <div v-if="revealedKey" class="rounded-lg border border-primary/30 bg-primary/5 p-4">+ <div v-if="revealedKey" class="rounded-lg border border-neutral-300 bg-neutral-50 dark:border-neutral-700 dark:bg-neutral-900 p-4"><div class="flex items-center gap-2 mb-2">- <UIcon name="i-lucide-alert-triangle" class="size-4 text-primary" />+ <UIcon name="i-lucide-alert-triangle" class="size-4 text-highlighted" /><p class="text-sm font-medium text-highlighted">Save your API key now</p>diff --git a/apps/app/app/pages/shared/[token].vue b/apps/app/app/pages/shared/[token].vueindex 69cd60d..8382323 100644--- a/apps/app/app/pages/shared/[token].vue+++ b/apps/app/app/pages/shared/[token].vue@@ -83,7 +83,7 @@ onMounted(() => {<header class="shrink-0 z-20 bg-default border-b border-default"><div class="max-w-5xl mx-auto flex items-center justify-between px-4 h-12"><NuxtLink to="/" class="flex items-center gap-2">- <UIcon :name="appConfig.app.icon" class="size-6 text-primary" />+ <UIcon :name="appConfig.app.icon" class="size-6 text-highlighted" /><span class="text-lg font-bold font-pixel tracking-wide text-highlighted">{{ appConfig.app.name }}</span></NuxtLink>@@ -100,7 +100,7 @@ onMounted(() => {<UButtonlabel="Start your own chat"to="/"- color="primary"+ color="neutral"size="xs"/></div>@@ -168,7 +168,7 @@ onMounted(() => {<div class="shrink-0 border-t border-default px-4 py-3"><p class="text-center text-sm text-muted">Read-only shared chat.- <NuxtLink to="/" class="text-primary hover:underline font-medium">+ <NuxtLink to="/" class="text-highlighted hover:underline font-medium">Start your own conversation</NuxtLink></p>diff --git a/apps/app/nuxt.config.ts b/apps/app/nuxt.config.tsindex 3743596..390cb4d 100644--- a/apps/app/nuxt.config.ts+++ b/apps/app/nuxt.config.ts@@ -26,7 +26,7 @@ export default defineNuxtConfig({evlog: {retention: '7d',env: {- service: 'savoir',+ service: 'knowledge-agent-template',version: '0.1.0',},routes: {@@ -125,6 +125,8 @@ export default defineNuxtConfig({'/api/chats/**': { isr: false, cache: false },// Webhook routes should never be cached'/api/webhooks/**': { isr: false, cache: false },+ // Admin docs: SSR + permanent ISR (static markdown, only changes on redeploy)+ '/admin/docs/**': { ssr: true, isr: { expiration: false } },// Admin pages are behind auth'/admin/**': { auth: { user: { role: 'admin' } as any } },},diff --git a/apps/app/package.json b/apps/app/package.jsonindex 6528918..b9d004e 100644--- a/apps/app/package.json+++ b/apps/app/package.json@@ -2,7 +2,7 @@"name": "@savoir/app","private": true,"license": "MIT",- "description": "Unified Nuxt app for Savoir (chat UI, API, bots)",+ "description": "Unified Nuxt app for Knowledge Agent Template (chat UI, API, bots)","type": "module","scripts": {"build": "nuxt build",diff --git a/apps/app/public/favicon.ico b/apps/app/public/favicon.icoindex 215bc62..7d58d99 100644Binary files a/apps/app/public/favicon.ico and b/apps/app/public/favicon.ico differdiff --git a/apps/app/public/og.jpg b/apps/app/public/og.jpgindex 9ae4a72..33f2f38 100644Binary files a/apps/app/public/og.jpg and b/apps/app/public/og.jpg differdiff --git a/apps/app/server/utils/bot/index.ts b/apps/app/server/utils/bot/index.tsindex 2efc41d..8fa3670 100644--- a/apps/app/server/utils/bot/index.ts+++ b/apps/app/server/utils/bot/index.ts@@ -89,7 +89,7 @@ function createBot(): Chat {throw createError({message: 'GitHub App name not configured',why: 'NUXT_PUBLIC_GITHUB_APP_NAME is not set',- fix: 'Set NUXT_PUBLIC_GITHUB_APP_NAME to the GitHub App name (e.g. savoir-bot)',+ fix: 'Set NUXT_PUBLIC_GITHUB_APP_NAME to the GitHub App name (e.g. your-bot-name)',})}diff --git a/apps/app/server/utils/sandbox/git.ts b/apps/app/server/utils/sandbox/git.tsindex 6a081be..fab6cb2 100644--- a/apps/app/server/utils/sandbox/git.ts+++ b/apps/app/server/utils/sandbox/git.ts@@ -125,7 +125,7 @@ export function generateCommitMessage(results: SyncSourceResult[]): string {export async function pushChanges(sandbox: Sandbox,options: GitPushOptions,- gitConfig: GitConfig = { email: '[email protected]', name: 'Savoir Bot' },+ gitConfig: GitConfig = { email: '[email protected]', name: 'Knowledge Agent Bot' },): Promise<GitPushResult> {try {await configureGit(sandbox, gitConfig)diff --git a/apps/app/server/utils/sandbox/snapshot-repo.ts b/apps/app/server/utils/sandbox/snapshot-repo.tsindex b440a1a..9edfe1d 100644--- a/apps/app/server/utils/sandbox/snapshot-repo.ts+++ b/apps/app/server/utils/sandbox/snapshot-repo.ts@@ -72,7 +72,7 @@ export async function ensureSnapshotRepo(options: {if (!hasMarker && !allowExisting) {throw createError({status: 409,- message: 'Repository already exists and is not managed by Savoir',+ message: 'Repository already exists and is not managed by the app',why: `The repository ${repoPath} exists but has no ${SAVOIR_MARKER_PATH} marker`,fix: 'Confirm adoption explicitly, or choose a new repository name',})diff --git a/assets/banner.jpg b/assets/banner.jpgindex a508212..17b3378 100644Binary files a/assets/banner.jpg and b/assets/banner.jpg differdiff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.mdindex 5b01b38..45f2d9a 100644--- a/docs/ARCHITECTURE.md+++ b/docs/ARCHITECTURE.md@@ -1,12 +1,12 @@-# Savoir Architecture+# Knowledge Agent Template Architecture> Back to [README](../README.md)-This document describes the technical architecture of Savoir, an open-source file-system and knowledge based agent template for building AI agents with up-to-date knowledge access.+This document describes the technical architecture of Knowledge Agent Template, an open-source file-system and knowledge based agent template for building AI agents with up-to-date knowledge access.## System Overview-Savoir consists of two main components:+Knowledge Agent Template consists of two main components:1. **Main App** (`apps/app`): A unified [Nuxt](https://nuxt.com) application that provides the chat interface, API, bot integrations, sandbox management, and content synchronization2. **SDK** (`packages/sdk`): A client library providing [AI SDK](https://ai-sdk.dev)-compatible tools (`bash`, `bash_batch`)@@ -65,7 +65,7 @@ Savoir consists of two main components:## Project Structure```-savoir/+knowledge-agent-template/├── apps/│ └── app/ # Unified Nuxt application│ ├── app/ # Vue app (components, pages, composables)@@ -142,7 +142,7 @@ export const sources = sqliteTable('sources', {### 2. SDK (`@savoir/sdk`)-The SDK provides [AI SDK](https://ai-sdk.dev)-compatible tools that communicate with the Savoir API via `POST /api/sandbox/shell`.+The SDK provides [AI SDK](https://ai-sdk.dev)-compatible tools that communicate with the API via `POST /api/sandbox/shell`.#### API Design@@ -205,7 +205,7 @@ Blocked: `rm`, `curl`, `wget`, `git`, `ssh`, `sudo`, command substitution, redir### 4. AI Agent (Router + Model Selection)-Savoir uses a complexity-based router to select the appropriate model and step count for each question.+Knowledge Agent Template uses a complexity-based router to select the appropriate model and step count for each question.#### Router Flowdiff --git a/docs/CUSTOMIZATION.md b/docs/CUSTOMIZATION.mdindex c188ec4..4b32500 100644--- a/docs/CUSTOMIZATION.md+++ b/docs/CUSTOMIZATION.md@@ -2,18 +2,18 @@> Back to [README](../README.md) | See also: [Sources](./SOURCES.md), [Environment](./ENVIRONMENT.md), [Architecture](./ARCHITECTURE.md)-Savoir is designed as a reusable template. This guide covers how to customize your instance.+Knowledge Agent Template is designed as a reusable template. This guide covers how to customize your instance.## AI-Assisted Customization (Agent Skills)-Savoir includes **local project skills** in `.agents/skills/` that guide an AI agent (e.g. Cursor, Claude Code) through common customization tasks. Instead of manually following each step, you can delegate the migration to an agent by referencing these skills.+Knowledge Agent Template includes **local project skills** in `.agents/skills/` that guide an AI agent (e.g. Cursor, Claude Code) through common customization tasks. Instead of manually following each step, you can delegate the migration to an agent by referencing these skills.| Skill | File | Purpose ||-------|------|---------|| **Add Tool** | `add-tool.md` | Add a new AI SDK tool to the agent (generator pattern, status yields) || **Add Source** | `add-source.md` | Add a knowledge source (GitHub, YouTube) via admin UI or API || **Add Bot Adapter** | `add-bot-adapter.md` | Add a new platform adapter (Slack, Linear, etc.) to the bot system |-| **Rename Project** | `rename-project.md` | Fully rename the project from "Savoir" to a custom name |+| **Rename Project** | `rename-project.md` | Fully rename the project from "Knowledge Agent Template" to a custom name |**How to use:** When customizing the project, ask your AI assistant to follow the relevant skill. For example: *"Follow the add-bot-adapter skill to add a Slack adapter"* or *"Use the rename-project skill to rename this to MyDocs"*.@@ -114,7 +114,7 @@ See `packages/agent/src/tools/web-search.ts` for a complete real-world example.## 4. Add a Bot Adapter-Bot adapters connect Savoir to messaging platforms. The project includes GitHub and Discord adapters. To add a new one (e.g. Slack, Linear):+Bot adapters connect the app to messaging platforms. The project includes GitHub and Discord adapters. To add a new one (e.g. Slack, Linear):1. Look at `apps/app/server/utils/bot/` for the existing adapter pattern2. The GitHub adapter (`SavoirGitHubAdapter`) is a good reference for custom adaptersdiff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.mdindex 8a58866..4c23de7 100644--- a/docs/ENVIRONMENT.md+++ b/docs/ENVIRONMENT.md@@ -2,13 +2,13 @@> Back to [README](../README.md) | See also: [Architecture](./ARCHITECTURE.md), [Customization](./CUSTOMIZATION.md)-All environment variables for the Savoir project, organized by category.+All environment variables for the Knowledge Agent Template project, organized by category.## Core| Variable | Required | Description ||----------|----------|-------------|-| `NUXT_PUBLIC_SITE_URL` | Yes | Public URL of your Savoir instance |+| `NUXT_PUBLIC_SITE_URL` | Yes | Public URL of your instance || `NUXT_ADMIN_USERS` | Yes | Comma-separated list of admin emails or GitHub usernames |## Authentication@@ -30,7 +30,7 @@ All environment variables for the Savoir project, organized by category.| Variable | Required | Description ||----------|----------|-------------|-| `NUXT_GITHUB_TOKEN` | No | Optional fallback override token for snapshot git operations. If omitted, Savoir uses GitHub App installation tokens by default. |+| `NUXT_GITHUB_TOKEN` | No | Optional fallback override token for snapshot git operations. If omitted, the app uses GitHub App installation tokens by default. || `NUXT_GITHUB_SNAPSHOT_REPO` | No | Default snapshot repository in `owner/repo` format. Can be configured later from the admin sandbox UI. || `NUXT_GITHUB_SNAPSHOT_BRANCH` | No | Snapshot branch (default: `main`) |@@ -95,7 +95,7 @@ When using the SDK from an external application:| Variable | Required | Description ||----------|----------|-------------|-| `SAVOIR_API_URL` | Yes | Base URL of your Savoir API |+| `SAVOIR_API_URL` | Yes | Base URL of your API || `SAVOIR_API_KEY` | No | API key for authentication (Better Auth API key) |## Databasediff --git a/docs/SOURCES.md b/docs/SOURCES.mdindex 672fcb5..b4a9461 100644--- a/docs/SOURCES.md+++ b/docs/SOURCES.md@@ -2,7 +2,7 @@> Back to [README](../README.md) | See also: [Customization](./CUSTOMIZATION.md), [Architecture](./ARCHITECTURE.md)-Savoir aggregates content from multiple sources into a unified, searchable knowledge base. A source is anything that produces files — GitHub repos, YouTube transcripts, and any custom source you build. Everything ends up as files in a sandbox, and the AI agent searches across all of them.+Knowledge Agent Template aggregates content from multiple sources into a unified, searchable knowledge base. A source is anything that produces files — GitHub repos, YouTube transcripts, and any custom source you build. Everything ends up as files in a sandbox, and the AI agent searches across all of them.The system is designed to be extensible. Built-in source types handle GitHub and YouTube, but the architecture supports any source that can output files: Reddit threads, Slack exports, RSS feeds, custom APIs, static markdown — anything.diff --git a/package.json b/package.jsonindex abad42e..444f979 100644--- a/package.json+++ b/package.json@@ -7,10 +7,10 @@"author": "HugoRCD","repository": {"type": "git",- "url": "git+https://github.com/vercel-labs/savoir.git"+ "url": "git+https://github.com/vercel-labs/knowledge-agent-template.git"},"bugs": {- "url": "https://github.com/vercel-labs/savoir/issues"+ "url": "https://github.com/vercel-labs/knowledge-agent-template/issues"},"workspaces": ["apps/*",diff --git a/packages/agent/README.md b/packages/agent/README.mdindex 0f32e8f..af9e401 100644--- a/packages/agent/README.md+++ b/packages/agent/README.md@@ -1,12 +1,12 @@# @savoir/agent-Framework-agnostic agent core for Savoir. Handles question routing, prompt management, agent creation, and AI tool definitions.+Framework-agnostic agent core for Knowledge Agent Template. Handles question routing, prompt management, agent creation, and AI tool definitions.> See also: [Main README](../../README.md), [Architecture](../../docs/ARCHITECTURE.md), [Customization](../../docs/CUSTOMIZATION.md)## Overview-This package provides the AI agent infrastructure used by Savoir's chat interface and bots. It is designed to be consumed by `apps/app` but can also be used independently.+This package provides the AI agent infrastructure used by the chat interface and bots. It is designed to be consumed by `apps/app` but can also be used independently.## Componentsdiff --git a/packages/agent/package.json b/packages/agent/package.jsonindex 81cad47..562f3bb 100644--- a/packages/agent/package.json+++ b/packages/agent/package.json@@ -2,16 +2,16 @@"name": "@savoir/agent","version": "0.1.0","license": "MIT",- "description": "Framework-agnostic agent core for Savoir",+ "description": "Framework-agnostic agent core for Knowledge Agent Template","repository": {"type": "git",- "url": "git+https://github.com/vercel-labs/savoir.git",+ "url": "git+https://github.com/vercel-labs/knowledge-agent-template.git","directory": "packages/agent"},"bugs": {- "url": "https://github.com/vercel-labs/savoir/issues"+ "url": "https://github.com/vercel-labs/knowledge-agent-template/issues"},- "homepage": "https://github.com/vercel-labs/savoir/tree/main/packages/agent#readme",+ "homepage": "https://github.com/vercel-labs/knowledge-agent-template/tree/main/packages/agent#readme","type": "module","exports": {".": {diff --git a/packages/agent/src/prompts/chat.ts b/packages/agent/src/prompts/chat.tsindex b40b3e4..fc3cd7c 100644--- a/packages/agent/src/prompts/chat.ts+++ b/packages/agent/src/prompts/chat.ts@@ -1,7 +1,7 @@import type { AgentConfigData } from '../types'import { applyAgentConfig, applyTemporalContext } from './shared'-export function buildAdminSystemPrompt(appName = 'Savoir'): string {+export function buildAdminSystemPrompt(appName = 'Knowledge Agent Template'): string {return `You are an admin assistant for the ${appName} application. You help administrators understand app usage, monitor performance, manage users, and debug issues.## Available Toolsdiff --git a/packages/sdk/README.md b/packages/sdk/README.mdindex 88c0053..16b1f1b 100644--- a/packages/sdk/README.md+++ b/packages/sdk/README.md@@ -1,6 +1,6 @@# @savoir/sdk-SDK for [Savoir](https://github.com/vercel-labs/savoir) — AI agents with up-to-date knowledge base access.+SDK for [Knowledge Agent Template](https://github.com/vercel-labs/knowledge-agent-template) — AI agents with up-to-date knowledge base access.Provides [AI SDK](https://ai-sdk.dev) compatible tools to query content in a sandboxed environment.@@ -22,7 +22,7 @@ Set the following environment variables:| Variable | Required | Description ||----------|----------|-------------|-| `SAVOIR_API_URL` | Yes | Base URL of your Savoir API |+| `SAVOIR_API_URL` | Yes | Base URL of your API || `SAVOIR_API_KEY` | No | API key for authentication ([Better Auth](https://www.better-auth.com) API key). |## Quick Start@@ -50,7 +50,7 @@ console.log(text)### `createSavoir(config)`-Creates a Savoir instance with API client and AI SDK tools.+Creates an instance with API client and AI SDK tools.```tsimport { createSavoir } from '@savoir/sdk'@@ -70,7 +70,7 @@ const savoir = createSavoir({| Option | Type | Required | Description ||--------|------|----------|-------------|-| `apiUrl` | `string` | Yes | Base URL of your Savoir API |+| `apiUrl` | `string` | Yes | Base URL of your API || `apiKey` | `string` | No | API key for authentication || `sessionId` | `string` | No | Reuse an existing sandbox session || `source` | `string` | No | Usage source identifier (e.g. `'github-bot'`). Defaults to `'sdk'`. |diff --git a/packages/sdk/package.json b/packages/sdk/package.jsonindex c974953..d4e4611 100644--- a/packages/sdk/package.json+++ b/packages/sdk/package.json@@ -6,12 +6,12 @@"author": "Hugo Richard","repository": {"type": "git",- "url": "git+https://github.com/vercel-labs/savoir.git",+ "url": "git+https://github.com/vercel-labs/knowledge-agent-template.git","directory": "packages/sdk"},- "homepage": "https://github.com/vercel-labs/savoir/tree/main/packages/sdk#readme",+ "homepage": "https://github.com/vercel-labs/knowledge-agent-template/tree/main/packages/sdk#readme","bugs": {- "url": "https://github.com/vercel-labs/savoir/issues"+ "url": "https://github.com/vercel-labs/knowledge-agent-template/issues"},"keywords": ["savoir",