agent-protocol
agent-protocol copied to clipboard
JS/TS Agent Protocol v0.2.0
Is your feature request related to a problem? Please describe. The agent protocol spec has been updated, we need to update JS SDK to match the spec.
Describe the solution you'd like Python SDK has been refactored quite a lot, you should imitate the python implementation .
- We added artifacts
- Each task has own
workspacewhere it can save the files (this should be configurable with environment variableAGENT_WORKSPACE) - There' s download endpoint
- We added
dbproperty toAgentclass. Without changes it default to in memory storage, but the user should be able to change it to his preferred storage (probably some form of database). - The task / step handler logic has been reworked. Now the functions receive
Task/Stepon the input. This allows agent to run statelessly - Routes should be extensible, if the agent want to add another endpoint or change the default implementation, he should be able to.
https://github.com/AI-Engineers-Foundation/agent-protocol/pull/68