LitAgents is a groundbreaking blockchain-based platform that enables the creation of autonomous digital agents through smart contracts on Base. These agents can operate independently through decentralized protocols, with their behavior, capabilities, and ownership managed transparently on-chain.
- LitAgents Contract: 0x957Ed109638c79e9A1ba8D03cC2CFa89115e0A9C
- Test Agent Wallet: 0x68Dbf33AE3D6730fb8206f11901e344F971a1b37
-
Autonomous Agent Framework:
- Self-executing smart contracts that manage agent lifecycle and behavior
- Decentralized computation layer for independent task processing
- Resource management system for sustained operation
- Upgradeability patterns for evolution of agent capabilities
-
Onchain Governance:
- Transparent ownership management through ERC-721 tokens
- Configurable permission systems for agent control
- Upgrade mechanisms for adding new features and behaviors
- Multi-signature governance options for shared ownership
-
Technical Components:
- Smart Contracts: Solidity contracts on Base for agent management
- Lit Protocol: Decentralized compute network for autonomous execution
- AI Integration: OpenAI and Replicate APIs for agent intelligence
- Autonomous Operation: Agents continue functioning without human intervention
- Resource Self-Management: Built-in mechanisms for managing compute and storage resources
- Flexible Ownership: Transparent transfer and management of agent ownership
- Upgradeable Architecture: Extensible design allowing agents to evolve over time
- Decentralized Infrastructure: No central points of failure or control
- Blockchain: Solidity, Base L2
- Compute Layer: Lit Protocol
- Storage: IPFS
- AI Services: OpenAI, Replicate
- Development: TypeScript, Node.js
- Install Dependencies:
git clone git@github.com:AgoriaNetwork/lit-agents.git
cd lit-agents
pnpm install
- Deploy Agent Contract:
pnpm hardhat deploy --network base
- Create Autonomous Agent:
pnpm create-agent --config agent-config.json
- Deploy Autonomous Agent:
const agent = await LitAgents.create({
initialBehavior: "data-processing",
resourceConfig: {
computeUnits: 1000,
storageGB: 10
},
upgradeability: true
});
- Transfer Ownership:
await agent.transferOwnership(newOwnerAddress);
- Upgrade Agent Capabilities:
await agent.upgrade(newImplementation);
Contributions are welcome!
MIT