Skip to content
playlikeboyPublic

About

The intelligent AI companion and journaling application that actively understands your life.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

648 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Debo — Private AI Memory & Context Operating System

Phase Architecture Status Implementation Status License: MIT

"Capture anything. Ask your past. Trust every answer."


1. What is Debo?

Debo is an open-source, private personal memory and context operating system. It ingests voice memos, daily journals, research documents, PDFs, calendar events, communications, and connected tools into a structured, temporal memory graph.

Whenever you query Debo, it retrieves relevant facts, synthesizes answers through a deterministic agent graph, and provides source-grounded citations that resolve to provenance metadata for the original source data.

Debo also serves as an external context layer for external AI agents (Claude Desktop, Cursor, local LLMs) via the standardized Model Context Protocol (MCP).


2. Why Debo Exists

Most current AI assistants suffer from three fundamental architectural flaws:

  1. Context amnesia: Every conversation resets to zero, or relies on noisy, ungrounded chat history buffers.
  2. Hallucination without verification: Models make plausible factual assertions without citing exact sentences or timestamps from your actual life and documents.
  3. Vendor lock-in & privacy loss: Your private thoughts, financial records, and correspondence are siloed in proprietary closed-cloud platforms.

Debo solves these challenges by combining:

  • Immutable raw storage (Cloudflare R2)
  • High-fidelity document understanding (Docling OCR & layout parsing)
  • Temporal & semantic memory graphs (Supermemory / Provider Abstraction)
  • Auditable agent reasoning (LangGraph JS)
  • Universal agent accessibility (Model Context Protocol)

3. Architecture Topology

                                  DEBO

                           ┌───────────────┐
                           │    Web App    │
                           │ Next.js 15 UI │
                           └───────┬───────┘
                                   │
                             AG-UI Protocol
                                   │
                                   ↓
                         LangGraph Agent Runtime
                                   │
                      ┌────────────┼─────────────┐
                      ↓            ↓             ↓
                 Supermemory    Composio      Debo Tools
                    Memory       Actions     (Permissions,
                      │            │          Citations)
                      │            └── External APIs
                      ↓
               Debo Source-of-Truth
             ┌─────────────────────┐
             │ Neon DB (Metadata)  │
             │ Cloudflare R2 (Raw) │
             └─────────────────────┘

                          Trigger.dev
                       Durable Workflows
                               │
                        ┌──────┴──────┐
                        ↓             ↓
                     TS Worker    Python Worker
                                      │
                                   Docling

                       External AI Clients
                               │
                               ↓
                        Debo MCP Server
                        (mcp.debo.life)
                               │
                      ┌────────┼─────────┐
                      ↓        ↓         ↓
                    Tools   Resources  Prompts
                               │
                            MCP Apps

4. Planned Monorepo Structure

Debo uses Bun Workspaces and Turborepo with minimal network services:

debo/
├── apps/
│   ├── web/               # Next.js product dashboard & user interface
│   ├── mcp/               # Standalone MCP server (mcp.debo.life)
│   ├── worker/            # TypeScript background job & ingestion processor
│   ├── document-worker/   # Python worker for Docling PDF/OCR processing
│   └── docs/              # Public developer documentation (docs.debo.life)
│
├── packages/
│   ├── agent/             # LangGraph state graphs, nodes, and tool routing
│   ├── ai/                # LLM client abstractions, embeddings, and token utilities
│   ├── memory/            # MemoryProvider interface & vector/graph adapters
│   ├── connectors/        # Composio actions and Nango sync adapters
│   ├── workflows/         # Trigger.dev durable task definitions
│   ├── mcp/               # MCP tools, resources, and prompt definitions
│   ├── permissions/       # Deterministic RBAC/ABAC and human-in-the-loop policies
│   ├── citations/         # Grounding validator and citation resolution engine
│   ├── db/                # Neon PostgreSQL connection and Drizzle schema
│   ├── storage/           # Cloudflare R2 S3-compatible client
│   ├── auth/              # Better Auth / Session & API Key verification utilities
│   ├── types/             # Shared TypeScript domain types and Zod schemas
│   ├── ui/                # Calm editorial component library (Radix + Tailwind)
│   └── config/            # Shared environment, linting, and build configs
│
├── docs/                  # Full system architecture, ADRs, and specs
├── skills/                # Portable Agent Skills (SKILL.md)
└── infrastructure/        # Cloudflare, Docker, and deployment configurations

5. Technology Strategy

Debo relies on rigorous technical evaluation rather than popularity:

Domain Technology Rationale
Language TypeScript (Primary) Full end-to-end type safety across UI, API, Agents, DB, and MCP.
Parsing Worker Python 3.11 + Docling State-of-the-art document layout, OCR, and table extraction isolated from web tier.
Agent Runtime LangGraph JS Deterministic graph orchestration, state checkpointing, and human approvals.
Memory Engine Supermemory (with Provider Abstraction) Hybrid semantic/temporal memory with zero vendor lock-in.
Action Connectors Composio Managed OAuth and execution for 1000+ external SaaS tools.
Durable Workflows Trigger.dev 4.x Code-first serverless durable tasks with real-time streaming and local dev support.
Database Neon PostgreSQL Serverless PostgreSQL with instant branching and Drizzle ORM.
Object Store Cloudflare R2 Zero-egress fee S3-compatible storage for raw source files.
External Agent API Model Context Protocol (MCP) Universal protocol supported by Claude, Cursor, and emerging agents.

6. Documentation Navigator

All architectural decisions, technical specifications, and research evaluations are documented under docs/:


7. Current Project Status

Debo is currently executing Phase 0 (Clean-Room Documentation & Architecture Bootstrap).

  • Legacy code: Successfully deleted and archived.
  • Product implementation: Not yet started.
  • Verification: The documentation baseline is being reconciled before functional code is merged in Phase 1.

Track live progress in PROJECT_STATUS.md.


8. Contributing & Governance

Contributions to Debo follow our strict architectural review process. All PRs must align with established ADRs and pass documentation validation:


9. License

Debo is licensed under the MIT License. Copyright (c) 2026 Debo Contributors.

Documentation status: research and architecture pages distinguish official evidence, vendor claims, repo observations, independent benchmarks, and future Debo-measured results. See docs/audits/documentation-audit.md.

About

The intelligent AI companion and journaling application that actively understands your life.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages