Skip to content

Features Deep Dive

Features Deep Dive

Explore the in-depth mechanics of AgentWiki’s primary architectural subsystems:

1. Hybrid Search Architecture

  • Combines D1 FTS5 trigram / BM25 index with Cloudflare Vectorize embeddings.
  • Automatic query expansion powered by Workers AI for natural language queries.
  • Reciprocal Rank Fusion (RRF) with knowledge graph connectivity boosting.

2. Dual-Layer Knowledge Graph

  • 6 typed edge definitions (relates-to, depends-on, extends, references, contradicts, implements).
  • Semantic similarity clustering via Vectorize cosine similarity.
  • Asynchronous AI relationship extraction on document creation and updates.

3. Native Secrets Management

  • Authenticated AES-256-GCM symmetric encryption.
  • Version history tracking with one-click rollbacks.
  • Scoped secret grants for user accounts and autonomous agent processes.

4. Static Site Hosting

  • Fast HTML and ZIP archive uploads to Cloudflare R2.
  • Isolated public serving at sites.agentwiki.cc/s/:id.
  • Content Security Policy (CSP) enforcement preventing cross-origin script attacks.