# himovo/movo architecture

> Architecture diagram of the GitHub repository himovo/movo, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/himovo/movo
- Repository: https://github.com/himovo/movo

## Overview

MOVO is a self-hosted enterprise Agent platform built around the DSH Runtime. Users work in the web workspace to chat, research enterprise knowledge, and generate deliverables; administrators configure identity, models, knowledge, Skills, Tools, and governance through a separate console. The README documents the gateway-to-API topology and shared document and data services. The graph preserves major product capabilities, but some connections—especially between chat orchestration and individual capability pipelines—are shown only where the README supports them; unsampled implementation details are not inferred.

Main entry points: [`services/chat-api/app/main.py`](https://github.com/himovo/movo/blob/main/services/chat-api/app/main.py) (Chat API), [`services/admin-api/app/main.py`](https://github.com/himovo/movo/blob/main/services/admin-api/app/main.py) (Admin API), [`services/document-parser/app/services/document_parsing_service.py`](https://github.com/himovo/movo/blob/main/services/document-parser/app/services/document_parsing_service.py) (Document processing), [`services/chat-api/app/core/db.py`](https://github.com/himovo/movo/blob/main/services/chat-api/app/core/db.py) (Application database)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Web experiences"]
  node_workspace["User workspace<br/>[App.vue]"]
  node_admin_console["Admin console<br/>[App.vue]"]
end

subgraph group_services["Application services"]
  node_gateway["Gateway"]
  node_chat_api["Chat API<br/>[main.py]"]
  node_admin_api["Admin API<br/>[main.py]"]
end

subgraph group_agent["Agent capabilities"]
  node_runtime_host["DSH Runtime Host"]
  node_skills_tools["Skills, Tools, MCP<br/>[skills.ts]"]
  node_content_generation["Content generation<br/>[pipeline.py]"]
  node_presentation["Presentation generation<br/>[pipeline.py]"]
  node_evaluation["Content evaluation<br/>[pipeline.py]"]
end

subgraph group_knowledge["Knowledge and documents"]
  node_knowledge_admin["Knowledge management"]
  node_retrieval["Knowledge retrieval"]
  node_document_processing["Document processing"]
end

subgraph group_state["Data and integrations"]
  node_mongo[("Application database<br/>[db.py]")]
  node_model_providers{{"Model providers"}}
  node_document_storage[("Document storage")]
  node_public_sources{{"Public search sources"}}
end

node_user(("User"))
node_admin(("Administrator"))

node_user -->|"uses"| node_workspace
node_admin -->|"uses"| node_admin_console
node_workspace -->|"requests"| node_gateway
node_admin_console -->|"requests"| node_gateway
node_gateway -->|"routes"| node_chat_api
node_gateway -->|"routes"| node_admin_api
node_chat_api -->|"runs agents"| node_runtime_host
node_chat_api -->|"uses documents"| node_document_processing
node_admin_api -->|"uses documents"| node_document_processing
node_chat_api -->|"reads and writes"| node_mongo
node_admin_api -->|"reads and writes"| node_mongo
node_document_processing -->|"stores metadata"| node_mongo
node_knowledge_admin -.->|"manages files"| node_document_storage
node_chat_api -.->|"retrieves knowledge"| node_retrieval
node_runtime_host -->|"uses capabilities"| node_skills_tools
node_chat_api -.->|"generates content"| node_content_generation
node_chat_api -.->|"generates slides"| node_presentation
node_chat_api -.->|"evaluates content"| node_evaluation
node_chat_api -->|"uses models"| node_model_providers
node_chat_api -->|"researches sources"| node_public_sources

click node_workspace "https://github.com/himovo/movo/blob/main/apps/user-web/src/App.vue"
click node_admin_console "https://github.com/himovo/movo/blob/main/apps/admin-web/src/App.vue"
click node_chat_api "https://github.com/himovo/movo/blob/main/services/chat-api/app/main.py"
click node_admin_api "https://github.com/himovo/movo/blob/main/services/admin-api/app/main.py"
click node_runtime_host "https://github.com/himovo/movo/blob/main/services/chat-api/dsh/runtime-host/src/runtime-manager.mjs"
click node_skills_tools "https://github.com/himovo/movo/blob/main/apps/user-web/src/api/skills.ts"
click node_content_generation "https://github.com/himovo/movo/blob/main/services/chat-api/app/enterprise_capabilities/content/writer_engine/pipeline.py"
click node_presentation "https://github.com/himovo/movo/blob/main/services/chat-api/app/services/presentation/image_native/pipeline.py"
click node_evaluation "https://github.com/himovo/movo/blob/main/services/chat-api/app/enterprise_capabilities/content/evaluation/pipeline.py"
click node_knowledge_admin "https://github.com/himovo/movo/blob/main/services/admin-api/app/api/routes/knowledge_documents.py"
click node_retrieval "https://github.com/himovo/movo/blob/main/services/document-parser/app/services/retrieval_service.py"
click node_document_processing "https://github.com/himovo/movo/blob/main/services/document-parser/app/services/document_parsing_service.py"
click node_mongo "https://github.com/himovo/movo/blob/main/services/chat-api/app/core/db.py"
click node_document_storage "https://github.com/himovo/movo/blob/main/services/admin-api/app/services/knowledge_storage.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_workspace,node_admin_console,node_user toneBlue
class node_gateway,node_chat_api,node_admin_api toneAmber
class node_runtime_host,node_skills_tools,node_content_generation,node_presentation,node_evaluation toneMint
class node_knowledge_admin,node_retrieval,node_document_processing toneRose
class node_mongo,node_model_providers,node_document_storage,node_public_sources,node_admin toneIndigo
```

## Components

### Web experiences

- [User workspace](https://github.com/himovo/movo/blob/main/apps/user-web/src/App.vue): `apps/user-web/src/App.vue`
- [Admin console](https://github.com/himovo/movo/blob/main/apps/admin-web/src/App.vue): `apps/admin-web/src/App.vue`

### Application services

- **Gateway**
- [Chat API](https://github.com/himovo/movo/blob/main/services/chat-api/app/main.py): `services/chat-api/app/main.py`
- [Admin API](https://github.com/himovo/movo/blob/main/services/admin-api/app/main.py): `services/admin-api/app/main.py`

### Agent capabilities

- [DSH Runtime Host](https://github.com/himovo/movo/blob/main/services/chat-api/dsh/runtime-host/src/runtime-manager.mjs): `services/chat-api/dsh/runtime-host/src/runtime-manager.mjs`
- [Skills, Tools, MCP](https://github.com/himovo/movo/blob/main/apps/user-web/src/api/skills.ts): `apps/user-web/src/api/skills.ts`
- [Content generation](https://github.com/himovo/movo/blob/main/services/chat-api/app/enterprise_capabilities/content/writer_engine/pipeline.py): `services/chat-api/app/enterprise_capabilities/content/writer_engine/pipeline.py`
- [Presentation generation](https://github.com/himovo/movo/blob/main/services/chat-api/app/services/presentation/image_native/pipeline.py): `services/chat-api/app/services/presentation/image_native/pipeline.py`
- [Content evaluation](https://github.com/himovo/movo/blob/main/services/chat-api/app/enterprise_capabilities/content/evaluation/pipeline.py): `services/chat-api/app/enterprise_capabilities/content/evaluation/pipeline.py`

### Knowledge and documents

- [Knowledge management](https://github.com/himovo/movo/blob/main/services/admin-api/app/api/routes/knowledge_documents.py): `services/admin-api/app/api/routes/knowledge_documents.py`
- [Knowledge retrieval](https://github.com/himovo/movo/blob/main/services/document-parser/app/services/retrieval_service.py): `services/document-parser/app/services/retrieval_service.py`
- [Document processing](https://github.com/himovo/movo/blob/main/services/document-parser/app/services/document_parsing_service.py): `services/document-parser/app/services/document_parsing_service.py`

### Data and integrations

- [Application database](https://github.com/himovo/movo/blob/main/services/chat-api/app/core/db.py): `services/chat-api/app/core/db.py`
- **Model providers**
- [Document storage](https://github.com/himovo/movo/blob/main/services/admin-api/app/services/knowledge_storage.py): `services/admin-api/app/services/knowledge_storage.py`
- **Public search sources**

### Other components

- **User**
- **Administrator**

## Connections

- User → User workspace: uses
- Administrator → Admin console: uses
- User workspace → Gateway: requests
- Admin console → Gateway: requests
- Gateway → Chat API: routes
- Gateway → Admin API: routes
- Chat API → DSH Runtime Host: runs agents
- Chat API → Document processing: uses documents
- Admin API → Document processing: uses documents
- Chat API → Application database: reads and writes
- Admin API → Application database: reads and writes (evidence: `services/admin-api/app/main.py`)
- Document processing → Application database: stores metadata
- Knowledge management → Document storage: manages files
- Chat API → Knowledge retrieval: retrieves knowledge
- DSH Runtime Host → Skills, Tools, MCP: uses capabilities
- Chat API → Content generation: generates content
- Chat API → Presentation generation: generates slides
- Chat API → Content evaluation: evaluates content
- Chat API → Model providers: uses models
- Chat API → Public search sources: researches sources
