Design
Development
Prompt Engineering
Designed with three layers: data, reasoning, and agentic.
Fetch raw data from wherever:
Everything is stored locally in JSON and markdown, with files organized by source and date. Syncing is CLI-driven via life sync
, and the sync architecture is modular β each integration lives in its own self-contained interface under /sync/
.
Example structure:
/sources/health/apple/2025-06-08.json
/sources/finances/plaid/2025-06-08.json
/sources/productivity/calendar/2025-06-08.json
Sample data file:
{
"date": "2025-06-08",
"source": "apple_health",
"metrics": {
"sleep_hours": 7.2,
"steps": 12450,
"heart_rate_avg": 68,
"workout_minutes": 45
},
"events": [
{"time": "06:30", "type": "wake", "heart_rate": 72},
{"time": "19:00", "type": "workout", "duration": 45, "type": "strength"}
]
}
The memory layer captures structured takeaways from each interaction. This persistent local memory feeds Claude with rich, evolving context that reflects how I actually live and think.
How Memory Works:
Memory consolidation triggers:
I've created a set of prompt templates for different reasoning tasks:
Sample memory file:
# Financial Preferences - Updated 2025-06-08
## Risk Tolerance
- Conservative with emergency fund (6+ months expenses)
- Moderate-aggressive with investment portfolio
- Prefers index funds over individual stocks
- Willing to take higher risk on side projects/startups
## Spending Patterns
- Coffee: $120/month (consistent, values quality)
- Travel: Seasonal spikes in Q2/Q4
- Tech: Invests in tools that save time
- Dining: Prefers cooking at home, splurges on special occasions
## Decision History
- 2025-05: Increased 401k contribution after bonus
- 2025-04: Switched to high-yield savings (3.5% β 4.2%)
- 2025-03: Declined expensive co-working space (cost/benefit analysis)
Memory is stored in /memory/
, continuously enriched with preferences, patterns, goals, and reflections.
This layer turns insights into action. Based on data patterns and reasoning, Claude suggests specific next steps that are added to a unified task list. Rather than executing directly, it creates actionable recommendations with clear context and priority.
Example suggestions:
The Intent Routing System is the core intelligence layer that makes natural language input useful. It converts freeform prompts into structured, validated commands that map to Life OS functionality.
[Natural Language Prompt]
β
[PromptClassifier (Claude)]
β
[Command Object]
β
[Schema Validator] β
β
[Command Registry] β [Service Module]
β
[Execution Engine]
β
[Audit Logger] π
life "analyze my Q2 spending against my savings goals"
life "what projects should I prioritize based on current workload?"
life "capture insight: morning workouts correlate with better focus"
life "review my investment allocation given recent market changes"
Command | Description | Example |
---|---|---|
add-task |
Add a new task | "prioritize client calls this week" |
add-idea |
Capture a new idea | "AI tool for automated expense categorization" |
list-tasks |
Show all tasks | "show my high-priority tasks" |
list-ideas |
Show all ideas | "what SaaS ideas do I have?" |
add-project |
Create a project | "analyze my restaurant app idea for feasibility" |
list-projects |
Show projects | "show active projects with ROI estimates" |
view-project |
View project details | "show project abc123 with latest metrics" |
status |
System overview | "what am I working on and how is it performing?" |
memory-summary |
Show user profile | "what patterns do you see in my productivity?" |
add-context |
Add user context | "add context about my Q3 business goals" |
demo |
Launch demo mode | "show me a demo" |
Python 3.13
Anthropic Claude β Selected over OpenAI for better reasoning capabilities and longer context windows essential for memory synthesis
Plaid API
Apple Shortcuts
JSON + Markdown storage
Bash CLI interface
~/Developer/life_os/
βββ services/ # Core logic (projects, memory, Claude, sync)
β βββ memory.py # Memory consolidation and retrieval
β βββ claude.py # AI interaction and prompt management
β βββ sync.py # Data source integrations
βββ sources/ # Synced raw data (health, finances)
β βββ health/
β βββ finances/
β βββ productivity/
βββ memory/ # Persistent AI memory
β βββ preferences.md
β βββ patterns.md
β βββ goals.md
βββ projects/ # AI-generated project files
β βββ active/
β βββ archived/
βββ templates/ # Claude prompt templates
β βββ analysis/
β βββ planning/
β βββ review/
βββ sync/ # Modular sync logic
β βββ plaid_sync.py
β βββ apple_health_sync.py
β βββ calendar_sync.py
βββ logs/ # System audit trail
βββ main.py # CLI entrypoint
Sample project file:
# Project: AI Expense Categorization Tool
**Created**: 2025-06-01
**Status**: Active
**Priority**: High
## Context
Personal pain point: spending 2+ hours monthly categorizing expenses for tax prep.
Market research shows 67% of freelancers have same issue.
## Metrics
- **Time Investment**: 12 hours (research + prototyping)
- **Potential ROI**: $500/month revenue if 50 users at $10/month
- **Confidence**: 75% (based on initial user interviews)
## Next Actions
1. Build MVP using Plaid API + Claude for categorization
2. Test with 5 beta users (target: 95% accuracy)
3. Validate pricing model through pre-orders
## Memory Links
- Financial preferences: prefers tools that save time
- Technical skills: strong API integration experience
- Risk tolerance: moderate for side projects
/logs/
βββ routing_chains_*.jsonl # Full promptβaction chains
βββ classifications_*.jsonl # Intent classification results
βββ validations_*.jsonl # Schema validation outcomes
βββ executions_*.jsonl # Command execution results
βββ errors_*.jsonl # System errors and debugging
Each entry includes:
Most new AI tools still feel like demos, with no memory, no real structure, and no actual system behind them. I wanted to understand what it would take to build something more useful: a local assistant that can reason over real data, remember things over time, and actually help me make decisions.
Life OS started as a way to explore what a model context protocol (MCP) might look like in practice. Not just chatting with a model, but giving it memory, inputs, and a set of actions it could suggest or help with.
The goal was to create something that grows with you, learns your patterns, and becomes more useful over timeβlike the journaling habit that inspired it, but with the ability to surface insights and suggest actions based on years of data.
If youβre ready to take your project to the next level, contact me today. Iβm always excited to discover new projects, and connect with talented people who have a vision for their business. Drop me a line and Iβll get back to you.