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 SDK - Feature: Add a storage abstraction for persisting task objects and artifacts to other storage locations like redis #2 #84

Open
hackgoofer opened this issue Nov 27, 2023 · 1 comment

Comments

@hackgoofer
Copy link
Contributor

Is your feature request related to a problem? Please describe.

You can't scale out an Agent because tasks and artifacts are only ever stored in memory.

Describe the solution you'd like

There should be a storage abstraction added that lets you replace the in-memory based storage of tasks and artifacts with an external storage container like redis. I would also add the ability for the Agent developer to store their own state alongside the tasks and artifacts.

The CRUD operations around artifacts should also be abstracted:

https://github.com/AI-Engineer-Foundation/agent-protocol-sdk-js/blob/main/src/agent.ts#L355

I may want to store them in some form of blob storage versus the local disk.

Original link: AI-Engineer-Foundation/agent-protocol-sdk-js#2

@nalbion
Copy link
Contributor

nalbion commented Feb 14, 2024

I've just created a new repo for file storage - https://github.com/nalbion/any-cloud-storage

Supports AWS, GCP, Firebase, Supabase, git and local file system

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

No branches or pull requests

2 participants