Eliza — TypeScript AI Social Agent Framework
Build autonomous AI agents for Discord, Telegram, Twitter, and Slack. Plugin ecosystem with RAG memory. By elizaOS. 18K+ stars.
Staging sûr pour cet actif
Cet actif est d'abord staged. Le prompt copié demande à l'agent d'inspecter les fichiers staged avant d'activer scripts, config MCP ou config globale.
npx -y tokrepo@latest install 90de93bb-bebd-464b-9acd-dfd848a6ff7f --target codexStage les fichiers d'abord; l'activation exige la revue du README et du plan staged.
What it is
Eliza is a TypeScript framework for building autonomous AI agents that operate across social platforms. It supports Discord, Telegram, Twitter, and Slack as communication channels. Agents are defined through character files that specify personality, goals, and behavior. The framework includes a plugin ecosystem for extending agent capabilities and RAG-based memory for context retention.
Eliza targets developers building social AI agents, community bots, and autonomous assistants. The character-driven approach means you define who the agent is and how it behaves, not just what it does.
How it saves time or tokens
Eliza provides the platform integration layer that you would otherwise build from scratch. Discord OAuth, Twitter API, Telegram Bot API, and Slack integration are handled by the framework. The character file system means you configure agent behavior declaratively instead of writing custom handler code. RAG memory gives agents long-term context without manual state management.
How to use
- Create a new agent project:
npx elizaos create my-agent. - Copy
.env.exampleto.envand add your API keys and platform tokens. - Define your agent's character in
character.jsonand start withnpx elizaos start.
Example
# Create and start an agent
npx elizaos create my-agent
cd my-agent
cp .env.example .env
# Edit .env with API keys
npx elizaos start
{
"name": "TechBot",
"bio": "A helpful AI assistant for developer communities",
"lore": ["Passionate about open-source software"],
"messageExamples": [
[
{"user": "user1", "content": "What is TypeScript?"},
{"user": "TechBot", "content": "TypeScript adds static types to JavaScript. It catches bugs at compile time."}
]
],
"plugins": ["@elizaos/plugin-discord", "@elizaos/plugin-twitter"]
}
Related on TokRepo
- Agent Tools — AI agent frameworks
- Automation Tools — Bot and automation platforms
Common pitfalls
- Each platform has rate limits and terms of service. Aggressive posting or messaging on Twitter or Discord can get your agent banned. Configure posting frequency conservatively.
- Character files define agent personality but do not prevent all undesirable outputs. Add explicit constraints in the character's rules and lore sections.
- RAG memory grows over time. Implement memory pruning or summarization to prevent context windows from filling with irrelevant historical data.
Questions fréquentes
Eliza supports Discord, Telegram, Twitter/X, and Slack. Each platform is available as a plugin that you add to your character configuration. The framework handles platform-specific API integration.
Characters are JSON files that define the agent's name, bio, personality traits (lore), example conversations, and active plugins. The character shapes how the agent responds and interacts across all connected platforms.
Yes. Eliza includes RAG-based memory that stores and retrieves relevant context from past conversations. This gives agents long-term memory without manually managing conversation history.
Yes. Eliza supports OpenAI, Anthropic, and local models via Ollama or other OpenAI-compatible endpoints. Configure the model provider in your environment variables.
Eliza is open source. You pay for LLM API calls and any platform-specific costs (e.g., Twitter API access). The framework itself has no licensing fees.
Sources citées (3)
- Eliza GitHub— Eliza is a TypeScript framework for autonomous AI agents on social platforms
- elizaOS Documentation— Character-driven AI agent development with plugin ecosystem
- elizaOS— AI social agent patterns and platform integration
En lien sur TokRepo
Source et remerciements
Fil de discussion
Actifs similaires
Better Auth — Framework-Agnostic Authentication for TypeScript
Better Auth is a comprehensive TypeScript authentication library that provides email/password, OAuth, multi-factor, and session management out of the box. It works with any framework and any database, offering a plugin system for extending authentication flows without vendor lock-in.
OpenAI Agents JS — TypeScript Multi-Agent SDK
OpenAI Agents JS brings multi-agent workflows to TypeScript with provider-agnostic runs, zod schemas, tracing hooks, and sandbox agent patterns.
AT Protocol — Decentralized Social Networking Framework by Bluesky
The Authenticated Transfer Protocol is an open framework for building decentralized social applications, developed by the Bluesky team.
vurb.ts — TypeScript Framework for MCP Servers
vurb.ts scaffolds TypeScript MCP servers with file-based tool routing, optional Prisma/n8n/OpenAPI vectors, and one-command deploy targets.