You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: -01_lets_get_started/03_from_llms_to_stateful_long_runningl_multi_agents/02_architecture.md
+11-2Lines changed: 11 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,18 @@
1
-
## Multi-Agent Cloud Native Distributed Architecture for AgentiaCloud
1
+
#Dapr Agentic Cloud Ascent (DACA) Architecture
2
2
3
-
A combination of **event-driven architecture (EDA)**, **three-tier microservices architecture**, **stateless computing**, and **scheduled computing (CronJobs)** is used by AgentiaCloud for agentic AI development to meet the requirements of AI agents—such as their autonomy, real-time needs, scalability, and complexity. This mix can indeed be a powerful and practical approach for many agentic AI systems. Let’s break it down and evaluate how these paradigms align with agentic AI, which typically involves autonomous, goal-driven entities that perceive, decide, and act in an environment.
3
+
Let's understand and learn about ""Dapr Agentic Cloud Ascent" (DACA)", our winning design pattern for developing and deploying planet scale multi-agent systems:
**[Comprehensive Guide to Dapr Agentic Cloud Ascent (DACA) Design Pattern](https://github.com/panaversity/learn-agentic-ai/blob/main/comprehensive_guide_daca.md)**
10
+
11
+
A combination of **event-driven architecture (EDA)**, **three-tier microservices architecture**, **stateless computing**, and **scheduled computing (CronJobs)** is used by AgentiaCloud for agentic AI development to meet the requirements of AI agents—such as their autonomy, real-time needs, scalability, and complexity. This mix can indeed be a powerful and practical approach for many agentic AI systems. Let’s break it down and evaluate how these paradigms align with agentic AI, which typically involves autonomous, goal-driven entities that perceive, decide, and act in an environment.
12
+
13
+
14
+
**[State of Dapr 2025 Research Report](https://pages.diagrid.io/download-the-state-of-dapr-2025-report)**
Agentic AI is reshaping how we approach problem-solving, we’re harnessing its power to deliver scalable, adaptable intelligence solutions. Our focus is on providing developers with the tools to create tailored AI Agent-driven workflows without unnecessary complexity. By leveraging a minimalist yet powerful architecture, we enable everything from simple queries to sophisticated multi-agent systems.
4
4
5
+

6
+
7
+
**[Comprehensive Guide to Dapr Agentic Cloud Ascent (DACA) Design Pattern](https://github.com/panaversity/learn-agentic-ai/blob/main/comprehensive_guide_daca.md)**
8
+
5
9
By keeping predefined constructs to a minimum, we eliminate excess and empower developers to forge custom agentic solutions—whether that’s a simple query or an intricate multi-agent workflow—tailored to our specific needs. Here’s the streamlined tools we use, in our layered architecture:
6
10
7
11
1.**LLM APIs** that support robust Agent development, and are the defacto standard for interacting with LLMs.
@@ -17,7 +21,7 @@ By keeping predefined constructs to a minimum, we eliminate excess and empower d
17
21
18
22
With these core components, we enable the deployment of virtually any agentic workflow—striking a balance between simplicity and limitless potential.
19
23
20
-
### The Foundations
24
+
### The DACA Foundations
21
25
22
26
The OpenAI Responses API serves as a key foundation for developing agentic AI systems, offering advanced capabilities for autonomous task execution. The OpenAI Agents SDK complements this by providing a powerful framework to orchestrate multi-agent workflows using the Responses API. Together, these two components form the core pillars of our technology stack for building agentic AI.
23
27
@@ -26,7 +30,7 @@ The OpenAI Responses API serves as a key foundation for developing agentic AI sy
26
30
27
31
---
28
32
29
-
## Detailed Explanation of AgentiaCloud Framework Constructs
33
+
## Detailed Explanation of DACA Framework Constructs
30
34
31
35
1.**LLM APIs**
32
36
-**Purpose**: These serve as the core interface for interacting with large language models (LLMs), enabling agents to perform tasks ranging from simple queries to complex multi-step reasoning. They are standardized, robust, and widely supported.
@@ -87,7 +91,7 @@ The OpenAI Responses API serves as a key foundation for developing agentic AI sy
87
91
88
92
6.**Scheduled Container Invocation**
89
93
-**Purpose**: This allows containers to be triggered either on-demand (via HTTP requests) or on a schedule (via cron-like jobs), offering versatility in execution patterns.
90
-
-**Choice**: For development we use [python-crontab](https://pypi.org/project/python-crontab/) on Linux and Mac. [APSchedule](https://pypi.org/project/APScheduler/) for Windows. Or [Schedule](https://pypi.org/project/schedule/) for inprocess scheduling on any system. For prototyping, we’re using **[cron-job.org](https://cron-job.org/en/)**, a free online scheduling service. For production, we’re opting for **[Kubernetes CronJob](https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/)**, which integrates with Kubernetes for robust scheduling. Dapr also provides scheduling services in its recent update.
94
+
-**Choice**: We will use [Dapr Scheduler](https://docs.dapr.io/concepts/dapr-services/scheduler/). Alternatively, we can use[Dapr Scheduler](https://docs.dapr.io/concepts/dapr-services/scheduler/). Alternative for development are[python-crontab](https://pypi.org/project/python-crontab/) on Linux and Mac. [APSchedule](https://pypi.org/project/APScheduler/) for Windows. Or [Schedule](https://pypi.org/project/schedule/) for inprocess scheduling on any system. For prototyping, we’re using **[cron-job.org](https://cron-job.org/en/)**, a free online scheduling service. For production, we’re opting for **[Kubernetes CronJob](https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/)**, which integrates with Kubernetes for robust scheduling. Dapr also provides scheduling services in its recent update.
91
95
-**Why It Matters**: Flexible invocation supports both real-time and batch processing, accommodating diverse use cases efficiently.
92
96
93
97
7.**Relational Managed Database Services**
@@ -107,7 +111,7 @@ The OpenAI Responses API serves as a key foundation for developing agentic AI sy
107
111
108
112
---
109
113
110
-
### Two Main Constructs Enabling the AgentiaCloud Framework
114
+
### Two Main Constructs Enabling the DACA Framework
111
115
112
116
The entire framework hinges on two key constructs, which make both prototyping and production deployments possible:
113
117
-**Event-Driven Container Invocation**: Containers triggered by events, such as HTTP requests, enable real-time responsiveness. This is the backbone of user-initiated workflows or agent interactions.
@@ -116,7 +120,7 @@ Together, these constructs provide the versatility to handle virtually any agent
116
120
117
121
---
118
122
119
-
### Development Stack (Local): Open Source
123
+
### DACA Development Stack (Local): Open Source
120
124
121
125
The development, prototype and production stacks are identical in terms of the tools and technologies used. The only difference lies in how they are deployed. This unified development approach ensures developers can build and test locally or in a cloud environment using the same stack, transitioning seamlessly to either prototyping or production deployment.
@@ -131,7 +135,9 @@ The development, prototype and production stacks are identical in terms of the t
131
135
-**Developing inside a Container**[Visual Studio Code Dev Containers Extension](https://code.visualstudio.com/docs/devcontainers/containers) (Open Source)
132
136
-**Run Darp Locally**[Run using Docker-Compose](https://docs.dapr.io/getting-started/install-dapr-selfhost/) (Open Source) Optionally, you can use [Dapr Agents](https://dapr.github.io/dapr-agents/) and [Dapr Workflows](https://docs.dapr.io/developing-applications/building-blocks/workflow/workflow-overview/)
133
137
134
-
### Prototype Stack: Free Deployment
138
+
**[State of Dapr 2025 Research Report](https://pages.diagrid.io/download-the-state-of-dapr-2025-report)**
139
+
140
+
### DACA Prototype Stack: Free Deployment
135
141
136
142
The prototype stack is designed for rapid iteration and is completely free of charge or uses free tiers, leveraging cost-effective tools for testing and validation.
137
143
-**LLM APIs**: OpenAI Chat Completion Compatible Google Gemini APIs which has a generious free tier, and Responses API
@@ -146,13 +152,13 @@ The prototype stack is designed for rapid iteration and is completely free of ch
146
152
-**Darp** Treat Dapr Like Any Container. The daprio/daprd image is just a standard container you deploy alongside your app i.e. Dapr Sidecar (Open Source). Optionally, you can use [Dapr Agents](https://dapr.github.io/dapr-agents/) and [Dapr Workflows](https://docs.dapr.io/developing-applications/building-blocks/workflow/workflow-overview/)
147
153
-**Cost**: Fully free for prototyping, minimizing financial barriers during development.
148
154
149
-
### Serverless Alternative for both Prototyping and Production
155
+
### DACA Serverless Alternative for both Prototyping and Production
150
156
151
157
Those developer who have credit card and can register for the Azure free tier, have a option to use the serverless platform which are basically managed Kubernetes for both prototyping and production. Like [Azure Container Apps (ACA)](https://azure.microsoft.com/en-us/products/container-apps) (with [Dapr](https://learn.microsoft.com/en-us/azure/container-apps/dapr-overview) support) and [Jobs in Azure Container Apps](https://learn.microsoft.com/en-us/azure/container-apps/jobs?tabs=azure-cli).
152
158
153
159
They can get started with the [free tier](https://azure.microsoft.com/en-us/pricing/free-services): The first 180,000 vCPU per second, 360,000 GiB/s, and 2 million requests each month are free.
154
160
155
-
**Real-World Example**
161
+
**DACA Real-World Example**
156
162
157
163
Imagine a FastAPI Service running on ACA:
158
164
@@ -162,7 +168,7 @@ If traffic spikes, ACA’s autoscaling could spin up another 0.5 vCPU replica ra
162
168
163
169
---
164
170
165
-
### Production Stack: Cloud Native and Open Source
171
+
### DACA Production Stack: Cloud Native and Open Source
166
172
167
173
The production stack is optimized for scalability, reliability, and performance, using enterprise-grade tools while maintaining the same development stack, differing only in deployment.
168
174
-**LLM APIs**: Any LLM which is compatible with OpenAI Chat Completion API (most are), Responses API
@@ -176,13 +182,13 @@ The production stack is optimized for scalability, reliability, and performance,
176
182
-**In Memory Data Store**: Redis on Kubernetes
177
183
-**Darp on Kubernetes**[Deploy Dapr on a Kubernetes cluster](https://docs.dapr.io/operations/hosting/kubernetes/) (Open Source). Optionally, you can use [Dapr Agents](https://dapr.github.io/dapr-agents/) and [Dapr Workflows](https://docs.dapr.io/developing-applications/building-blocks/workflow/workflow-overview/)
178
184
179
-
### Serverless Alternative for both Prototyping and Production
185
+
### DACA Serverless Alternative for both Prototyping and Production
180
186
181
187
Those developer who have credit card and can register for the Azure free tier, have a option to use the serverless platform which are basically managed Kubernetes for both prototyping and production. Like [Azure Container Apps (ACA)](https://azure.microsoft.com/en-us/products/container-apps) (with [Dapr](https://learn.microsoft.com/en-us/azure/container-apps/dapr-overview) support) and [Jobs in Azure Container Apps](https://learn.microsoft.com/en-us/azure/container-apps/jobs?tabs=azure-cli).
182
188
183
189
They can get started with the [free tier](https://azure.microsoft.com/en-us/pricing/free-services): The first 180,000 vCPU per second, 360,000 GiB/s, and 2 million requests each month are free.
184
190
185
-
**Real-World Example**
191
+
**DACA Real-World Example**
186
192
187
193
Imagine a FastAPI Service running on ACA:
188
194
@@ -192,7 +198,7 @@ If traffic spikes, ACA’s autoscaling could spin up another 0.5 vCPU replica ra
192
198
193
199
---
194
200
195
-
### Training Developers for Production Deployment
201
+
### Training Developers for DACA Production Deployment
196
202
197
203
To equip developers with Kubernetes DevOps skills for production deployment, we leverage **Oracle Cloud Infrastructure (OCI)**, which offers a "free forever" tier which Offers 2 AMD VMs (1/8 OCPU, 1 GB RAM each) or up to 4 Arm-based VMs (24 GB RAM total). [These VMs are used to deploy our own Kubernetes cluster](https://github.com/nce/oci-free-cloud-k8s), providing a hands-on environment to learn cluster management, scaling, and deployment. Once developers master these skills, they can confidently deploy our agentic workflows to any cloud Kubernetes platform (e.g., AWS, GCP, Azure), ensuring portability and flexibility. This training bridges the gap between prototyping and production, empowering developers to handle real-world deployments.
This AgentiaCloud framework balances simplicity and power, with a unified development stack that adapts to free prototyping (via Hugging Face Docker Spaces, cron-job.org) or robust production (via Kubernetes, OCI-trained DevOps). The two core constructs—event-driven and scheduled container invocation—underpin its versatility, enabling any short-term or long-term workflow in any environment.
215
+
This DACA framework balances simplicity and power, with a unified development stack that adapts to free prototyping (via Hugging Face Docker Spaces, cron-job.org) or robust production (via Kubernetes, OCI-trained DevOps). The two core constructs—event-driven and scheduled container invocation—underpin its versatility, enabling any short-term or long-term workflow in any environment.
Copy file name to clipboardExpand all lines: -01_lets_get_started/03_from_llms_to_stateful_long_runningl_multi_agents/readme.md
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,20 @@ Insha Allah, we aim to revolutionize Pakistan and the world through Agentic AI,
16
16
17
17
We have developed detailed documentation outlining Multi-Agent Systems, including their architecture, which will enable us to build AI Agents on a global scale. Most notably, it highlights the key vertical sectors that our thousands of students will initially target:
18
18
19
-
Here’s a comprehensive list of all the agents we’ve explored, spanning various domains and showcasing the application of **event-driven architecture (EDA)**, **three-tier architecture**, **stateless computing**, **scheduled computing (CronJobs)**, **human-in-the-loop (HITL)**, and, in some cases, **LLM intelligence**. Each agent addresses a unique use case within its domain:
19
+
Here’s a comprehensive list of all the agents we’ve explored, spanning various domains and showcasing the application of **event-driven architecture (EDA)**, **three-tier architecture**, **stateless computing**, **scheduled computing (CronJobs)**, **human-in-the-loop (HITL)**, and, in some cases, **LLM intelligence**.
Each agent addresses a unique use case within its domain:
20
33
21
34
1.**Email Agent** (Email Management Domain)
22
35
-**Purpose**: Monitors incoming emails, filters them, suggests responses, and sends replies after user approval; also checks and corrects new emails composed by the user.
0 commit comments