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
Rename acp_type=AGENTIC to ASYNC with backwards compatibility (#20)
This PR makes a major refactor to the Agentex server code by adding the
"async" ACP type, which is meant to replace "agentic". New agents should
use "async", but backwards compatibility with "agentic" agents is still
maintained, though marked as deprecated.
In the future, we should try to migrate all existing "agentic" agents to
async, then completely remove it from the codebase.
A couple surface areas that I want to comment on:
* **Migrations**: A migration to change the default acp type on the
Agents table from "agentic" to "async" has been added
* **Docs**: All references to "agentic" in docs have been removed and
replaced with "async".
* **Testing**: All existing tests using the "agentic" acp type have been
updated to use the new "async" designation, and all of them are passing.
New unit and integration tests have also been added to test backwards
compatibility.
* **Agentex-ui**: No updates have been made to agentex-ui yet, we need
to wait for the new acp type to be available via the SDK after this PR
lands.
* **python SDK**: A separate PR will need to be made (in addition to the
automated stainless ones) to update the jinja templates in the python
SDK to make async the new default.
Copy file name to clipboardExpand all lines: agentex/docs/docs/acp/async/base.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,6 +1,6 @@
1
-
# Base Agentic ACP
1
+
# Base Async ACP
2
2
3
-
**Base Agentic ACP** is the foundational implementation designed for learning and development environments. It provides complete control over task lifecycle while using Agentex's built-in state management.
3
+
**Base Async ACP** is the foundational implementation designed for learning and development environments. It provides complete control over task lifecycle while using Agentex's built-in state management.
4
4
5
5
## When to Use
6
6
@@ -25,14 +25,14 @@
25
25
26
26
### Not Ideal For:
27
27
28
-
❌ **Production Critical Systems** - Use Temporal Agentic ACP
28
+
❌ **Production Critical Systems** - Use Temporal Async ACP
29
29
❌ **Very Large State Requirements** - Consider external storage
30
30
❌ **Enterprise Durability** - No advanced fault tolerance
31
31
❌ **High-Scale Operations** - Better suited for development
32
32
33
33
## State Management
34
34
35
-
Base Agentic ACP requires using Agentex's state management system:
35
+
Base Async ACP requires using Agentex's state management system:
36
36
37
37
```python
38
38
@acp.on_task_create
@@ -187,7 +187,7 @@ Used in `@acp.on_task_cancel` for cleanup:
187
187
188
188
## Next Steps
189
189
190
-
-**Ready for production?** Learn about [Temporal Agentic ACP](temporal.md)
190
+
-**Ready for production?** Learn about [Temporal Async ACP](temporal.md)
191
191
-**Need to upgrade?** See the [Migration Guide](../../concepts/migration_guide.md)
192
192
-**New to Agentex?** Follow the [Quick Start Guide on GitHub](https://github.com/scaleapi/scale-agentex#quick-start)
193
193
-**Ready to build?** Check out [Base Agentic Tutorials on GitHub](https://github.com/scaleapi/scale-agentex-python/tree/main/examples/tutorials/10_agentic/000_base)
Copy file name to clipboardExpand all lines: agentex/docs/docs/acp/async/overview.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
-
# Agentic ACP
1
+
# Async ACP
2
2
3
-
**Agentic ACP** is the powerful, event-driven approach for complex agent interactions. It provides complete control over task lifecycle, state management, and workflows through three distinct handlers.
3
+
**Async ACP** is the powerful, event-driven approach for complex agent interactions. It provides complete control over task lifecycle, state management, and workflows through three distinct handlers.
4
4
5
-
## What is Agentic ACP?
5
+
## What is Async ACP?
6
6
7
-
Agentic ACP provides full lifecycle control where:
7
+
Async ACP provides full lifecycle control where:
8
8
9
9
- You implement **three handler methods** for complete lifecycle management
10
10
- Tasks require **explicit initialization** and cleanup
@@ -13,9 +13,9 @@ Agentic ACP provides full lifecycle control where:
|**State Management**| Agentex state APIs | Temporal event sourcing or Agentex state |
@@ -26,7 +26,7 @@ Agentic ACP can be implemented in two ways:
26
26
27
27
## Core Architecture
28
28
29
-
Both Base and Temporal Agentic ACP share the same three-handler pattern:
29
+
Both Base and Temporal Async ACP share the same three-handler pattern:
30
30
31
31
```python
32
32
@acp.on_task_create
@@ -68,7 +68,7 @@ graph TD
68
68
69
69
## Asynchronous Event Processing
70
70
71
-
Think of Agentic ACP like a **postal system for agents** - each agent has its own mailbox where events are delivered asynchronously, and agents decide when and how to process their mail.
71
+
Think of Async ACP like a **postal system for agents** - each agent has its own mailbox where events are delivered asynchronously, and agents decide when and how to process their mail.
Copy file name to clipboardExpand all lines: agentex/docs/docs/acp/async/temporal.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,6 +1,6 @@
1
-
# Temporal Agentic ACP
1
+
# Temporal Async ACP
2
2
3
-
**Temporal Agentic ACP** provides production-ready agent development with **durable execution**, **fault tolerance**, and **automatic state management**. Instead of implementing ACP handlers directly, you implement Temporal workflows that are automatically integrated with the ACP protocol.
3
+
**Temporal Async ACP** provides production-ready agent development with **durable execution**, **fault tolerance**, and **automatic state management**. Instead of implementing ACP handlers directly, you implement Temporal workflows that are automatically integrated with the ACP protocol.
4
4
5
5
## When to Use
6
6
@@ -26,11 +26,11 @@
26
26
27
27
### Not Ideal For:
28
28
29
-
❌ **Learning Agentex basics** - Start with Base Agentic ACP
29
+
❌ **Learning Agentex basics** - Start with Base Async ACP
-**Getting started?** Learn about [Base Agentic ACP](base.md) first
323
+
-**Getting started?** Learn about [Base Async ACP](base.md) first
324
324
-**Need to migrate?** Check the [Migration Guide](../../concepts/migration_guide.md)
325
325
-**New to Agentex?** Follow the [Quick Start Guide on GitHub](https://github.com/scaleapi/scale-agentex#quick-start)
326
326
-**Ready to build?** Check out [Temporal Tutorials on GitHub](https://github.com/scaleapi/scale-agentex-python/tree/main/examples/tutorials/10_agentic/100_temporal)
0 commit comments