feat: npm cli - generate core primitives - #589
Merged
Merged
Conversation
✅ Heimdall Review Status
|
pattiscott973
approved these changes
Mar 19, 2025
|
Review Error for pattiscott973 @ 2025-03-19 20:47:42 UTC |
CarsonRoscoe
force-pushed
the
feat/npm-cli-generate
branch
from
March 19, 2025 21:47
599408a to
6bbd7bb
Compare
0xRAG
reviewed
Mar 20, 2025
0xRAG
reviewed
Mar 21, 2025
0xRAG
reviewed
Mar 21, 2025
0xRAG
reviewed
Mar 21, 2025
0xRAG
reviewed
Mar 21, 2025
0xRAG
reviewed
Mar 21, 2025
0xRAG
reviewed
Mar 21, 2025
0xRAG
reviewed
Mar 21, 2025
…ction and propogated through the template
0xRAG
reviewed
Mar 24, 2025
0xRAG
reviewed
Mar 24, 2025
0xRAG
reviewed
Mar 24, 2025
0xRAG
reviewed
Mar 24, 2025
0xRAG
reviewed
Mar 24, 2025
0xRAG
reviewed
Mar 24, 2025
Contributor
|
@CarsonRoscoe Looking great, I've ran a few generate commands and left some more nits |
0xRAG
reviewed
Mar 25, 2025
This was referenced Mar 25, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a suite of generative tools to generate the core building blocks for AgentKit. The use-case for these tools is to easily add AgentKit to an existing application.
The base
npm create onchain-agentbehavior is unchanged. It remains the quickstart CLI.After installing create-onchain-agent, a second cli,
agentkit, will be installed alongside it. This allows you to access the following 4 new commands:This PR adds the following 4 new commands:
agentkit generate wallet-providerwill generate a custom wallet provider (e.g.turnkeyWalletProvider.ts)agentkit generate action-providerwill generate a custom action provider (e.g.baseActionProvider.ts)agentkit generate preparewill generate aprepareAgentkit.tsfile that will do all the framework-agnostic Agentkit work. This function will return the the results fromAgentkit.from(walletProvider, actionProviders)along with the associated walletProvider.agentkit generate create-agentwill generate acreateAgent.tsfile that is framework-specific. It assumes the existence of an associatedprepareAgentkit.tsfile.Tests
create onchain-agentregression tests worked and are unchanged in behavioragentkit generate preparecasesagentkit generate create-agentcasesagentkit generate wallet-providercaseagentkit generate action-providercaseChecklist
A couple of things to include in your PR for completeness: