Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS/TS Agent Protocol v0.2.0 #25

Open
jakubno opened this issue Aug 8, 2023 · 1 comment
Open

JS/TS Agent Protocol v0.2.0 #25

jakubno opened this issue Aug 8, 2023 · 1 comment
Labels
good first issue Good for newcomers

Comments

@jakubno
Copy link
Contributor

jakubno commented Aug 8, 2023

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 workspace where it can save the files (this should be configurable with environment variable AGENT_WORKSPACE)
  • There' s download endpoint
  • We added db property to Agent class. 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 / Step on 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.
@jakubno jakubno added the good first issue Good for newcomers label Aug 8, 2023
@hackgoofer
Copy link
Contributor

#68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants