Skip to content

Home

auto_dev is a library built on top of Open Autonomy. Open Autonomy is a decentralized protocol that helps automate complex operations on blockchain networks. Think of it as a way to create and manage smart AI agents that can work independently or together to perform various tasks. The protocol is built on two main frameworks: Open AEA and Open Autonomy.

Open AEA: Your Individual AI Agent

The Autonomous Economic Agent (AEA) framework is like a toolkit for building individual smart agents. Think of an AEA as your personal AI assistant that can handle economic tasks without constant supervision.

Open AEA Architecture

Here's what makes up an individual agent:

1. Agent Framework & Decision Maker

  • The "brain" of your agent
  • Manages goals and preferences
  • Controls the wallet
  • Decides what actions to take

2. Skills

Like apps on your phone, skills give your agent different capabilities: - Handlers: React to external events (like responding to messages) - Behaviors: Take proactive actions (like scheduling regular tasks)

3. Communication Tools

  • Envelopes: Special containers for messages between agents
  • Protocols: Rules for how agents talk to each other
  • Connections: Ways to connect with other agents and external services

4. Contracts

Smart contracts that define the rules your agent follows when interacting with blockchains

Open Autonomy: Your Decentralized Automated Business

Agent Service Architecture

The Open Autonomy framework helps you organize multiple agents to work together, like running an automated factory. It's built for creating decentralized services that can: - Run continuously without central control - Make group decisions through consensus - Handle complex operations that smart contracts can't do alone

Key Components

  1. Agent Services: Groups of agents working together off-chain
  2. Registry Contracts: Think of these as the employee directory:
  3. Component Registry: Lists available tools (like HTTP servers, smart contracts, APIs)
  4. Agent Registry: Lists different types of agents and their capabilities
  5. Service Registry: Lists available services and their agent teams

  6. Support Systems:

  7. Event Listener: Watches the blockchain for important events
  8. Task Scheduler: Manages when agents should perform tasks
  9. Monitoring: Tracks how well everything is working

Real World Example: Price Oracle Service

Here's how both frameworks might work together in a real application:

  1. Individual Agent (Open AEA):
  2. Fetches price data from exchanges
  3. Manages its own wallet
  4. Communicates with other agents

  5. Service (Open Autonomy):

  6. Multiple agents collect prices from different sources
  7. Agents reach consensus on the correct price
  8. Service submits agreed price to blockchain
  9. Handles agent failures automatically
  10. Distributes rewards to operators

Now that you know this, lets get started!