Tesseract: Building the World's First Integrated Thinking Environment
A proposal for a local-first Markdown editor that uses real-time Sentiment Analysis to dynamically adjust its AI assistant's persona, featuring a multi-agent debate system ('The Council') and personalized memory recall.
We have incredible "smart" tools for writing code — VS Code, Cursor, GitHub Copilot. They understand context, suggest fixes, and automate boilerplate.
But for thinking — brainstorming, journaling, and planning — we are still stuck with "dumb" text editors. Tools like Obsidian, Notion, or Apple Notes are great storage bins, but they are passive. They don't know how you are feeling or what you are trying to achieve. They just store text.
I'm building Tesseract to fix that.
It's a local-first Markdown editor that acts as a platform for brainstorming and journaling, with a built-in Sentiment Analysis Engine. Think of it as "Cursor for your Brain." It doesn't just autocomplete words. It adapts to your mental state.
How It Works
1. The Mood-Aware Interface
The core differentiator is a local AI model that analyzes your writing in real-time to detect your Mood and Tone.
- Scenario A — Journaling/Venting: The system detects you are stressed or burnt out. It shifts the AI assistant to be supportive, reflective, and asks coaching questions to help you clear your mind.
- Scenario B — Deep Work: The system detects you are focused and technical. It shifts the AI to be concise, factual, and strictly logical.
2. Dynamic Tooling (The "Doer")
Based on the detected intent, the system automatically spins up agents or tools to help you.
You type: "I need to plan my study schedule for the next 3 days."
Instead of just chatting, the AI triggers a Time-Planning Tool. It asks for your available hours and pace, generates 3 distinct schedule variations — "Intense Sprint" vs. "Balanced Pace" — and once you pick one, it writes the schedule directly into your Markdown file with checkboxes.
3. Total Recall (Memory & Context)
Just like Copilot knows your codebase, this tool knows your Life Base. It uses RAG (Retrieval Augmented Generation) to access all your previous notes.
Planning your week? It reminds you: "You didn't finish that task from last Tuesday, should we add it here?"
Writing about a project? It auto-suggests links to relevant notes you wrote six months ago.
4. The Council of Thought (Debate Mode)
Sometimes you don't need an echo chamber. You need a reality check.
Inspired by the "Council" concept, this mode takes your raw idea and throws it into a virtual pit where three distinct AI Personas debate it in front of you.
- The Visionary — Sees the potential, the upside, the "why not?"
- The Skeptic — Mercilessly attacks the idea, pointing out flaws, risks, and logical gaps.
- The Pragmatist — Focuses on execution, resources, and "how do we actually build this?"
You highlight an idea like "I should rewrite the backend in Rust," and hit Debate. The editor splits, and you watch a scripted dialogue generate where these three AI agents argue the pros and cons. You sit back as the Judge and make the final ruling.
The Tech Stack
- Frontend: Electron + React (Polished, dark-mode UI)
- Backend: Python (Local inference)
- AI: Ollama + Custom Sentiment Analysis Model
- Privacy: 100% Local. No data leaves your machine.
The Manuscript Was Born Here
Before Tesseract had its name, I was already prototyping the idea that writers need real feedback, not applause. I pasted a fiction draft into an AI assistant and got back: "The scene has good pacing overall." Three thousand words, zero actual critique.
That frustration led me to build The Manuscript — a developmental editing skill with seven specialized sub-skills covering the full creative workflow. It was the proof-of-concept that taught me what good AI feedback for writers actually looks like, and it shaped Tesseract's architecture from day one.
You can read more about The Manuscript here.
Where I'm Going
Tesseract is my CS graduation project, but it's bigger than a grade. I'm building it because I believe the gap between "tools that understand code" and "tools that understand thinking" is real, and it's worth closing.
The sentiment engine is the core. The Council is the hook. Total recall is what turns a text editor into a thinking partner.
I'll be sharing updates as I go.