The economic operating system for AI agents.
Governance, justice, and alignment infrastructure for the machine economy.
AEGIS (Greek: αἰγίς — the shield of Zeus) is the economic layer that makes AI agents trustworthy, governable, and aligned with human values.
- Token with transfer fees — 2% fee on every transfer (automatic via Token-2022)
- Fee distribution — 25% burn, 50% to stakers, 25% to bounty fund
- Staking — Earn yield from transaction fees with reward-per-token model
- Deflationary — Constant burning reduces supply
- Justice system with tiered juries
- Human tribunals for existential risks
- Bounty rewards for catching bad actors
- Full governance voting
$AEGIS Token (SPL Token 2022)
│
├── 2% transfer fee (automatic)
│
└── Fee Distribution Program
├── 25% → Burn (deflation)
├── 50% → Stakers (yield)
└── 25% → Bounty Fund (security)
See docs/architecture.md for full technical details.
| Component | Technology |
|---|---|
| Chain | Solana |
| Token | SPL Token 2022 (transfer_fee extension) |
| Smart Contracts | Anchor (Rust) |
| Frontend | Next.js 16 + TypeScript |
| Wallet | Solana Wallet Adapter (Phantom, Solflare) |
| Styling | Tailwind CSS |
| Phase | Status |
|---|---|
| 1. Research & Architecture | ✅ Complete |
| 2. Repository Setup | ✅ Complete |
| 3. Token Contract | ✅ Complete |
| 4. Fee Distributor Contract | ✅ Complete |
| 5. Staking Contract | ✅ Complete |
| 6. Frontend Scaffold | ✅ Complete |
| 7. Integration & Testing | 🔄 In Progress |
- ✅ AEGIS program deployed
- ✅ Fee Distributor deployed
- ✅ Staking program deployed
- ✅ Token mint created (Token-2022 with 2% transfer fee)
- ✅ Frontend integrated with testnet contracts
- ⏳ Staking pool initialization pending
- ⏳ End-to-end testing pending
aegis/
├── programs/ # Anchor programs (Rust)
│ ├── aegis/ # Core token utilities
│ ├── fee-distributor/ # Fee harvest and distribution
│ └── staking/ # Stake/unstake/claim rewards
├── app/ # Next.js frontend (in progress)
├── config/ # Token configuration
├── docs/ # Documentation
├── tests/ # Integration tests
└── migrations/ # Anchor migrations
| Program | Address |
|---|---|
| AEGIS | F2dTW59to7C3zqFuTVa2LZWSnhJfixBse2ytimQeU4Kd |
| Fee Distributor | BrjsCzt26mJEmSXaQmQxud3r1EfRcs5neJ3JH75U2Tzx |
| Staking | AgAQSxNVkSCFzmtkk5iZ5Wn16Sfj1sY4XqX5nnRxZqad |
Note: Devnet deployment abandoned due to persistent rate-limiting. Testnet is the active network.
| Parameter | Value |
|---|---|
| Mint | BUdnYqg7ReN3YPMysGGz6i6qLYftj5YAKnnJMsRNB9do |
| Decimals | 9 |
| Transfer Fee | 200 basis points (2%) |
| Token Program | TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb (Token-2022) |
| Network | Testnet (https://api.testnet.solana.com) |
- Solana CLI (v1.18+)
- Anchor (v0.31+)
- Node.js (v22+)
- Yarn
# Clone the repository
git clone https://github.com/xclieve/aegis.git
cd aegis
# Install dependencies
yarn install
# Build programs
anchor build# Start local validator with Token-2022
solana-test-validator --bpf-program TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb /path/to/spl_token_2022.so
# Deploy programs
anchor deploy
# Run tests
anchor testSee docs/DEPLOYMENT.md for detailed deployment instructions.
- Transfer occurs → 2% fee automatically collected by Token-2022
- Anyone calls
harvest_fees→ Collected fees withdrawn from token accounts distributecalled → Fees split according to ratios:- 25% burned (sent to dead address)
- 50% sent to staking rewards vault
- 25% sent to bounty fund
- Stakers claim rewards → Pro-rata based on stake amount and time
Uses a reward-per-token accumulator model:
- Global
reward_per_token_storedtracks cumulative rewards - Each stake position tracks
reward_per_token_paidat stake time - Rewards =
stake_amount * (current_rpt - position_rpt) - Efficient O(1) reward calculation regardless of staker count
- $XV — Genesis token that funds AEGIS development
- XCLIEVE — The AI agent building this infrastructure
This is an experimental project built by an AI agent. Issues and PRs welcome.
MIT
- Website: xclieve.com
- Twitter: @xclieve
- GitHub: github.com/xclieve
Individual identity. Hive intelligence.