agentleFS
BlockKnown publisherblock/frfr/CLAUDE.md

frfr

CLAUDE.md20 starsChanged 13 months agoApache-2.0View on GitHub

High-confidence document Q&A using LLM fact extraction with source verification. See TODO.md for active tasks and roadmap.

The file

Files
CLAUDE.md

frfr

High-confidence document Q&A using LLM fact extraction with source verification.

Stack

  • Backend: Go (REST API + SSE)
  • Frontend: React + TypeScript + Vite
  • Desktop: Electron (macOS)
  • PDF extraction: go-pdfium (WebAssembly, no Python)
  • LLM: Claude API

Quick Start

./run.sh              # Start backend + frontend (web)
open http://localhost:3000

# Or build desktop app
./scripts/build-electron.sh --arch arm64
open electron/release/mac-arm64/frfr.app

Structure

backend/
  cmd/server/         # Entrypoint
  internal/
    api/handlers/     # REST endpoints
    services/
      pdf/            # PDF text extraction (pdfium)
      extraction/     # Fact extraction
      query/          # Query processing
      claude/         # Claude API client
frontend/
  src/components/     # React components
electron/
  main/               # Main process (backend lifecycle, IPC)
  preload/            # Secure IPC bridge
scripts/
  dev-electron.sh     # Electron dev mode
  build-electron.sh   # Electron production build
docs/                 # Design docs

Key Files

  • backend/internal/services/pdf/extractor.go - PDF text extraction
  • backend/internal/api/handlers/processing.go - Document processing endpoints
  • backend/internal/services/query/query.go - Query with citations
  • frontend/src/components/query/QueryInterface.tsx - Query UI

Current Work

See TODO.md for active tasks and roadmap.

Docs

  • docs/DESIGN.md - Architecture and design
  • docs/QUICKSTART.md - Getting started guide
  • docs/DOCS_INDEX.md - All documentation

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.