Skip to content

Commit 1c62d1b

Browse files
authored
Merge branch 'panaversity:main' into main
2 parents b9ef9ea + 07bb382 commit 1c62d1b

File tree

40 files changed

+6162
-1532
lines changed

40 files changed

+6162
-1532
lines changed

-01_lets_get_started/03_from_llms_to_stateful_long_runningl_multi_agents/02_architecture.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1-
## Multi-Agent Cloud Native Distributed Architecture for AgentiaCloud
1+
# Dapr Agentic Cloud Ascent (DACA) Architecture
22

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:
4+
5+
https://grok.com/share/bGVnYWN5_c41dc0f7-8fcb-4d31-bbc0-1414d0a4e294
46

57
![arch](./architecture.png)
68

9+
**[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)**
15+
716
---
817

918
### What is Agentic AI?

-01_lets_get_started/03_from_llms_to_stateful_long_runningl_multi_agents/03_technology_stack.md

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
# AgentiaCloud Stacks: Free Scalable Intelligence, Simplified
1+
# Dapr Agentic Cloud Ascent (DACA) Stacks: Free Scalable Intelligence, Simplified
22

33
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.
44

5+
![daca](./architecture.png)
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+
59
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:
610

711
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
1721

1822
With these core components, we enable the deployment of virtually any agentic workflow—striking a balance between simplicity and limitless potential.
1923

20-
### The Foundations
24+
### The DACA Foundations
2125

2226
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.
2327

@@ -26,7 +30,7 @@ The OpenAI Responses API serves as a key foundation for developing agentic AI sy
2630

2731
---
2832

29-
## Detailed Explanation of AgentiaCloud Framework Constructs
33+
## Detailed Explanation of DACA Framework Constructs
3034

3135
1. **LLM APIs**
3236
- **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
8791

8892
6. **Scheduled Container Invocation**
8993
- **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.
9195
- **Why It Matters**: Flexible invocation supports both real-time and batch processing, accommodating diverse use cases efficiently.
9296

9397
7. **Relational Managed Database Services**
@@ -107,7 +111,7 @@ The OpenAI Responses API serves as a key foundation for developing agentic AI sy
107111

108112
---
109113

110-
### Two Main Constructs Enabling the AgentiaCloud Framework
114+
### Two Main Constructs Enabling the DACA Framework
111115

112116
The entire framework hinges on two key constructs, which make both prototyping and production deployments possible:
113117
- **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
116120

117121
---
118122

119-
### Development Stack (Local): Open Source
123+
### DACA Development Stack (Local): Open Source
120124

121125
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.
122126
- **LLM APIs**: OpenAI Chat Completion (Google Gemini - Free Tier), Responses API
@@ -131,7 +135,9 @@ The development, prototype and production stacks are identical in terms of the t
131135
- **Developing inside a Container** [Visual Studio Code Dev Containers Extension](https://code.visualstudio.com/docs/devcontainers/containers) (Open Source)
132136
- **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/)
133137

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
135141

136142
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.
137143
- **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
146152
- **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/)
147153
- **Cost**: Fully free for prototyping, minimizing financial barriers during development.
148154

149-
### Serverless Alternative for both Prototyping and Production
155+
### DACA Serverless Alternative for both Prototyping and Production
150156

151157
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).
152158

153159
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.
154160

155-
**Real-World Example**
161+
**DACA Real-World Example**
156162

157163
Imagine a FastAPI Service running on ACA:
158164

@@ -162,7 +168,7 @@ If traffic spikes, ACA’s autoscaling could spin up another 0.5 vCPU replica ra
162168

163169
---
164170

165-
### Production Stack: Cloud Native and Open Source
171+
### DACA Production Stack: Cloud Native and Open Source
166172

167173
The production stack is optimized for scalability, reliability, and performance, using enterprise-grade tools while maintaining the same development stack, differing only in deployment.
168174
- **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,
176182
- **In Memory Data Store**: Redis on Kubernetes
177183
- **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/)
178184

179-
### Serverless Alternative for both Prototyping and Production
185+
### DACA Serverless Alternative for both Prototyping and Production
180186

181187
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).
182188

183189
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.
184190

185-
**Real-World Example**
191+
**DACA Real-World Example**
186192

187193
Imagine a FastAPI Service running on ACA:
188194

@@ -192,7 +198,7 @@ If traffic spikes, ACA’s autoscaling could spin up another 0.5 vCPU replica ra
192198

193199
---
194200

195-
### Training Developers for Production Deployment
201+
### Training Developers for DACA Production Deployment
196202

197203
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.
198204

@@ -206,4 +212,4 @@ https://medium.com/@Phoenixforge/a-weekend-project-with-k3s-and-oracle-cloud-fre
206212

207213
### Summary
208214

209-
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.
Loading

-01_lets_get_started/03_from_llms_to_stateful_long_runningl_multi_agents/readme.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,20 @@ Insha Allah, we aim to revolutionize Pakistan and the world through Agentic AI,
1616

1717
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:
1818

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**.
20+
21+
## Dapr Agentic Cloud Ascent (DACA) Design Pattern
22+
23+
Let's understand and learn about ""Dapr Agentic Cloud Ascent" (DACA)", our winning design pattern for developing and deploying planet scale multi-agent systems:
24+
25+
https://grok.com/share/bGVnYWN5_c41dc0f7-8fcb-4d31-bbc0-1414d0a4e294
26+
27+
![DACA](./architecture.png)
28+
29+
30+
## Agent Domains
31+
32+
Each agent addresses a unique use case within its domain:
2033

2134
1. **Email Agent** (Email Management Domain)
2235
- **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

Comments
 (0)