Documentation for the AI-Native executive coaching platform
The knowledge base integration allows advisors to query organization-specific documents, making them contextually aware of the business they’re advising. The system uses a provider pattern to support multiple backends and is scoped per-project with a “common” knowledge pool shared across projects.
interface KnowledgeProvider {
search(query, options?): Promise<SearchResult[]>
ingest(doc, collection?): Promise<{ id: string }>
listCollections(): Promise<Collection[]>
isAvailable(): Promise<boolean>
}
When a Busibox deployment target is configured and deployed, the platform automatically uses Busibox for knowledge operations:
Busibox provides:
When no Busibox instance is configured, a local SQLite FTS5 index provides basic full-text search:
coach-router.db databaseKnowledge is scoped by project and user:
This means advisors working on a fintech project see fintech-relevant documents, while advisors on a healthtech project see healthtech-relevant ones. Common knowledge (company policies, founder preferences, etc.) is always available.
The knowledge provider is automatically selected:
status=deployed exists and has valid credentials, use BusiboxKnowledgeProviderStandaloneKnowledgeProviderReset with resetKnowledgeProvider() when target configuration changes.
| Endpoint | Method | Description |
|---|---|---|
/api/knowledge?action=status |
GET | Provider type and availability |
/api/knowledge?action=collections |
GET | List knowledge collections (project-scoped) |
/api/knowledge |
POST {action: "search", query} |
Search documents |
/api/knowledge |
POST {action: "ingest", content, title} |
Add a document |
The adapter pattern extends beyond knowledge:
User profile facts (global per-user, not per-project):
StandaloneProfileProvider – SQLite-backedBusiboxProfileProvider – Busibox Data APIAgent activity logging (tool use, delegations, token usage):
StandaloneActivityProvider – SQLite-backedBusiboxActivityProvider – Busibox Data APIWhen a knowledge provider is configured, advisors can have their system prompt augmented with context about available organizational knowledge.