How chevey339/kelivo works
Kelivo is a cross-platform Flutter LLM client. Its primary workflow is to configure a model provider, start a conversation, and optionally let the model use search, tools, memory, or a bound workspace before returning a result. The README documents those product stages and local-first storage; the supplied tree and excerpts mainly expose native platform services, not the Flutter/Dart implementation, so undocumented internal links are omitted. Native code shown supports background generation, scheduled tasks, device tools, and incoming-share handling.
Main entry points: workspace Workspace tools · IosIncomingShareHandler.swift Incoming shares · BackgroundRuntime.kt Background generation · ScheduledTasks.kt Scheduled tasks
Components 19
Conversation and models
- Provider setup
- Model providers
- Conversation
- Assistant response
Agent capabilities
- Web search
- MCP servers
- Skills and memory
- Workspace tools
android/app/src/main/kotlin/com/psyche/kelivo/workspace - Mobile Linux sandbox
android/app/src/main/kotlin/com/psyche/kelivo/workspace - Desktop native shell
Local data
- Local conversations and settings
- WebDAV or S3 backup
Platform services
- Background generation
android/app/src/main/kotlin/com/psyche/kelivo/background/BackgroundRuntime.kt - Scheduled tasks
android/app/src/main/kotlin/com/psyche/kelivo/scheduled/ScheduledTasks.kt - Device-local tools
android/app/src/main/kotlin/com/psyche/kelivo/DeviceLocalToolsHandler.kt - Incoming shares
ios/IncomingShare/IosIncomingShareHandler.swift - Share inbox
ios/IncomingShare/IncomingShareInbox.swift
Other components
- User
- Model API
Connections 19
- User → Provider setup: configures
- Provider setup → Model providers: adds provider
- Model providers → Model API: sends requests
- User → Conversation: starts chat
- Conversation → Model API: submits prompt
- Model API → Assistant response: returns answer
- Conversation → Web search: enables search
- Conversation → MCP servers: enables servers
- Conversation → Skills and memory: uses capabilities
- Conversation → Workspace tools: binds workspace
- Workspace tools → Mobile Linux sandbox: runs sandbox
- Workspace tools → Desktop native shell: runs commands
- Conversation → Local conversations and settings: stores locally
- Local conversations and settings → WebDAV or S3 backup: backs up
- User → Background generation: continues generation
- User → Scheduled tasks: schedules work
- Conversation → Device-local tools: calls device tools
- User → Incoming shares: shares content
- Incoming shares → Share inbox: saves delivery
ios/IncomingShare/IosIncomingShareHandler.swift