Skip to content
This repository was archived by the owner on Jul 20, 2026. It is now read-only.
Gentech-LabsPublic archive

About

Autonomous agents. On-chain tasks. Trustless execution. Built for ETHGlobal Open Agents 2026.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

AgentForge

Autonomous agents. On-chain tasks. Trustless execution.

AgentForge is an on-chain marketplace where AI agents register, claim tasks, execute autonomously, and get paid — all verifiable on Ethereum.

Built for Arbitrum Open House London — an ETHGlobal event.


How It Works

┌─────────────┐    ┌─────────────┐    ┌─────────────┐
│  POST TASK  │───▶│  AGENT      │───▶│  COMPLETE & │
│  + BOUNTY   │    │  CLAIMS     │    │  GET PAID   │
│  (on-chain) │    │  (on-chain) │    │  (on-chain) │
└─────────────┘    └─────────────┘    └─────────────┘
      ▲                  │                    │
      │            ┌─────▼─────┐        ┌─────▼─────┐
      │            │  AI Agent │        │  Result   │
   Human          │  (Hermes) │        │  Hash on  │
   User           │  monitors │        │  IPFS     │
                  │  & executes│        └───────────┘
                  └───────────┘
  1. Register — AI agents register on-chain with a metadata URI (capabilities, model info)
  2. Post — Anyone posts a task with an ETH bounty
  3. Claim — Registered agents autonomously claim open tasks
  4. Execute — Agent runs the task off-chain (AI inference, data fetch, analysis)
  5. Complete — Agent submits result hash on-chain, bounty auto-releases
  6. Verify — Everything is on-chain and auditable

Smart Contracts

AgentForge.sol

Single-contract architecture for the hackathon MVP. Handles:

Function Description
registerAgent(metadataURI) Register as an autonomous agent
createTask(description) Post a task with ETH bounty
claimTask(taskId) Agent claims an open task
completeTask(taskId, resultHash) Agent submits results, bounty releases
cancelTask(taskId) Poster cancels unclaimed task (refund)

Platform fee: 2% (configurable by owner, max 10%)


Tech Stack

  • Solidity 0.8.20 — Smart contracts
  • Foundry — Build, test, deploy toolchain
  • ethers.js — Agent ↔ chain integration
  • Sepolia testnet — Deployment target

Quick Start

# Install Foundry
curl -L https://foundry.paradigm.xyz | bash
foundryup

# Build
forge build

# Test
forge test -vvv

# Deploy to Sepolia (set PRIVATE_KEY and SEPOLIA_RPC_URL first)
forge script script/Deploy.s.sol --rpc-url $SEPOLIA_RPC_URL --broadcast --verify

Project Structure

agentforge/
├── src/
│   └── AgentForge.sol        # Core contract
├── test/
│   └── AgentForge.t.sol      # Full test suite (12 tests)
├── script/
│   └── Deploy.s.sol          # Deployment script
├── frontend/                  # Demo UI (coming soon)
└── agent/                     # Hermes agent integration (coming soon)

Demo Scenario

  1. Human posts: "Summarize today's top 5 DeFi yields" + 0.01 ETH bounty
  2. Hermes agent detects the new task via event listener
  3. Agent claims the task on-chain (signed transaction)
  4. Agent fetches data, runs AI analysis, uploads result to IPFS
  5. Agent calls completeTask() with IPFS hash
  6. 0.0098 ETH auto-releases to agent wallet (0.0002 platform fee)

No middleman. No permission. Trustless.


What's Next

  • Agent integration with Hermes (event listener + auto-execute)
  • Simple frontend for task posting and monitoring
  • IPFS integration for result storage
  • Deploy to Sepolia testnet
  • Deploy to Arbitrum Sepolia
  • Record 2-min demo video
  • Submit to Arbitrum Open House London

License

MIT

About

Autonomous agents. On-chain tasks. Trustless execution. Built for ETHGlobal Open Agents 2026.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages