1.1.1 • Published 9 months ago

@nhtera/bera-agent-kit v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Bera Agent Kit 🐻🚀

Open-source agent kit for interacting with Berachain protocols using AI and blockchain technologies.

🌟 Features

  • 🤖 AI-powered blockchain interaction
  • 🔗 Seamless integration with Berachain
  • 💻 TypeScript support
  • 🛠️ Multiple blockchain tools and utilities
  • 🔌 Model Context Protocol (MCP) support for integration with Claude and other LLMs

📦 Installation

yarn install bera-agent-kit

🚀 Quick Start

See here

Using with Model Context Protocol

import { createViemWalletClient, createViemPublicClient, getMcpTools } from "bera-agent-kit";

// Initialize clients
const walletClient = createViemWalletClient();
const publicClient = createViemPublicClient(false); // false for mainnet

// Get MCP tools
const { tools, toolHandler } = await getMcpTools(
  configChain,
  walletClient,
  publicClient
);

// Use with your MCP server
// See examples/mcp-server.ts for a complete example

🔧 Prerequisites

  • Node.js 18+
  • OpenAI API Key
  • Berachain Wallet

📚 Documentation

Full documentation available in the docs directory.

🤝 Contributing

See CONTRIBUTING.md

📄 License

MIT License

🐞 Issues

Report issues on our GitHub Issues