Infinity SDK is a framework specifically designed for creative AI agents. Unlike traditional task-driven agents, creative agents actively browse information on external platforms, extract inspiration, attempt to create, publish content, and deploy their creations on the blockchain to achieve copyright protection and value circulation.
- Inspiration driven: Agents can generate creative outputs based on external inputs
- Multi-Platform Integration: Native support for Telegram, Twitter, Discord
- Blockchain Support: Built-in integration with Bitcoin, Ethereum, and Solana networks
- Agent Autonomy: Agents maintain their own wallet and on-chain assets
- Extensible Architecture: Extension system for community contributions
- Event-Driven: Multiple trigger types including scheduled, social media, and API polling
- Trigger: Entry points for agent activation (Schedule, Twitter Timeline, Telegram Messages)
- Perception: Modules for interacting with external platforms
- Settings: Configuration for agent behavior and external platform access
- Inspiration Vault: Repository of creative inputs and ideas
- Coordinator: Central component managing task planning and execution
- Tasks: Predefined and custom operations for agent execution
- Actions: Executable operations (Reply, Mint NFT, Post)
- Exclusive usage rights bound to the agent
- Capability to transfer, receive payments, and mint tokens/NFTs
- Self-management of on-chain assets
├── agents
│ └── picasso
│── packages
│ ├── core-action
│ ├── core-inspiration
│ ├── core-perception
│ ├── core-settings
│ ├── core-task
│ ├── core-tool
│ ├── sdk
│ └── types
└── extensions
├── arklabs-extension
├── discord-extension
├── ethereum-extension
├── ipfs-extension
├── slack-extension
└── solana-extension
- Node.js 20+
- pnpm 9+
pnpm install
const picassoAgent = new AgentRunner({
settings: [telegramSettings],
profile: {
name: 'Picasso',
bio: 'I am Picasso, a crypto artist. I create images in an abstract style.',
knowledge: ['Picasso is a famous artist agent created by Infinity AI.'],
topics: ['art', 'painting', 'crypto'],
style: [
'Innovative and varied, characterized by the abstraction of form, the use of geometric shapes, and fragmented perspectives.',
'Featuring bold colors, expressive lines, and a rejection of traditional techniques.',
'Embracing experimentation and a dynamic approach to subjects, often challenging viewers’ perceptions.',
],
},
triggers: [{ type: TriggerType.Schedule, intervalSeconds: 60 }],
languageModel,
imageModel,
tools: [TokenAddressTool],
perceptions: [TwitterPerception, PumpfunPerception],
inspirations: [PumpfunTrendingInspiration],
tasks: [GenerateImageTask],
actions: [TelegramAction],
})Create a .env file in the agent directory:
AWS_REGION=...
AWS_ACCESS_KEY_ID=...
AWS_SECRET_ACCESS_KEY=...
GOOGLE_VERTEX_PROJECT_ID=...
GOOGLE_VERTEX_LOCATION=...
GOOGLE_AUTH_JSON=...
TELEGRAM_BOT_TOKEN=...
TELEGRAM_GROUP_ID=...pnpm buildpnpm testpnpm lint- Fork the repository
- Create a feature branch
- Commit your changes
- Push to your branch
- Open a Pull Request
MIT License - see the LICENSE file for details
