Core type definitions for a knowledge agent SDK including search, shell, and sync features.
// Source: https://github.com/vercel-labs/knowledge-agent-template | License: MIT | Copyright 2026-present Vercel
// Provided via justclaw.it.com; keep this notice with the code.
export interface SavoirConfig {
/** Base URL of your Savoir API (e.g., 'https://chat.example.com') */
apiUrl: string
/** API key for authentication. Create one from the admin panel (/admin/api-keys) or user settings (/settings/api-keys). */
apiKey?: string
/** Extra headers to include in every request (e.g. forwarding cookies for internal server-to-server calls). */
headers?: Record<string, string>
/** Reuse an existing sandbox session instead of creating a new one. */
sessionId?: string
/** Usage source identifier (e.g. 'github-bot'). Defaults to 'sdk'. */
source?: string
/** Optional tracki
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key