Skip to content

swappy-ops/LifeOS

Repository files navigation

LifeOS

Unified AI-Assisted Life Tracking

LifeOS is a personal telemetry system designed to unify fragmented aspects of daily life into a single AI-assisted framework.


Overview

LifeOS started as an attempt to solve a simple problem:

tracking life across too many disconnected apps.

Calories were tracked in one app.
Workouts in another.
Tasks somewhere else.
Finances often weren’t tracked at all.

None of these systems understood each other.

LifeOS explores what happens when all of these inputs are unified into a single telemetry system powered by natural language, structured memory, and localized AI agents.

Instead of manually categorizing everything across multiple platforms, users can describe events naturally:

“I spent ₹300 eating out and completed a chest workout.”

The system converts these logs into structured telemetry, routes them to specialized agents, and builds a cross-domain understanding of behavior over time.


Core Idea

Most productivity and tracking systems operate independently.

A fitness app cannot understand your finances.
A task manager cannot correlate sleep with productivity.
A journaling app cannot detect behavioral drift across domains.

LifeOS attempts to bridge these silos through:

  • unified telemetry
  • structured event parsing
  • AI-assisted routing
  • cross-domain reasoning
  • local-first intelligence systems

Key Features

Natural Language Logging

Log activities in plain English instead of manually filling forms.

Examples:

  • “Spent ₹250 on coffee.”
  • “Did a 90-minute pull workout.”
  • “Missed sleep because of assignment work.”

Unified Event System

All logs are converted into a shared structured event architecture.

Domains include:

  • finance
  • workouts
  • diet
  • productivity
  • journaling
  • university tasks
  • behavioral reflection

AI Agent Ecosystem

LifeOS routes telemetry events to specialized agents:

  • FinanceAgent
  • WorkoutAgent
  • DietAgent
  • TaskAgent
  • ReflectionAgent
  • KnowledgeAgent
  • UniversityAgent

Each agent reacts independently to incoming telemetry.


Local + Cloud LLM Support

Supports:

  • Ollama
  • Gemini

with interchangeable parsing pipelines and structured output validation.


Stateful Memory

LifeOS maintains rolling contextual memory using:

  • persistent logs
  • structured telemetry history
  • contextual retrieval pipelines

allowing agents to reason across time rather than isolated prompts.


System Architecture

User Input
    ↓
Natural Language Parsing
    ↓
Structured JSON Extraction
    ↓
Schema Validation
    ↓
Telemetry Database
    ↓
Agent Routing Layer
    ↓
Cross-Domain Analysis

Technology Stack

Backend

  • FastAPI
  • PostgreSQL
  • SQLAlchemy
  • Redis
  • Celery

Frontend

  • Next.js
  • Tailwind CSS
  • Recharts

Android

  • Kotlin
  • Jetpack Compose
  • Room Database

AI & Orchestration

  • Ollama
  • Google Gemini
  • Structured Output Parsing
  • Stateful Context Windows

Example Flow

Input:

{
  "text": "I spent ₹300 on dinner and completed a chest workout."
}

Parsed Output:

{
  "stored_events": [
    {
      "type": "finance_log",
      "amount": 300,
      "category": "Food"
    },
    {
      "type": "workout",
      "muscle_group": "Chest"
    }
  ]
}

Vision

LifeOS explores the idea of a unified personal intelligence layer capable of understanding behavior across fragmented domains such as productivity, health, finance, reflection, and learning.

Instead of treating life as disconnected apps and isolated dashboards, LifeOS investigates how natural language telemetry, structured memory systems, and localized AI agents can work together to create a continuously evolving personal operating system.


Repository Structure

LifeOS/
├── app/
├── frontend_dashboard/
├── android_app/
├── docs/
├── tests/
└── v2_architecture/

Future Directions

  • Cross-agent reasoning
  • Semantic memory retrieval
  • Predictive behavioral analysis
  • Mobile-first telemetry capture
  • Local embedding pipelines
  • Voice-native logging
  • Passive telemetry integration

Epigraph

“sit and eat with your waiter he will tell you a story”

About

AI-powered personal telemetry operating system for unified life tracking, agent orchestration, and semantic behavioral analysis.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors