-
Notifications
You must be signed in to change notification settings - Fork 0
README
Complete documentation for Fold, a holographic memory system for development teams and AI agents.
Start here: Overview-Concepts — Understand what Fold is and why it matters
-
Overview-Concepts (45 min read)
- What is Fold?
- Why "holographic"?
- AI benefits (huge focus)
- How it works
- Key features
- Architecture overview
- Memory types
- Fold vs. traditional approaches
-
Getting-Started (15 min)
- Install with Docker (recommended)
- Install for local development
- First steps: connect a repo
- Connect Claude Code
- Troubleshooting setup issues
-
Configuration (30 min)
- Environment variables (all required & optional)
- LLM provider setup (Gemini, OpenRouter, OpenAI)
- Auth providers (Google, GitHub, corporate OIDC)
- Git integration (GitHub/GitLab webhooks)
- Database & storage setup
- Embedding models
- Advanced configuration
- Provider-specific setup guides
-
Deployment-Operations (45 min)
- Production architecture
- Docker Compose (production-grade)
- Nginx reverse proxy
- Database management (PostgreSQL migration)
- Qdrant scaling
- Monitoring & observability (Prometheus, Grafana)
- Performance tuning
- Backup & disaster recovery
- Security hardening
- Scaling strategies
- Operational checklists
-
Core-Concepts (40 min)
- What is a memory?
- Memory types deep dive
- How embeddings & vectors work
- The knowledge graph
- Link types and relationships
- How semantic search works
- File attachments
- Content hashing
- AI-suggested links
-
API-Reference (30 min reference)
- REST API for all endpoints
- Authentication endpoints
- Project management
- Memory CRUD operations
- Search & context queries
- Knowledge graph traversal
- Repositories & webhooks
- File attachments
- AI sessions
- Health & monitoring
- Complete curl examples
-
MCP-Tools-Reference (25 min)
- What is MCP and why it matters
- Setup instructions (Claude Code, Cursor, Windsurf)
- 30+ MCP tools reference
- Tool descriptions & examples
- Common workflows
- Tool integration patterns
- Best practices
- Error handling
- Debugging tips
-
Advanced-Topics (20 min)
- Metadata repository sync (bidirectional)
- Knowledge graph traversal deep dive
- AI-suggested links
- Batch operations
- Workspace mapping for AI agents
- Custom embedding models
- Custom LLM models
- Database sharding (large scale)
- Webhook reliability
- Multi-tenant setup
- Custom authentication
-
Troubleshooting-FAQ (reference)
- Installation issues
- Authentication problems
- Git integration issues
- Search problems
- AI & Claude integration troubleshooting
- Performance optimization
- Webhook issues
- LLM & embedding errors
- FAQ (common questions)
- Getting help & bug reports
- Read: Getting-Started → Option 1 (Docker)
- Follow the steps → You're running in 5 minutes
- Read: Overview-Concepts to understand what you have
- Get running: Getting-Started
- Connect a repo
- Read: MCP-Tools-Reference
- Use Fold from Claude Code
- Read: Overview-Concepts — understand the benefits
- Setup: Getting-Started + Configuration
- Deploy: Deployment-Operations
- Integrate: MCP-Tools-Reference for your team's AI agents
- Review: Deployment-Operations
- Reference: Configuration for all settings
- Monitor: Refer to Deployment section on observability
- Troubleshoot: Troubleshooting-FAQ
- Scale: Advanced-Topics for sharding/clustering
- Understand: Core-Concepts
- Reference: API-Reference
- Integrate: MCP-Tools-Reference if building AI features
- Advanced: Advanced-Topics for complex queries
- Overview-Concepts — Understand the value
- Getting-Started — See it working
- MCP-Tools-Reference — Understand AI integration
- Overview-Concepts — Full picture
- Core-Concepts — Deep understanding
- API-Reference — Implementation details
- Advanced-Topics — Complex features
- Getting-Started — Quick setup
- Configuration — All settings
- Deployment-Operations — Production guide
- Troubleshooting-FAQ — Common issues
- Overview-Concepts — AI benefits section
- Core-Concepts — How embeddings work
- MCP-Tools-Reference — Integration patterns
- Advanced-Topics — Custom models
- Getting-Started — Get it running
- Core-Concepts — Understand the system
- API-Reference — Use the API
- MCP-Tools-Reference — Use with Claude Code
- Troubleshooting-FAQ — Fix issues
→ MCP-Tools-Reference → Setup Instructions
→ Getting-Started → First Steps
→ Configuration → Auth Providers
→ Core-Concepts → Search & Retrieval
→ Core-Concepts → Memory Types
→ Advanced-Topics → Multi-Tenant Setup
→ Deployment-Operations → Scaling
First time with Fold (30 min):
- Overview-Concepts — 15 min
- Getting-Started — 15 min
Getting productive (2 hours):
- Overview-Concepts
- Getting-Started
- Configuration (skim)
- MCP-Tools-Reference (if using with Claude)
Deep dive (4+ hours):
- Overview-Concepts
- Core-Concepts
- API-Reference
- MCP-Tools-Reference
- Configuration
- Deployment-Operations
Ops setup (3 hours):
- Holographic Memory: Any fragment can reconstruct full context
- Memories: Building blocks of knowledge (code, decisions, sessions, specs)
- Knowledge Graph: Memories are linked by type (modifies, implements, causes, etc.)
- Semantic Search: Find meaning, not keywords
- Embeddings: Vector representations of text for similarity matching
- Memory Decay: ACT-R inspired model where memory strength decays over time but is boosted by retrieval frequency - recent and frequently-accessed memories surface higher in search results
- MCP: Protocol for AI agents to access Fold
- Git Integration: Auto-index repos, webhooks keep memories in sync
- GitHub: https://github.com/Generation-One/fold
- Web UI: https://github.com/Generation-One/fold-ui
- MCP Protocol: https://modelcontextprotocol.io/
- Qdrant: https://qdrant.tech/
- Claude Code: https://claude.com/claude-code
These docs are maintained alongside the codebase. If you find:
- Inaccuracies: Please open an issue
- Missing information: Please suggest additions
- Confusing explanations: Please let us know
- Examples that don't work: Please report them
GitHub Issues: https://github.com/Generation-One/fold/issues