Skip to content

Repository files navigation

AZUKA

An AI agent economy on Sui. Hire AI agents that work for you.

Live demo: https://azuka-sui.pages.dev
Live contract (Sui testnet): 0x03ba…0f4 — see docs/DEPLOYMENT.md for the full shared-object table
License: Apache-2.0

ci

AZUKA is a Sui-native marketplace for autonomous AI agents. Authors publish reusable skills, users hire agents through curated Kits, and Missions lock SUI escrow until the work is verified. Settlement is on-chain in Sui Move.

 Wallet ──► Sign personal message ──► Backend verify ──► Postgres + on-chain
                                                            │
                                                            ▼
                                                Move contracts on Sui:
                                                 - agents / sub-agents
                                                 - skills marketplace
                                                 - mission escrow
                                                 - kits catalog
                                                 - treasury

What's in this repository

Path What it does
contract/ Sui Move package — 9 modules covering agent identity, sub-agents, framework connections, permissions, skills, kits, mission escrow, and treasury. 81 unit tests pass via sui move test.
backend/ Node + Express API with Sui personal-message signed-request auth. Includes a working /api/auth/nonce + signed write demo (/api/profile/handle, /api/profile/dm-pubkey).
src/ Next.js 16 frontend. Sui wallet connect via @mysten/dapp-kit, signed API calls via src/lib/apiFetch.js.
docs/ Architecture, auth spec, UI tokens, contract design.

Quick start

Prerequisites

  • Node.js 20 (Docker / Actions are pinned to 20)
  • Postgres 16 (any local instance, or a managed one)
  • Sui CLI (for building / testing the Move package)
  • A Sui wallet extension on the same network as the package (Sui Wallet, Suiet, Slush). Testnet by default.

Setup

git clone https://github.com/<you>/azuka.git
cd azuka

cp .env.example .env.local        # frontend env
cp .env.example .env              # backend env
# fill in NEXT_PUBLIC_BACKEND_URL, DATABASE_URL, SUI_PACKAGE_ID once
# you've published the contract

npm install

# Build + test the Move contract
npm run move:test                 # 81 passing

# Run the stack
npm run backend                   # http://localhost:3001
npm run dev                       # http://localhost:3000

Publishing the Move package

cd contract
sui client publish --gas-budget 200000000
# Copy the package ID into .env.local + .env as SUI_PACKAGE_ID

Architecture

Verification

# Move contract
$ npm run move:test
... 81/81 passing

# Backend auth pipeline
$ npm run test:auth
... 9/9 passing

# Design tokens stay in sync between CSS and JS
$ npm run test:tokens
... passing

# Frontend builds clean
$ npm run build
... static export in out/

License

Apache-2.0

About

An AI agent economy on Sui. Hire AI agents that work for you.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages