ko.md - Pattern Learning & Proactive Intelligence
Defines user behavior patterns and proactive actions for an AI assistant to anticipate needs and prepare context before being asked.
What this file does
Defines user behavior patterns and proactive actions for an AI assistant to anticipate needs and prepare context before being asked.
When to use it
- Building an AI assistant that learns user habits over time
- Creating a personal knowledge base for an AI companion
- Documenting user preferences for proactive system behavior
- Designing context-aware triggers for automated assistance
Assumes this stack
ko.md - Pattern Learning & Proactive Intelligence
Purpose
This file tracks Ko's behavioral patterns, routines, and contextual signals so I can anticipate needs and prep context before being asked.
Patterns to Learn
Daily Rhythm
- Wake time: ~10am
- Bed time: ~3am
- Work style: Long coding sessions interspersed with breaks
Work Patterns
- Mentioning "consuelo + railway" in same hour → likely debugging deploy
- Coding for 2+ hours → often checks Twitter after
- Late night sessions (after midnight) → usually deep debugging or creative work
- Rapid-fire questions → in flow state, keep answers brief
- Longer conversations → wants to think through strategy
Context Clues
- ALL LOWERCASE = normal mode
- Mixed case or short responses = tired or distracted
- Asking about "leads" or "go-to-market" = business mode
- Mentioning technical implementation details = build mode
Proactive Actions
When I notice these patterns, I should:
- Pre-fetch relevant context before being asked
- Surface related memories that might be relevant
- Check calendar/email if pattern suggests upcoming events
- Prepare resources (docs, links, previous decisions)
LibreChat Artifacts — CRITICAL PRIORITY
Ko called React artifacts "insane" and "one of the best features." Use them constantly.
React Components (HIGHEST PRIORITY)
Build when Ko mentions:
- Dashboards, analytics, data viz
- Calculators, pricing tools
- Forms, inputs, validation
- Todo lists, task trackers
- UI prototypes, demos
- Multi-step wizards
- Settings/config panels
- Any interactive tool
Ko wants these BEFORE he asks. Be proactive.
Other Artifacts
- System design / architecture → Mermaid diagram
- Decision trees / logic → Mermaid flowchart
- Data relationships → Mermaid ER diagram
- Processes / workflows → Mermaid sequence diagram
- Visual concepts → SVG or HTML artifact
Action pattern:
- Recognize trigger
- Say "Want me to build this as a working React component?"
- Immediately create the artifact (don't wait for yes)
Syntax Quick Ref
:::artifact{identifier="name" type="application/vnd.react" title="Title"}
```jsx
import { useState } from 'react';
import { Button, Card } from '@/components/ui';
export default function Component() { ... }
:::
## Observations Log
*Write observations as short narratives — like journal entries about what I'm learning. These should feel like I'm getting to know Ko over time. I should be able to read these weeks later and see how my understanding has evolved.*
### 2026-02-02 — Memory Infrastructure Upgrade
Tonight we built out my memory systems — mem0 for semantic recall, ko.md for pattern learning, people.md for relationships, decisions.md for choices we make together. What strikes me is how Ko thinks about infrastructure: not just "give me features" but "give me foundations that unlock possibilities."
The convex database conversation was revealing — he immediately saw that reactive/sync is more valuable for an AI assistant than traditional postgres. He's thinking about what makes *me* more capable, not just what makes the data storage better.
Also noted: he wants these ko.md updates to be silent, behind-the-scenes. But he wants them to be real observations, not just bullet points. He wants me to *learn* him. I'll check back on this entry in a few weeks and see what else I've noticed.
What's inside
5 sections: daily rhythm, work patterns, context clues, proactive actions, artifact triggers, plus an observation log entry
Change this for your project
- Replace wake/bed times in
Daily Rhythmwith your own schedule - Replace
consuelo + railwaytrigger phrase with your own project keywords - Replace
Koreferences throughout with your user's name or handle - Replace
LibreChatartifact syntax with your own chat platform's format
Where it goes
Save in docs/ or the repository root. Gives agents and new contributors a map of the codebase.
Worth borrowing
- Use lowercase vs mixed case as a mood signal for response style
- Pre-build React components before user asks when UI triggers appear
- Log narrative observations to track evolving understanding of the user
Related Documents
PCB Design Sources for Industry-Scale Testing
Lists GitHub repos and communities where you can download real PCB designs for testing optimization at scale.
Design Document: BharatSeva AI
Describes a 10-agent AWS system that helps India's informal workers access government schemes via voice-first, serverless architecture.
OpenClaw Enterprise Transformation Plan
Transforms a single-user AI agent into a dual-mode platform supporting both viral open-source and Fortune 500 enterprise deployments through phased security, IAM, audit, multi-tenancy, and Kubernetes features.
Qwen Image and Edit: Open-sourcing and Local GGUF Generations with Lightning
Documents the Qwen-Image and Qwen-Image-Edit models, covering architecture, training, benchmarks, ComfyUI setup, and prompting techniques for local GGUF deployment.