Skip to content

vicsnet/agent

Repository files navigation

Onchain Agent Powered by AgentKit

This is a Next.js project bootstrapped with create-onchain-agent.

It integrates AgentKit to provide AI-driven interactions with on-chain capabilities.

Getting Started

First, install dependencies:

npm install

Then, configure your environment variables:

mv .env.local .env

Run the development server:

npm run dev

Open http://localhost:3000 in your browser to see the project.

Configuring Your Agent

You can modify your configuration of the agent. By default, your agentkit configuration occurs in the /api/agent/prepare-agentkit.ts file, and agent instantiation occurs in the /api/agent/create-agent.ts file.

1. Select Your LLM

Modify the OpenAI model instantiation to use the model of your choice.

2. Select Your Wallet Provider

AgentKit requires a Wallet Provider to interact with blockchain networks.

3. Select Your Action Providers

Action Providers define what your agent can do. You can use built-in providers or create your own.


Create a Smart Contract Agent

image

Create an Automated Trading Agent

image

Marketting Agent with ERC20 tokens

image

Hedge Fund - ERC20 tokens with 1 million supply

image

Owner's address is having responsibility to distribute tokens

image

Token Address

image

Token Contract

image

Token Holders

image

Token Information

image

Create a Smart Contract Agent with Voice

voice-recording.mov

Next Steps

  • Explore the AgentKit README: AgentKit Documentation
  • Learn more about available Wallet Providers & Action Providers.
  • Experiment with custom Action Providers for your specific use case.

Learn More


Contributing

Interested in contributing to AgentKit? Follow the contribution guide:

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages