Skip to main content
Fai
Personal project

Clippy

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.

 
Tauri · React · PixiJS · Python
Explore

01 / Behavior

More than a mascot

Clippy’s behavior engine turns app events and context into a considered response. Try a few situations.

 

Choose a situation

02 / Environment

Aware of his surroundings

A small desktop simulation. Change the inputs and see which local behavior rule wins.

Clippy · local signals
TodayTasksMemorySettings

LOCAL AWARENESS

Simulation only · nothing here reads your actual device state.

03 / Actions

An assistant that takes action

Clippy can use tools and route work to specialist agents. These short scenarios use invented data; they do not call real tools.

SIMULATED EXAMPLE

Give me my daily brief.

01

You ask for a brief

02

Clippy checks sample schedule + tasks

03

A concise summary is prepared

Sample data · no real files, reminders, or tools

04 / Memory

How memory actually works

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

  1. 01

    Check

    Reject non-normal sensitivity; redact credential-like strings; enforce excluded terms and source policy.

  2. 02

    Queue

    SQLite tracks the ingestion job, its status, policy, and source provenance.

  3. 03

    Ingest

    When enabled and fully configured, a worker sends the episode to Graphiti on Neo4j with a scope-specific group_id.

  4. 04

    Retrieve

    Search is restricted to allowed scopes. Results include validity and provenance, then are bounded before entering request context.

  5. 05

    Forget

    Deleting an episode also removes its local source-provenance record.

Conversation contextCurrent conversation held in process memory
SQLite metadataPolicies · ingestion jobs · provenance
Graphiti + Neo4jOptional extracted entities and relationships

Graph ingestion requires the memory feature, Neo4j, and LLM/embedding configuration. This is a walkthrough of the implementation, not a live connection.

05 / Engineering

Under the hood

Explore the systems behind the character. Each part solves a different problem.

01

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 request moves through the system

ConversationBehavior + AI CoreAgent / toolsResult + approval

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

The making of Clippy

A character is a design problem and a systems problem. These sheets capture the visual exploration behind the desktop companion.

Character directions
Character directions
Expressions and poses
Expressions and poses
The desktop character
The desktop character

07 / Roadmap

What’s next

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.

← Selected works