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

Typescript agenkit should install only dependencies of enabled action provider #332

Open
debuggingfuture opened this issue Feb 10, 2025 · 1 comment

Comments

@debuggingfuture
Copy link
Contributor

🚀 The feature, motivation and pitch

currently we have to mix dependencies of all action providers to agentkit at package.json

e.g. you will need to install dependencies of twitter api even if your agent do not tweet and runs only morpho provider. This increase dev complexity with dependency hell of each package and also risks of package supply chain attack.
More obvious when you have different package each depends on viem, ethers-v5 or ethers-v6

Typical solution will be

  1. a plugin systems with monorepo where each action has its own dependency (package.json), as in langchain / eliza
  2. agentkit is a template, use cli to install only what is needed when you turn on a action provider (shadcn style)

End goal is only necessary packages end up in application agent's dependencies, within agentkit they stay as devDependencies or peerDependencies

wonder if related plans exists already?

Alternatives

No response

Additional context

No response

@0xRAG
Copy link
Contributor

0xRAG commented Feb 10, 2025

Thanks for flagging @debuggingfuture – In short, yes this is something we're aiming to improve soon

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

No branches or pull requests

2 participants