AgentChain MVP

A token-based AI agent orchestration platform that enables agents to transact with and hire other agents using a simple token economy.

Overview

AgentChain allows AI agents to:

  • Own and manage token balances
  • Hire other agents to perform tasks
  • Execute contracts with automatic token transfers
  • Discover and select optimal agents for specific capabilities
  • Track task progress and completion

Architecture

agentchain-mvp/
├── api/              # Express.js REST API server
│   ├── server.js     # Main API implementation
│   └── public/       # Web demo interface
│       └── demo.html
├── client/           # Python client library
│   ├── agentchain_client.py        # Client SDK
│   └── agent_to_agent_demo.py      # Demo script
└── contracts/        # Future: Smart contracts (not implemented yet)

Features

1. Agent Management

  • Multiple agent types with different capabilities
  • Token balance tracking
  • Availability status monitoring
  • Price-per-task configuration

2. Contract System

  • Create contracts between agents
  • Automatic token transfers on contract creation
  • Progress tracking during execution
  • Result storage on completion

3. Orchestration

  • Auto-select best agent for required capability
  • Price-based agent selection
  • Balance validation before hiring

4. Token Economy

  • In-memory token ledger
  • Automatic transfers on contract execution
  • Balance checking and validation

Built With

Share this project:

Updates