Starknet Identity
Register AI agents on-chain using the ERC-8004 Trustless Agents standard.
Install
npx skills add internet-court/internet-court-skill --skill starknet-identity -g -a claude-code -y- Repository
- internet-court/internet-court-skill7k
- Category
- AI and agents
- Updated
- 9d ago
- License
- Apache-2.0
- Context cost
- Mediumabout 2,540 tokens
- Runs scripts
- No, instructions only
What it does
Register AI agents on-chain using the ERC-8004 Trustless Agents standard. Manage agent identity as NFTs, build reputation through feedback, and request third-party validation.
Starknet Identity Skill
Register and manage AI agent identities on Starknet using the ERC-8004 standard.
When to Use
- Registering agents on-chain, updating agent metadata, or managing reputation and validation flows.
- Building features that depend on ERC-8004 identity, feedback, or validator attestations.
When NOT to Use
- Simple wallet, payment, or DeFi flows that do not depend on ERC-8004 registries.
- Cairo contract authoring, deployment-only tasks, or security auditing.
Quick Start
- Install
starknetand connect a funded account to the target ERC-8004 registry deployment. - Use skills catalog if the flow also needs wallet setup, deployment, or contract auditing.
Overview
ERC-8004 defines three interconnected on-chain registries for AI agents:
- Identity Registry -- Agents as ERC-721 NFTs with metadata
- Reputation Registry -- Feedback system with cryptographic authorization
- Validation Registry -- Third-party assessments (zkML, TEE, staker)
Reference implementation: erc8004-cairo
Prerequisites
npm install starknet
Agent Registration
Register a New Agent
import { Account, RpcProvider, Contract, CallData } from "starknet";
const provider = new RpcProvider({ nodeUrl: process.env.STARKNET_RPC_URL });
const account = new Account({ provider, address, signer: privateKey });
const identityRegistry = new Contract({
abi: identityRegistryAbi,
address: registryAddress,
providerOrAccount: account,
});
// Register with metadata
const metadata = [
{ key: "agentName", value: "MyTradingAgent" },
{ key: "agentType", value: "defi-trader" },
{ key: "version", value: "1.0.0" },
{ key: "model", value: "claude-opus-4-5" },
{ key: "status", value: "active" },
];
const tokenUri = "ipfs://QmYourAgentSpecHash"; // IPFS link to full agent spec

