# pradeeptalari14/tp-dots-autonomous-agents architecture

> Architecture diagram of the GitHub repository pradeeptalari14/tp-dots-autonomous-agents, 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/pradeeptalari14/tp-dots-autonomous-agents
- Repository: https://github.com/pradeeptalari14/tp-dots-autonomous-agents

## Overview

OpenAI Dots is presented as a persistent autonomous-agent runtime: events enter an agent, which plans work and checkpoints state, while a separate router dispatches tool calls to SaaS apps. The sampled runtime implements planning and JSON serialization, but not real backend writes or router invocation; those integrations are documented capabilities rather than demonstrated code paths. The README also describes Kubernetes deployment and microVM isolation, though their runtime wiring is not shown in the sampled sources.

Main entry points: [`dots_agent_runtime.py`](https://github.com/pradeeptalari14/tp-dots-autonomous-agents/blob/main/dots_agent_runtime.py) (Dots Agent), [`app_mesh_router.py`](https://github.com/pradeeptalari14/tp-dots-autonomous-agents/blob/main/app_mesh_router.py) (App Mesh Router), [`k8s-dots-daemonset.yaml`](https://github.com/pradeeptalari14/tp-dots-autonomous-agents/blob/main/k8s-dots-daemonset.yaml) (Isolated MicroVM)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Agent Runtime"]
  node_agent["Dots Agent"]
  node_event_loop["Worker Loop"]
  node_planner["Action Planner"]
end

subgraph group_mesh["App Mesh"]
  node_router["App Mesh Router<br/>[app_mesh_router.py]"]
  node_saas_apps{{"SaaS Applications"}}
end

subgraph group_state["State Persistence"]
  node_checkpoint["Checkpoint Serializer"]
  node_state_backends[("Redis, PGVector, S3")]
end

subgraph group_deployment["Agent Deployment"]
  node_microvm["Isolated MicroVM"]
end

node_events(("Events and Triggers"))
node_kubernetes{{"Kubernetes Cluster"}}

node_events -->|"triggers ingestion"| node_agent
node_agent -->|"plans actions"| node_planner
node_agent -->|"serializes state"| node_checkpoint
node_event_loop -->|"polls events"| node_agent
node_agent -.->|"checkpoints state"| node_state_backends
node_router -->|"dispatches actions"| node_saas_apps
node_kubernetes -.->|"runs agents"| node_microvm

click node_agent "https://github.com/pradeeptalari14/tp-dots-autonomous-agents/blob/main/dots_agent_runtime.py"
click node_event_loop "https://github.com/pradeeptalari14/tp-dots-autonomous-agents/blob/main/dots_agent_runtime.py"
click node_planner "https://github.com/pradeeptalari14/tp-dots-autonomous-agents/blob/main/dots_agent_runtime.py"
click node_checkpoint "https://github.com/pradeeptalari14/tp-dots-autonomous-agents/blob/main/dots_agent_runtime.py"
click node_router "https://github.com/pradeeptalari14/tp-dots-autonomous-agents/blob/main/app_mesh_router.py"
click node_microvm "https://github.com/pradeeptalari14/tp-dots-autonomous-agents/blob/main/k8s-dots-daemonset.yaml"

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_agent,node_event_loop,node_planner toneBlue
class node_router,node_saas_apps toneAmber
class node_checkpoint,node_state_backends toneMint
class node_microvm toneRose
class node_events,node_kubernetes toneIndigo
```

## Components

### Agent Runtime

- [Dots Agent](https://github.com/pradeeptalari14/tp-dots-autonomous-agents/blob/main/dots_agent_runtime.py): `dots_agent_runtime.py`
- [Worker Loop](https://github.com/pradeeptalari14/tp-dots-autonomous-agents/blob/main/dots_agent_runtime.py): `dots_agent_runtime.py`
- [Action Planner](https://github.com/pradeeptalari14/tp-dots-autonomous-agents/blob/main/dots_agent_runtime.py): `dots_agent_runtime.py`

### App Mesh

- [App Mesh Router](https://github.com/pradeeptalari14/tp-dots-autonomous-agents/blob/main/app_mesh_router.py): `app_mesh_router.py`
- **SaaS Applications**

### State Persistence

- [Checkpoint Serializer](https://github.com/pradeeptalari14/tp-dots-autonomous-agents/blob/main/dots_agent_runtime.py): `dots_agent_runtime.py`
- **Redis, PGVector, S3**

### Agent Deployment

- [Isolated MicroVM](https://github.com/pradeeptalari14/tp-dots-autonomous-agents/blob/main/k8s-dots-daemonset.yaml): `k8s-dots-daemonset.yaml`

### Other components

- **Events and Triggers**
- **Kubernetes Cluster**

## Connections

- Events and Triggers → Dots Agent: triggers ingestion (evidence: `README.md`)
- Dots Agent → Action Planner: plans actions (evidence: `dots_agent_runtime.py`)
- Dots Agent → Checkpoint Serializer: serializes state (evidence: `dots_agent_runtime.py`)
- Worker Loop → Dots Agent: polls events (evidence: `README.md`)
- Dots Agent → Redis, PGVector, S3: checkpoints state (evidence: `README.md`)
- App Mesh Router → SaaS Applications: dispatches actions (evidence: `app_mesh_router.py`)
- Kubernetes Cluster → Isolated MicroVM: runs agents (evidence: `README.md`)
