How blogminhquy/javis-os works
Javis OS is a self-hosted, multi-provider AI agent with a persistent Second Brain, dashboard, tools, and background automation. The main user path is dashboard request → server runtime → selected model and available tools → response; the same runtime also supports voice, messaging channels, and queued work. The README documents these capabilities, while sampled source confirms several engine, MCP, conversation, and channel responsibilities. Many feature implementations were not sampled, so their links are limited to documented relationships rather than inferred call chains.
Main entry points: chat_runtime.py Chat orchestration · main.py Server entry · channels.py Channel API · claude_sdk_engine.py Claude engine
Components 28
User experience
- Dashboard
dashboard/app.js - Voice interface
server/voice_call.py - Command-line client
cli/javis_cli/commands.py
Agent runtime
- Server entry
server/main.py - Chat orchestration
server/chat_runtime.py - Provider engines
server/engine.py - Claude engine
server/claude_sdk_engine.py - Engine adapter
server/claude_cli.py - Settings
server/config.py
Memory and work
- Brain files
- Conversation history
server/conversations.py - Background work
server/tien_trinh_nen.py - Task queue
server/tasks.py - Learning
server/limit_learner.py
Tools and channels
- MCP client
server/mcp_client.py - MCP connections
server/mcp_store.py - MCP OAuth
server/oauth_mcp.py - Channel API
server/routes/channels.py - Channel accounts
server/channel_accounts.py - Customer conversations
server/conversations.py - Bot configuration
server/chatbot_store.py - Reply policy
server/chatbot_reply_policy.py - Policy storage
server/chatbot_reply_policy_store.py - Personal Zalo
server/zalo_personal_channel.py
Other components
- User
- AI providers
- MCP servers
- Messaging platforms
Connections 30
- User → Dashboard: uses
README.md - User → Command-line client: uses
README.md - Dashboard → Server entry: sends requests
- Command-line client → Server entry: sends requests
- User → Voice interface: speaks to
README.md - Voice interface → Server entry: submits turns
- Server entry → Chat orchestration: routes chat
- Chat orchestration → Provider engines: invokes
server/engine.py - Chat orchestration → Claude engine: invokes
- Claude engine → Engine adapter: uses factory
server/claude_cli.py - Provider engines → AI providers: calls model
server/engine.py - Claude engine → AI providers: calls model
- Server entry → Settings: reads settings
- Chat orchestration → Brain files: uses memory
README.md - Chat orchestration → Conversation history: stores history
- Background work → Task queue: dispatches work
- Task queue → Background work: runs jobs
server/tasks.py - Background work → Brain files: works on
README.md - Learning → Brain files: learns into
README.md - Chat orchestration → MCP client: uses tools
- MCP client → MCP connections: loads connections
- MCP OAuth → MCP connections: stores credentials
server/oauth_mcp.py - MCP client → MCP servers: calls tools
README.md - Channel API → Channel accounts: lists accounts
server/routes/channels.py - Channel API → Bot configuration: reads bots
server/routes/channels.py - Channel API → Customer conversations: uses history
server/routes/channels.py - Bot configuration → Reply policy: normalizes policy
server/chatbot_store.py - Bot configuration → Policy storage: uses policy store
server/chatbot_store.py - Personal Zalo → Customer conversations: records messages
server/channels/zalo_personal.py - Personal Zalo → Messaging platforms: sends and receives
README.md