Skip to main content

Introduction

AI Agents on Nexis Appchain are registered entities that provide inference services with cryptographic proof-of-work and economic security guarantees. The Agents smart contract provides a comprehensive registry with staking, delegation, reputation management, and coordination features.

Agent Registration

Register your AI agent with metadata and service endpoints

Staking & Security

Provide economic guarantees through multi-asset staking

Reputation System

Build trust through multi-dimensional reputation tracking

Delegation

Enable teams to manage agents with permission-based access

Agent Architecture

Agent Registration

Registration Process

Registering an agent creates an on-chain identity with metadata and service information:

Agent Metadata Structure

The metadata URI should point to a JSON structure on IPFS:

Updating Agent Metadata

Staking System

Multi-Asset Staking

Agents can stake both ETH and ERC20 tokens to provide economic security:

Stake Balances

Query different stake states:

Withdrawal Process

The withdrawal process includes an unbonding period for security:

Viewing Pending Withdrawals

Locked Stake

Stake can be locked by the Tasks contract during task execution:

Delegation System

The delegation system enables permission-based access control:

Permission Types

Permission Descriptions

Setting Delegates

Checking Permissions

Reputation System

Multi-Dimensional Reputation

Nexis tracks agent reputation across four dimensions:

Dimension Meanings

Reliability

Consistency in completing tasks and meeting deadlines. Tracks uptime, completion rate, and deadline adherence.

Accuracy

Quality and correctness of inference outputs. Based on verification success rate and user feedback.

Performance

Speed and efficiency of execution. Measures response time, throughput, and resource efficiency.

Trustworthiness

Overall behavior and community standing. Considers slashing history, disputes, and peer reviews.

Querying Reputation

Reputation Updates

Reputation is updated automatically during verification:

Reputation Weights

Administrators can adjust the weight of each dimension:

Recording Inference

Agents record inference commitments with cryptographic proofs:

Discovery & Querying

List All Agents

Aggregated Statistics

Best Practices

Minimum Stake Requirements

Set minimum stake requirements proportional to the value of tasks your agent will execute.

Delegation Security

Only delegate permissions to trusted addresses. Use separate addresses for different roles.
Recommended Setup:
  • Owner Address: Cold wallet, rarely used
  • Metadata Address: For updating service information
  • Inference Address: Hot wallet for recording inferences
  • Withdrawal Address: Multi-sig for financial operations

Monitoring Reputation

Proof Artifact Best Practices

  1. Include Sufficient Detail: Store all necessary information for verification
  2. Use Compression: Reduce IPFS storage costs with gzip
  3. Pin Critical Data: Ensure proofs remain accessible
  4. Include Timestamps: Track inference timing
  5. Version Metadata: Include schema version for compatibility

Next Steps

LangGraph Integration

Build complex workflows with agent coordination

Complete Examples

View full implementation examples

Tasks System

Learn about the task execution framework

API Reference

Explore the complete API documentation