For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
43
Sponsor

Company Knowledge

Indexes internal documents into a vector store and answers questions over them, with PII redaction.

Live preview

Eve

Output will stream here when you run the agent.

Summary

The Company Knowledge Agent answers questions over your internal documents — issues, wiki pages, notes. It indexes them into a vector store, searches the corpus first, and redacts personal data (emails, phone numbers, SSNs, card numbers, API keys) from responses. Reach for it to build an internal "ask the company" assistant.

Install

$ pnpm dlx shadcn@latest add https://agentcn.vercel.app/r/eve/company-knowledge.json

Composition

agent/
├── agent.ts                 # Agent definition (model + config)
├── instructions.md          # Corpus-first, PII-safe instructions
├── lib/
│   ├── pii.ts               # PII redaction helper
│   └── vector-store.ts      # libSQL vector store + embeddings
└── tools/
    ├── index_document.ts    # Add a document to the corpus
    └── search_knowledge.ts  # Search the corpus (redacted)

Customization

  • Connect sources. Feed index_document from Linear, Notion, or your wiki — on a schedule for fresh data.
  • Swap the vector store. Replace lib/vector-store.ts with pgvector/Neon, Pinecone, or Qdrant.
  • Tune redaction. Edit the patterns in lib/pii.ts for your data.
  • Swap the model. Edit agent/agent.ts.