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: examples/tutorials/10_async/00_base/000_hello_acp/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,6 @@ Three handlers instead of one, giving you full control over task lifecycle. Task
44
44
- Building towards production systems
45
45
46
46
## Why This Matters
47
-
The task-based model is the foundation of production agents. Unlike sync agents where each message is independent, agentic agents maintain persistent tasks that can receive multiple events, store state, and have full lifecycle management. This is the stepping stone to Temporal-based agents.
47
+
The task-based model is the foundation of production agents. Unlike sync agents where each message is independent, async agents maintain persistent tasks that can receive multiple events, store state, and have full lifecycle management. This is the stepping stone to Temporal-based agents.
Copy file name to clipboardExpand all lines: examples/tutorials/10_async/00_base/020_streaming/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,21 @@
1
1
# [Agentic] Streaming
2
2
3
-
Stream responses in agentic agents using `adk.messages.create()` to send progressive updates. More flexible than sync streaming since you can send multiple messages at any time.
3
+
Stream responses in async agents using `adk.messages.create()` to send progressive updates. More flexible than sync streaming since you can send multiple messages at any time.
4
4
5
5
## What You'll Learn
6
6
- How to stream with explicit message creation
7
-
- Difference between sync and agentic streaming patterns
7
+
- Difference between sync and async streaming patterns
8
8
- When to send multiple messages vs single streamed response
9
9
10
10
## Prerequisites
11
11
- Development environment set up (see [main repo README](https://github.com/scaleapi/scale-agentex))
12
12
- Backend services running: `make dev` from repository root
13
-
- Understanding of agentic basics (see [000_hello_acp](../000_hello_acp/))
13
+
- Understanding of async basics (see [000_hello_acp](../000_hello_acp/))
14
14
15
15
## Quick Start
16
16
17
17
```bash
18
-
cd examples/tutorials/10_agentic/00_base/020_streaming
18
+
cd examples/tutorials/10_async/00_base/020_streaming
19
19
uv run agentex agents run --manifest manifest.yaml
Unlike sync streaming (which uses async generators), agentic streaming uses explicit message creation calls, giving you more control over when and what to send.
36
+
Unlike sync streaming (which uses async generators), async streaming uses explicit message creation calls, giving you more control over when and what to send.
Copy file name to clipboardExpand all lines: examples/tutorials/10_async/00_base/080_batch_events/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,22 @@
1
1
# [Agentic] Batch Events
2
2
3
-
Demonstrates limitations of the base agentic protocol with concurrent event processing. When multiple events arrive rapidly, base agentic agents handle them sequentially, which can cause issues.
3
+
Demonstrates limitations of the base async protocol with concurrent event processing. When multiple events arrive rapidly, base async agents handle them sequentially, which can cause issues.
4
4
5
5
## What You'll Learn
6
-
- Limitations of non-Temporal agentic agents
6
+
- Limitations of non-Temporal async agents
7
7
- Race conditions and ordering issues in concurrent scenarios
8
8
- When you need workflow orchestration
9
9
- Why this motivates Temporal adoption
10
10
11
11
## Prerequisites
12
12
- Development environment set up (see [main repo README](https://github.com/scaleapi/scale-agentex))
13
13
- Backend services running: `make dev` from repository root
14
-
- Understanding of agentic patterns (see previous tutorials)
14
+
- Understanding of async patterns (see previous tutorials)
15
15
16
16
## Quick Start
17
17
18
18
```bash
19
-
cd examples/tutorials/10_agentic/00_base/080_batch_events
19
+
cd examples/tutorials/10_async/00_base/080_batch_events
20
20
uv run agentex agents run --manifest manifest.yaml
21
21
```
22
22
@@ -27,15 +27,15 @@ This tutorial shows **when you need Temporal**. If your agent needs to:
27
27
- Process multiple events in parallel safely
28
28
- Maintain consistent state under concurrent load
29
29
30
-
Then you should use Temporal workflows (see tutorials 10_agentic/10_temporal/) which provide:
30
+
Then you should use Temporal workflows (see tutorials 10_async/10_temporal/) which provide:
31
31
- Deterministic event ordering
32
32
- Safe concurrent processing
33
33
- Guaranteed state consistency
34
34
35
35
This is the "breaking point" tutorial that motivates moving to Temporal for production agents.
36
36
37
37
## When to Use (This Pattern)
38
-
This tutorial shows what NOT to use for production. Use base agentic agents only when:
38
+
This tutorial shows what NOT to use for production. Use base async agents only when:
0 commit comments