Explore our growing ecosystem of DeAI applications in the awesome-aiforge repository.
Secure your AI agents with multiple authentication methods. From simple API keys for development to enterprise multi-signature schemes for high-value operations.
Simple API key-based authentication for development
Connect using MetaMask or other Web3 wallets
Enterprise-grade multi-signature authentication
Biometric authentication for mobile agents
import { AIForge } from '@aiforge/sdk'
// Initialize with API key
const aiforge = new AIForge({
apiKey: process.env.AIFORGE_API_KEY,
network: '0g-mainnet'
})
// Create authenticated agent
const agent = await aiforge.createAgent({
name: 'My Trading Bot',
type: 'defi-trading'
})
console.log('Agent authenticated:', agent.id)
import { AIForge } from '@aiforge/sdk'
import { ethers } from 'ethers'
// Connect wallet
const provider = new ethers.providers.Web3Provider(window.ethereum)
await provider.send("eth_requestAccounts", [])
const signer = provider.getSigner()
// Initialize with wallet
const aiforge = new AIForge({
signer: signer,
network: '0g-mainnet'
})
// Wallet address becomes agent identity
const agent = await aiforge.createAgent({
name: 'Wallet-Controlled Agent',
owner: await signer.getAddress()
})
import { AIForge } from '@aiforge/sdk'
// Multi-signature configuration
const multiSigConfig = {
signers: [
'0x1234...', // Admin wallet
'0x5678...', // Operations wallet
'0x9abc...' // Security wallet
],
threshold: 2, // Require 2 of 3 signatures
timelock: 3600 // 1 hour timelock for sensitive operations
}
const aiforge = new AIForge({
multiSig: multiSigConfig,
network: '0g-mainnet'
})
// High-value operations require multiple signatures
const agent = await aiforge.createAgent({
name: 'Enterprise Trading Bot',
maxInvestment: '100000 USDC', // Requires multi-sig approval
requiresApproval: true
})
All communications encrypted with AES-256
Enterprise-grade key management and storage
Multiple authentication factors for enhanced security
Comprehensive logging and compliance features
Comprehensive security, availability, and confidentiality controls
Full compliance with European data protection regulations
International standard for information security management