Turning generic chat logs into a verified Source of Truth.
Knowledge-Weaver is a "Human-in-the-Loop" system that captures valuable information from team chats, verifies it, and makes it instantly searchable. It bridges the gap between ephemeral conversations and permanent organizational knowledge.
The system uses a "Frankenstein" architecture, stitching together powerful components to create a seamless workflow:
graph TD
subgraph "Frontend Layer"
CE[Chrome Extension] -->|Capture & Search| API
DB[HTML/JS Dashboard] -->|Manage & Verify| API
end
subgraph "Backend Layer"
API[FastAPI Backend] -->|Process Requests| S[Services]
S -->|Vector Search| VDB[ChromaDB]
S -->|AI Analysis| LLM[Gemini 2.5 Flash]
end
subgraph "Data Layer"
VDB <-->|Store Embeddings| DISK[Persist Directory]
LLM -->|Context & Few-Shot| VDB
end
style CE fill:#f9f,stroke:#333,stroke-width:2px
style DB fill:#bbf,stroke:#333,stroke-width:2px
style API fill:#dfd,stroke:#333,stroke-width:2px
style VDB fill:#fdd,stroke:#333,stroke-width:2px
The system is styled with a Custom Dark Theme (Spider Theme) to ensure a premium, consistent look across all components.
The "Spider" represents the verification layer. It ensures that only high-quality, human-reviewed information enters the permanent knowledge base.
- Source of Truth: Content marked as
verified_humanis treated as gold standard. - Active Learning: The AI learns from these verified examples to improve future suggestions.
The "Weaver" is the capture mechanism (Chrome Extension & Auto-Ingestion).
- Draft Mode: Captured content starts as
draftorverified_ai. - Low Friction: Designed to be as effortless as possible to encourage high-volume capture.
Knowledge-Weaver was built using a "Robot-First" philosophy. We treat AI Agents not just as coding assistants, but as First-Class Users of the application.
Following modern AI engineering principles, we shifted our focus from manual data entry to Agent Evaluation. We use autonomous agents to run "Golden Path" regression tests on every commit, ensuring the system is operationally reliable.
By equipping our Dashboard with stable data-testid selectors, we enable AI agents (like the Antigravity Browser Subagent) to:
- Navigate the UI with 100% reliability.
- Identify Barriers: If an element is blocked, the agent logs the barrier.
- Self-Heal: The agent has the authority to fix broken selectors in the code to unblock itself.
We discovered that building for robots enforces strict semantic HTML and clear navigation paths. This "AI-Native" approach naturally results in a highly accessible application for human users relying on assistive technologies (Screen Readers), achieving a higher standard of Universal Design.
AI suggests, Humans decide.
- Capture: AI suggests categories/tags.
- Review: Users verify/edit suggestions.
- Search: Verified content is boosted.
The system gets smarter as you use it.
- Feedback Loop: When you edit a tag or category, the system records this as a "correction".
- Context Injection: Future analysis requests include these corrections as few-shot examples.
- Result: The AI mimics your team's specific style.
Identify and fill knowledge gaps.
- Tracking: Queries with zero results are tracked.
- Resolution: Experts can answer these gaps directly from the dashboard.
- Safety: Deleted items are soft-deleted (hidden, not destroyed).
- Recovery: Restore items via the Recycle Bin tab.
- Full Control: Edit summaries and content with a rich text interface.
- Seamless Updates: Changes are immediately reflected in the knowledge base.
- Context Preservation: Captures screenshots of the source material (e.g., chat threads).
- Trust: Verify the origin of information with a visual reference.
- Accessibility: Validated by automated agents for DOM accessibility.
- Timezone Aware: Learning logs respect user's local timezone (UTC conversion).
- Auto-Redaction: Built-in HIPAA-compliant PII scrubbing.
- Python 3.13+
- Chrome Browser
- Clone the repository
- Install dependencies:
pip install -r requirements.txt - Set up environment variables (API Keys)
- Backend:
uvicorn backend_api.main:app --reload - Dashboard: Open
app_dashboard/index.html(Served via Python HTTP or FastAPI Static). - Extension: Load
app_extensionas an unpacked extension in Chrome.