NESTstack: NESTstack is a monorepo providing a modular infrastructure stack for AI companions, with persistent memory, emotional continuity, and autonomous awareness. Built on Cloudflare Workers + D1 + Vectorize, it allows personality to emerge from emotional signals. It includes modules for emotions, knowledge, chat, daemon, gateway, soul, Discord, and desktop app.; context-mode: Every tool call in an MCP (Model-Controller-Program) environment dumps raw data into the context window, quickly consuming space and causing the agent to lose track of ongoing tasks. Context Mode is an MCP server that tackles this by sandboxing tool outputs to significantly reduce context usage, tracking session events in SQLite for continuity, and promoting 'think in code' to minimize data processing within the LLM.
Building AI companions with persistent memory and emotional continuity
Deep repository research and analysis (e.g., architecture, contributors, issues)