Back to projects
AI Systems

MyThinker

A stateful AI thinking-partner agent that refines a plan as you chat: one conversational agent with narrowly scoped tools where tool selection is the router, and deterministic precondition gates (proposal → authorization → commitment) instead of a graph of agents. Persistent memory in SQLite, streaming API, Next.js workspace.

  • LangGraph
  • FastAPI
  • Next.js
  • Agents
  • SQLite

A single agent, no orchestration graph

MyThinker is a stateful AI thinking partner built on one design bet: a single conversational agent with a small, narrowly scoped toolkit, where the agent's own tool-call choice is the router. There is no separate intent classifier and no workflow graph.

Precondition gating

Correctness-critical behavior lives in deterministic code, not model judgment. Before any board-mutating action, the system checks prerequisites: a North Star must exist before exploration can begin, and convergence produces proposals, not commitments, until an explicit authorization step lets the agent commit.

Frame (North Star)ExploreConverge (Proposals)Preconditiongate: authorizeCommit → Plan

What it supports

  • Framing a project with a North Star, then exploring and converging on directions.
  • Agentic research. The model decides on its own whether to use web search or document retrieval.
  • Persistent projects and conversation state, entirely local in SQLite, no cloud storage required.
  • A streaming HTTP API (standard requests and Server-Sent Events) behind a Next.js frontend.

Built for offline testing

Specialized structured-output engines handle the thinking operations (framing, exploration, convergence) invoked from within tools, and the codebase leans on offline fixtures so model-dependent behavior doesn't require live API calls during development.