How odysseus-dev/odysseus works
Odysseus is a self-hosted AI workspace. The primary user journey is to interact through the workspace UI, send a chat or agent request, and receive model-generated results with tools, files, or memory available. Separate product stages include research, document work, email, notes/tasks/calendar, model comparison, and image work. The README documents these capabilities; the excerpts and source index support the shared model, session, storage, and request infrastructure. Several feature route implementations were not sampled, so their internal call paths are not inferred.
Main entry points: database.py Application database · chat_routes.py Chat and agents · session_manager.py Session management · app.js Workspace UI
Components 26
Workspace interface
- Workspace UI
static/app.js - Notes interface
frontend/src/features/notes
AI runtime
- Model endpoints
src/llm_core.py - Endpoint resolution
src/endpoint_resolver.py
Workspace capabilities
- Chat and agents
routes/chat_routes.py - Deep research
services/research/research_handler.py - Documents
routes/document/document_routes.py - Email
routes/email/email_routes.py - Notes and reminders
routes/note/note_routes.py - Scheduled tasks
routes/task/task_routes.py - Calendar
routes/calendar_routes.py - Model comparison
routes/compare/compare_routes.py - Model cookbook
routes/cookbook_routes.py - Gallery and image tools
routes/gallery/gallery_routes.py
Shared services
- Web search
services/search - Memory and skills
services/memory - MCP integrations
src/mcp_manager.py - Upload handling
src/upload_handler.py - Settings
src/settings.py - Automation events
src/event_bus.py
State and security
- Session management
core/session_manager.py - Application database
core/database.py - Data models
core/models.py - Request authentication
src/auth_helpers.py - Request middleware
core/middleware.py
Other components
- Workspace user
Connections 25
- Workspace user → Workspace UI: uses
README.md - Workspace UI → Chat and agents: submits requests
- Workspace UI → Notes interface: opens notes
- Notes interface → Notes and reminders: uses API
- Chat and agents → Model endpoints: requests generation
- Model endpoints → Endpoint resolution: resolves endpoint
src/llm_core.py - Endpoint resolution → Application database: reads endpoints
src/endpoint_resolver.py - Chat and agents → Session management: manages conversations
- Session management → Application database: reads and writes
core/session_manager.py - Session management → Data models: uses records
core/session_manager.py - Deep research → Web search: uses search
services/research/research_handler.py - Documents → Upload handling: handles uploads
routes/document/document_routes.py - Documents → Application database: uses document state
routes/document/document_routes.py - Email → Application database: uses email state
routes/email/email_routes.py - Notes and reminders → Application database: uses note state
routes/note/note_routes.py - Scheduled tasks → Application database: uses task state
routes/task/task_routes.py - Model comparison → Session management: uses sessions
routes/compare/compare_routes.py - Model comparison → Application database: uses stored state
routes/compare/compare_routes.py - Memory and skills → Chat and agents: supports agents
README.md - MCP integrations → Chat and agents: extends agent tools
README.md - Model cookbook → Model endpoints: supports model workflows
README.md - Gallery and image tools → Workspace user: provides image tools
README.md - Request middleware → Request authentication: supports request identity
core/middleware.py - Automation events → Scheduled tasks: triggers scheduled tasks
src/event_bus.py - Settings → Application database: configures application