# nimbleedge/deliteai architecture

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

- Interactive diagram: https://gitdiagram.com/nimbleedge/deliteai
- Repository: https://github.com/nimbleedge/deliteai

## Overview

DeliteAI is an on-device AI platform: developers integrate a platform SDK, provide Python workflows and assets, and run agentic tasks locally using model/LLM runtimes and optional platform services. The graph combines documented capabilities with the repository’s module layout; sampled source confirms the agent-to-runtime calls and selected storage/resource behavior, but does not establish most core-module call wiring.

Main entry points: [`coreruntime/nimblenet/task_manager`](https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/task_manager) (Workflow tasks), [`coreruntime/nimblenet/resource_manager`](https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/resource_manager) (Resource manager), [`coreruntime/nimblenet/core_sdk`](https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/core_sdk) (Core SDK), [`agents/gmail_assistant/android/src/main/java/dev/deliteai/agents/gmail_assistant`](https://github.com/nimbleedge/deliteai/tree/main/agents/gmail_assistant/android/src/main/java/dev/deliteai/agents/gmail_assistant) (Gmail assistant)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_sdk["Platform SDKs"]
  node_android_sdk["Android SDK"]
  node_platform_bridge["Platform bridges"]
end

subgraph group_runtime["Workflow Runtime"]
  node_core_sdk["Core SDK"]
  node_command_center["Command center"]
  node_task_manager["Workflow tasks"]
  node_python_bindings["Python bindings"]
  node_data_variables["Runtime values"]
  node_event_api["User event API"]
  node_event_storage[("Event storage")]
end

subgraph group_execution["Inference Execution"]
  node_model_executor["Model executors"]
  node_llm_executor["LLM executors"]
  node_retriever["Retrieval"]
end

subgraph group_assets["Assets and Services"]
  node_resource_manager["Resource manager"]
  node_asset_manager["Asset manager"]
  node_resource_loader["Resource loader"]
  node_server_api["Server API"]
end

subgraph group_agents["Example Agents"]
  node_gmail_agent["Gmail assistant"]
  node_notifications_agent["Notification summarizer"]
end

node_developer(("App developer"))
node_gmail_user(("Mail user"))
node_device_notifications(("Device notifications"))
node_gmail_service["Gmail service"]

node_developer -->|"integrates"| node_android_sdk
node_android_sdk -->|"exposes runtime"| node_core_sdk
node_core_sdk -->|"uses platform bridge"| node_platform_bridge
node_developer -->|"authors workflows"| node_python_bindings
node_python_bindings -->|"defines tasks"| node_task_manager
node_task_manager -->|"uses values"| node_data_variables
node_gmail_user -->|"requests summaries"| node_gmail_agent
node_gmail_agent -->|"queries mail"| node_gmail_service
node_gmail_agent -->|"runs methods"| node_core_sdk
node_device_notifications -->|"provides notifications"| node_notifications_agent
node_notifications_agent -->|"runs methods"| node_core_sdk
node_notifications_agent -->|"stores summaries"| node_event_storage
node_command_center -->|"coordinates events"| node_event_api
node_event_api -->|"persists events"| node_event_storage
node_command_center -->|"manages resources"| node_resource_manager
node_resource_manager -->|"handles asset metadata"| node_asset_manager
node_resource_manager -->|"loads resources"| node_resource_loader
node_resource_manager -->|"requests updates"| node_server_api
node_task_manager -->|"executes models"| node_model_executor
node_task_manager -->|"executes LLMs"| node_llm_executor
node_task_manager -.->|"uses retrieval"| node_retriever

click node_android_sdk "https://github.com/nimbleedge/deliteai/tree/main/sdks/android/nimblenet_core"
click node_platform_bridge "https://github.com/nimbleedge/deliteai/tree/main/coreruntime/platform"
click node_core_sdk "https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/core_sdk"
click node_command_center "https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/command_center"
click node_task_manager "https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/task_manager"
click node_python_bindings "https://github.com/nimbleedge/deliteai/tree/main/coreruntime/delitepy/library_stubs/src_template/delitepy"
click node_data_variables "https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/data_variable"
click node_event_api "https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/user_events/user_events_manager"
click node_event_storage "https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/database"
click node_resource_manager "https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/resource_manager"
click node_asset_manager "https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/asset_manager"
click node_resource_loader "https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/resource_loader"
click node_server_api "https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/server_api"
click node_model_executor "https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/executors"
click node_llm_executor "https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/llm_executors"
click node_retriever "https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/retriever"
click node_gmail_agent "https://github.com/nimbleedge/deliteai/tree/main/agents/gmail_assistant/android/src/main/java/dev/deliteai/agents/gmail_assistant"
click node_notifications_agent "https://github.com/nimbleedge/deliteai/tree/main/agents/notifications_summarizer/android/src/main/java/dev/deliteai/notifications_summarizer"

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_android_sdk,node_platform_bridge,node_gmail_user toneBlue
class node_core_sdk,node_command_center,node_task_manager,node_python_bindings,node_data_variables,node_event_api,node_event_storage toneAmber
class node_model_executor,node_llm_executor,node_retriever toneMint
class node_resource_manager,node_asset_manager,node_resource_loader,node_server_api toneRose
class node_gmail_agent,node_notifications_agent,node_developer,node_device_notifications,node_gmail_service toneIndigo
```

## Components

### Platform SDKs

- [Android SDK](https://github.com/nimbleedge/deliteai/tree/main/sdks/android/nimblenet_core): `sdks/android/nimblenet_core`
- [Platform bridges](https://github.com/nimbleedge/deliteai/tree/main/coreruntime/platform): `coreruntime/platform`

### Workflow Runtime

- [Core SDK](https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/core_sdk): `coreruntime/nimblenet/core_sdk`
- [Command center](https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/command_center): `coreruntime/nimblenet/command_center`
- [Workflow tasks](https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/task_manager): `coreruntime/nimblenet/task_manager`
- [Python bindings](https://github.com/nimbleedge/deliteai/tree/main/coreruntime/delitepy/library_stubs/src_template/delitepy): `coreruntime/delitepy/library_stubs/src_template/delitepy`
- [Runtime values](https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/data_variable): `coreruntime/nimblenet/data_variable`
- [User event API](https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/user_events/user_events_manager): `coreruntime/nimblenet/user_events/user_events_manager`
- [Event storage](https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/database): `coreruntime/nimblenet/database`

### Inference Execution

- [Model executors](https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/executors): `coreruntime/nimblenet/executors`
- [LLM executors](https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/llm_executors): `coreruntime/nimblenet/llm_executors`
- [Retrieval](https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/retriever): `coreruntime/nimblenet/retriever`

### Assets and Services

- [Resource manager](https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/resource_manager): `coreruntime/nimblenet/resource_manager`
- [Asset manager](https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/asset_manager): `coreruntime/nimblenet/asset_manager`
- [Resource loader](https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/resource_loader): `coreruntime/nimblenet/resource_loader`
- [Server API](https://github.com/nimbleedge/deliteai/tree/main/coreruntime/nimblenet/server_api): `coreruntime/nimblenet/server_api`

### Example Agents

- [Gmail assistant](https://github.com/nimbleedge/deliteai/tree/main/agents/gmail_assistant/android/src/main/java/dev/deliteai/agents/gmail_assistant): `agents/gmail_assistant/android/src/main/java/dev/deliteai/agents/gmail_assistant`
- [Notification summarizer](https://github.com/nimbleedge/deliteai/tree/main/agents/notifications_summarizer/android/src/main/java/dev/deliteai/notifications_summarizer): `agents/notifications_summarizer/android/src/main/java/dev/deliteai/notifications_summarizer`

### Other components

- **App developer**
- **Mail user**
- **Device notifications**
- **Gmail service**

## Connections

- App developer → Android SDK: integrates
- Android SDK → Core SDK: exposes runtime
- Core SDK → Platform bridges: uses platform bridge
- App developer → Python bindings: authors workflows
- Python bindings → Workflow tasks: defines tasks
- Workflow tasks → Runtime values: uses values
- Mail user → Gmail assistant: requests summaries
- Gmail assistant → Gmail service: queries mail
- Gmail assistant → Core SDK: runs methods
- Device notifications → Notification summarizer: provides notifications
- Notification summarizer → Core SDK: runs methods
- Notification summarizer → Event storage: stores summaries
- Command center → User event API: coordinates events
- User event API → Event storage: persists events
- Command center → Resource manager: manages resources
- Resource manager → Asset manager: handles asset metadata
- Resource manager → Resource loader: loads resources
- Resource manager → Server API: requests updates
- Workflow tasks → Model executors: executes models
- Workflow tasks → LLM executors: executes LLMs
- Workflow tasks → Retrieval: uses retrieval
