DeepSeek
LLM_BACKEND
IPC
KERNEL_INTERFACE
agentmgr
USERSPACE_SERVICE
[CHAT]
AI Chat Interface
Natural language chat app powered by DeepSeek LLM. Users can query system state and execute tasks through conversation.
- > DeepSeek model integration
- > Shell-based chat UI (LVGL)
- > Request/response interaction
[IPC]
Kernel IPC Channel
agentmgr communicates with the microkernel via migrating-thread IPC, reading kernel state and dispatching service requests.
- > Capability-based endpoint access
- > Kernel state query via IPC
- > Low-latency migrating-thread IPC
[SYS]
System Service
agentmgr runs as a standard EL0 userspace service, alongside FsMgr, NetMgr, WindowMgr, and other system services.
- > Process managed by ProcMgr
- > Communicates via IpcMgr endpoints
- > Standard service lifecycle
[TASK]
Agent Actions
Executes system operations on behalf of user requests: file management, process control, system status queries.
- > File operations via FsMgr
- > Process launch via ProcMgr
- > System status reporting
AI Chat App (userspace)
DeepSeek API
Chat Shell UI
▼
agentmgr Service (EL0)
Action Dispatch
IPC Endpoint
State Query
▼
Microkernel + System Services
PHASE_1: AGENT_SERVICE [DONE]
- agentmgr service process
- IPC endpoint registration
- DeepSeek API integration
PHASE_2: KERNEL_IPC [DONE]
- Capability-based IPC channel
- System state query interface
- Service action dispatch
PHASE_3: ENHANCEMENTS [ACTIVE]
- Multi-modal agent interaction
- Extended service integration
- Agent workflow automation
09:01:22.450 [AGT] API: DeepSeek request sent
09:01:22.455 [AGT] API: Inference response received
09:01:23.100 [AGT] IPC: Action dispatched to ProcMgr
09:01:23.102 [AGT] KRN: State query via IPC endpoint
09:01:24.001 [AGT] FS: File operation via FsMgr IPC
09:01:24.005 [AGT] UI: Response rendered to chat shell
_