Introduction

Welcome to the Bitcoin x AI working group!

Overview

We are developing primitives for integrating L2 Bitcoin into resources and tools that expand the capabilities of AI agents.

CrewAI Agent Framework

We use the CrewAI Agent Framework which enables the following key concepts:

  • agents: individual AI agents with a role, backstory, and tools

  • tools: functions available to the agent while completing a task

  • tasks: assignments the agent should complete and expected output

  • crew: a group of agents that complete a list of tasks and provide a final result

Stacks.js SDK

We also use the Stacks.js SDK for interacting with wallets, smart contracts, and on-chain data.

  • For agents, wallet and on-chain tools are provided through Bun.js scripts in the agent-tools-ts repository which are accessible through a Python runner.

  • For the API example, Stacks.js packages are used for reading and responding to on-chain data, as well as encoding/decoding digital signatures.

  • The SDK provides options for integrations with or without private key access, including several tools to interact with popular wallet extensions like Leather and Xverse as well as operate with direct CLI access (how agent tooling works now).

Resources

Repositories

Main GitHub Organization: aibtcdev

Last updated