How engabdullah3334-bot/lifeos1 works
LifeOS is a personal productivity web app with task/project management, notes and writing, authentication, settings, and an AI assistant. A typical workflow is to sign in, manage projects and tasks through the API, and view or update them in the browser; the AI assistant can also invoke registered task and writing actions. The graph distinguishes routes from domain services and includes the AI provider layer. README content was not provided, and frontend module wiring is largely unsampled, so those connections are omitted where evidence is unavailable.
Main entry points: ai_agent.py AI agent · task.py Tasks and projects · writing.py Notes and writing · actions.py AI action executors
Components 25
Web app
- Flask server
server.py - Authentication API
routes/auth.py - Tasks API
routes/tasks.py - Writing API
routes/writing.py - AI API
routes/ai.py - Archive API
routes/archive.py - Settings API
routes/settings.py - Templates API
routes/templates.py - Dashboard API
routes/dashboard.py
Product services
- Auth service
core/auth.py - Tasks and projects
core/task.py - Notes and writing
core/writing.py - Archive service
core/archive.py - Settings service
core/settings.py - Templates service
core/templates.py
AI assistant
- AI agent
core/ai_agent.py - AI action executors
core/actions.py - Action registry
core/registry.py
AI providers
- Gemini adapter
api/gemini.py - Grok adapter
api/grok.py - Ollama adapter
api/ollama.py
Shared services
- MongoDB
- Config and prompts
core/config_loader.py - Document schemas
core/schema_factory.py
Other components
- User
Connections 25
- User → Flask server: uses
server.py - Flask server → MongoDB: connects to
server.py - Authentication API → Auth service: calls
routes/auth.py - Auth service → MongoDB: reads and writes
core/auth.py - Tasks API → Tasks and projects: calls
routes/tasks.py - Tasks and projects → MongoDB: reads and writes
core/task.py - Writing API → Notes and writing: calls
routes/writing.py - Notes and writing → MongoDB: reads and writes
core/writing.py - Archive API → Archive service: calls
routes/archive.py - Settings API → Settings service: calls
routes/settings.py - Templates API → Templates service: calls
routes/templates.py - Dashboard API → Tasks and projects: calls
routes/dashboard.py - AI API → AI agent: calls
routes/ai.py - AI agent → Config and prompts: loads prompts
core/ai_agent.py - AI agent → Action registry: dispatches actions
core/ai_agent.py - AI action executors → Action registry: registers actions
core/actions.py - AI action executors → Tasks and projects: executes task actions
core/actions.py - AI action executors → Notes and writing: executes note actions
core/actions.py - AI agent → Gemini adapter: calls provider
core/ai_agent.py - AI agent → Grok adapter: calls provider
core/ai_agent.py - AI agent → Ollama adapter: calls provider
core/ai_agent.py - Tasks and projects → Document schemas: builds documents
core/task.py - Notes and writing → Document schemas: uses schemas
core/writing.py - Templates service → Config and prompts: loads config
core/templates.py - Settings service → Config and prompts: loads config
core/settings.py