Project Name
AgentMeter — Ship, Monitor & Meter On-Chain AI Agents in Minutes
By KNN3
Problem Statement
Deploying AI-powered smart agents on Hyperion is still artisanal. Developers must hand-roll deployment scripts, wire up Hyperion’s co-agent precompile, and have no way to see how much gas, compute, or token flow their agents consume. This lack of standard DevOps and usage visibility prevents builders from iterating fast and dApps from trusting or paying for those agents.
Solution Overview
AgentMeter adds a DevOps-plus-observability layer to Hyperion:
- One-Click Deploy CLI packages an agent into an Alith-compatible WASM bundle, pins it to IPFS, and registers it on-chain.
- Co-Agent Runtime Adapter exposes Hyperion’s built-in LLM/vector functions as a tiny Solidity interface that agents call inside the same transaction.
- On-Chain Usage Metering logs gas, CPU ms, and token in/out to
MeteringVault
. Dashboards surface live analytics.
The result: builders deploy and test agents in minutes, dApps can consume them with clear SLAs, and the groundwork is laid for future billing and rev-share. No other tool unifies deploy → inference → metrics fully on-chain.
Project Description
AgentMeter is a lightweight DevOps toolkit plus smart-contract suite that makes Hyperion’s AI co-agent and Alith models feel like first-class cloud primitives.
Core MVP features (delivered during HyperHack)
- AgentRegistry.sol Maps agent IDs to IPFS CIDs & Alith model flags.
- AgentExecution Proxy Wraps calls to the Hyperion co-agent precompile (
0x…HYPER_COAGENT
) so Solidity code can invokellmPrompt()
orvecSearch()
with one line. - MeteringVault.sol Emits
Usage()
events containingagentId
,gasUsed
,cpuMs
,tokenIn/out
,alithModelId
. - agentmeter CLI
agentmeter push
compile (Rust/Alith)
pin
register.
Tech stack Solidity (Foundry), Rust (Alith SDK), TypeScript (Next.js dashboard), GraphQL Subgraph.
User flow
- Dev writes agent logic in Rust/TS, adds
alith.toml
. agentmeter push
deploys; a testnet link appears.- dApp calls the agent; proxy routes inference through co-agent; metering logs pop onto the dashboard in real time.
We’re excited because this finally gives Hyperion builders the “Heroku moment” for on-chain AI — instant deploys plus deep observability.
Architecture Diagram (MVP)
graph TD
A[Dev Laptop] -->|agentmeter push| B(IPFS/Arweave)
B --> C[AgentRegistry.sol]
C -->|emit NewAgent()| D[AgentExecution Proxy]
D -->|LLM / Vector call| E[Hyperion Co‑Agent precompile]
D -->|log Usage()| F[MeteringVault.sol]
F -->|events| G[Subgraph Indexer]
G --> H[Next.js + Wagmi Dashboard]
Community Engagement Features
Task | Points | Why it’s fun / sticky |
---|---|---|
Deploy a sample agent via agentmeter push on testnet |
+50 | Devs feel the “it just works” moment. |
Invoke any listed agent 10× and view live metrics | +30 | Real-time dashboard ≈ instant gratification game loop. |
Report a bug or PR (≥ 1 line of code merged) | +40 | Contributors see their name in the credits board. |
Create a public tutorial tweet/thread showing results | +20 | Social proof loops new users back in. |
Gamification mechanics
- Each wallet accrues points on-chain; a leaderboard updates every block.
- Top 20 scorers receive exclusive NFT badges (future fee discounts).
- “Combo multipliers” for completing tasks within 24 h of each other encourage streaks.
This turns onboarding into a mini-quest and seeds early network effects.
Getting Involved
DM @wenqingyu on X / Telegram for the collaboration and contribution, let’s make on-chain AI DevOps effortless together!
Email: [email protected]
- Project partnership for the marketing collaboration & dev growth.
- Development collaboration and contribution on Solidity, front-end devs and protocol integration.
- Support on test drive agents, UX feedback, or help write docs/tutorials.