Behavior engine
Coordinates app, environment, and interaction events. Priorities, cooldowns, and variation selection determine a behavior plan; animationForIntent maps that plan to a scene.
TypeScript · XState · event catalog
A personal AI companion that lives on your desktop.
Exploring agentic workflows and AI tool calling. The goal: at least the breadth of Grok Bot, specialized for personal needs and use cases, on a budget.
Say hello. He is already here.
01 / Behavior
Clippy’s behavior engine turns app events and context into a considered response. Try a few situations.
Choose a situation
02 / Environment
A small desktop simulation. Change the inputs and see which local behavior rule wins.
LOCAL AWARENESS
Simulation only · nothing here reads your actual device state.
03 / Actions
Clippy can use tools and route work to specialist agents. These short scenarios use invented data; they do not call real tools.
You ask for a brief
Clippy checks sample schedule + tasks
A concise summary is prepared
Sample data · no real files, reminders, or tools
04 / Memory
Clippy does not automatically turn every chat into a memory. The code separates policy checks, a durable ingestion queue, scoped graph retrieval, and short-lived conversation context.
CODE PATH WALKTHROUGH · NO LIVE OR PERSONAL MEMORY
Reject non-normal sensitivity; redact credential-like strings; enforce excluded terms and source policy.
SQLite tracks the ingestion job, its status, policy, and source provenance.
When enabled and fully configured, a worker sends the episode to Graphiti on Neo4j with a scope-specific group_id.
Search is restricted to allowed scopes. Results include validity and provenance, then are bounded before entering request context.
Deleting an episode also removes its local source-provenance record.
Graph ingestion requires the memory feature, Neo4j, and LLM/embedding configuration. This is a walkthrough of the implementation, not a live connection.
05 / Engineering
Explore the systems behind the character. Each part solves a different problem.
Coordinates app, environment, and interaction events. Priorities, cooldowns, and variation selection determine a behavior plan; animationForIntent maps that plan to a scene.
TypeScript · XState · event catalog
A request moves through the system
01 Events are prioritized and scheduled with cooldowns, so reactions feel considered instead of random.
02 Tools and specialist agents are typed; approval stays a separate decision.
03 The sprite pipeline preserves frame alignment and transparency across large animation sets.
06 / Process
A character is a design problem and a systems problem. These sheets capture the visual exploration behind the desktop companion.



07 / Roadmap
Clippy is still in development. The next work is about making the useful parts feel more natural, while keeping awareness and actions under clear user control.