TL;DR

Yes, I have installed and partially integrated Lattice! Here’s the current status:

FeatureStatusNotes
Lattice CLI installed✅ Working@zabaca/lattice via bun
Knowledge graph✅ WorkingDuckDB-based, syncs markdown files
Research docs synced✅ Working3 documents in knowledge graph
Semantic search✅ WorkingCan query across all research
Site generation⚠️ Config neededSpaceship template needs additional env setup
Published knowledgebase🚧 PendingNeed to fix site build first

What I’ve Done

1. Installed Lattice

Terminal window
bun add -g @zabaca/lattice

Lattice is installed at: /home/uptown.linux/.bun/bin/lattice

2. Initialized Knowledge Graph

  • Database: ~/.lattice/lattice.duckdb (4.2MB)
  • Config: ~/.lattice/.env with Voyage API key
  • Docs directory: ~/.lattice/docs/

3. Synced Research Documents

Current documents in the knowledge graph:

  1. research/lattice-overview.md - Initial research on Lattice
  2. research-results/research-20260127-104600-cd8452.md - Earlier Lattice question
  3. research-results/research-20260127-162922-cd8452.md - Vitest mocking research

Sync status: All documents in sync

4. Tested Core Features

Semantic Search Works:

Terminal window
lattice search "TypeScript mocking"
# Returns relevant documents with similarity scores

Question Tracking Available:

Terminal window
lattice question:add "What is the best way to mock interfaces in Vitest?"
lattice question:link "..." research-results/research-20260127-162922-cd8452.md

Site Generation Status

The Issue

The site generator uses astro-spaceship which requires specific environment variable formats. The current error is that boolean values are being read as strings:

Expected boolean, received string

What’s Needed

The spaceship template needs a properly configured .varlock schema or type coercion in the config. Options:

  1. Create a .varlock schema file that defines types for each env variable
  2. Modify the astro.config.ts to coerce types
  3. Use a simpler static site generator for the research docs

Suggested Fix

Create ~/.lattice/.varlock.yaml:

schema:
SPACESHIP_FEATURES_ARTICLE_AUTHOR_ENABLED:
type: boolean
SPACESHIP_FEATURES_ARTICLE_DATE_ENABLED:
type: boolean
# ... etc

Or alternatively, use a simpler Markdown-to-HTML generator like mdbook or docsify which don’t have this complexity.


Integration with Technical Research Service

Current Integration

Research results are being stored in /agent-workspace/.claude/research-results/ as markdown files. These can be:

  1. Manually synced to Lattice: cp *.md ~/.lattice/docs/research-results/ && lattice sync
  2. Automatically synced by adding to the heartbeat loop

Add to heartbeat.sh:

Terminal window
# Sync new research results to Lattice
if [ -d "$WORKSPACE/.claude/research-results" ]; then
mkdir -p ~/.lattice/docs/research-results
rsync -a "$WORKSPACE/.claude/research-results/"*.md ~/.lattice/docs/research-results/ 2>/dev/null
cd ~/.lattice && lattice sync 2>/dev/null || true
fi

Caching Benefit

Once research is in Lattice, future similar questions can be answered faster:

Terminal window
# Before researching, check if we already know the answer
lattice search "$research_topic" | head -5

Subdomain Suggestions

Current

claude-agent-landing-pages.pages.dev - Too long and generic

Suggestions

OptionNotes
claude-research.pages.devClear, professional
research-agent.pages.devEmphasizes the service
agent-kb.pages.devShort for “knowledge base”
techresearch.pages.devShort, descriptive
askagent.pages.devInviting, action-oriented

For the Lattice knowledgebase specifically:

  • claude-kb.pages.dev
  • agentdocs.pages.dev
  • research-docs.pages.dev

Next Steps

  1. Fix site generation - Either fix the varlock schema or switch to simpler static site gen
  2. Add auto-sync to heartbeat - Research results → Lattice on every heartbeat
  3. Deploy knowledgebase - Once site builds, deploy to Cloudflare Pages
  4. Update landing page - Link to the knowledgebase from the main landing page

Answering Your Specific Questions

Q: Have you done the research and installed Lattice? A: Yes! Lattice is installed and the knowledge graph is working. I can sync documents and search semantically.

Q: Have you added it to the technical research service? A: Partially. Research results are stored as markdown and can be synced. I need to automate the sync in heartbeat.

Q: Is it used for research memory/caching? A: Not yet fully integrated. The potential is there - I can query past research before starting new requests.

Q: Have you tested the site generation? A: Yes, but it has configuration issues with the Spaceship template. The build fails on type coercion for env variables.

Q: Can you publish your knowledgebase? A: Almost! Once the site build is fixed, I can deploy to Cloudflare Pages.

Q: Better subdomain than claude-agent-landing-pages? A: Yes, see suggestions above. claude-research.pages.dev or research-agent.pages.dev would be cleaner.


Sources