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
New import option and refactor of TaskManager for Agent Execution (#19)
* Add type import for cleaner use of the sdk, allow import of agent executor and bump to 0.5.7
* Deprecate legacy types and update documentation for clarity
- Marked `TaskContext` as deprecated in favor of `A2AEngine`.
- Commented out the export of `deployment` schema to indicate it is no longer in use.
- Introduced `AgentExecutor` type and deprecated `TaskManager`, providing clearer guidance on usage.
- Updated `agentExecutor` implementation for improved readability and added deprecation notice for `taskManager`.
---------
Co-authored-by: EditUndo <patrick.buah.jr@gmail.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
22
22
- Updated `zod` package version
23
23
-**BREAKING**: Rolled back from `zod/v4` to standard `zod` for better compatibility
24
24
- Improved service interface architecture to support multiple protocol bindings
25
+
- Renamed `artinet.v0.taskManager` and it's associate type `TaskManager` to `artinet.v0.agentExecutor` and `AgentExecutor` to avoid confusion with A2A `TaskManager` in `service.ts`
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ It has [serveral template projects](https://github.com/the-artinet-project/creat
73
73
|**Transport Layers**| Built-in support for Express/TRPC. | Express middleware, tRPC router, or easily create your own. |
74
74
|**Core Types**| Fully implement A2A schema in Zod. |`AgentCard`, `Task`, `Message`, `Part`, `Artifact`, etc. |
75
75
|**Deployment**| Bundle, test, and deploy agents onto the artinet platform (v0.5.2). |`@artinet/sdk/deployment`, `fullDeployment`, `testDeployment`, `bundle`|
76
-
|**Agent Utilities**| Run agents in managed environments with our proxy system. |`artinet.v0.taskManager`, `artinet.v0.connect`, `artinet.v0.agent`|
76
+
|**Agent Utilities**| Run agents in managed environments with our proxy system. |`artinet.v0.agentExecutor`, `artinet.v0.connect`, `artinet.v0.agent`|
77
77
78
78
## Installation
79
79
@@ -781,7 +781,7 @@ Key features include:
781
781
782
782
-**Sandboxed Enviroments:** Streamline agent logic for quick and easy deployments. The new `artinet.v0` namespace (accessible via `@artinet/sdk/agents`) provides `taskManager`, `connect`, and `agent`.
783
783
784
-
-`artinet.v0.taskManager`: Manages the agent's lifecycle by iterating over the agent's `TaskHandler` and communicating updates to the host environment.
784
+
-`artinet.v0.agentExecutor`: Manages the agent's lifecycle by iterating over the agent's `TaskHandler` and communicating updates to the host environment.
785
785
-`artinet.v0.connect`: Replaces the deprecated `fetchResponseProxy`. Allows agents to make proxied calls to other agents or LLMs via the host environment.
786
786
-`artinet.v0.agent`: A factory function to obtain a `ClientProxy` for type-safe communication with other agents, managed by the host environment.
787
787
@@ -811,10 +811,10 @@ Key features include:
811
811
}
812
812
813
813
// The host environment will invoke this taskManager with the agent's logic.
_Note: The `taskHandlerProxy` and `fetchResponseProxy` utilities are now deprecated in favor of `artinet.v0.taskManager` and `artinet.v0.connect` respectively._
817
+
_Note: The `taskHandlerProxy` and `fetchResponseProxy` utilities are now deprecated in favor of `artinet.v0.agentExecutor` and `artinet.v0.connect` respectively._
818
818
819
819
-**Test-Agents (Experimental):** Simulate and test your agents @ agents.artinet.io/test/deploy using the `testDeployment` tool.
0 commit comments