Skills2026年4月2日·1 分钟阅读

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.

Agent 就绪

这个资产会安全暂存

这个资产会先安全暂存。复制的指令会要求 Agent 读取暂存文件,并在激活脚本、MCP 配置或全局配置前先确认。

Stage only · 29/100策略:需暂存
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Stage only
信任
信任等级:Established
入口
eliza.md
安全暂存命令
npx -y tokrepo@latest install 90de93bb-bebd-464b-9acd-dfd848a6ff7f --target codex

先暂存文件;激活前需要读取暂存 README 和安装计划。

TL;DR
Eliza is a TypeScript framework for building autonomous AI agents that operate on Discord, Telegram, Twitter, and Slack with RAG memory and a plugin ecosystem.
§01

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.

§02

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.

§03

How to use

  1. Create a new agent project: npx elizaos create my-agent.
  2. Copy .env.example to .env and add your API keys and platform tokens.
  3. Define your agent's character in character.json and start with npx elizaos start.
§04

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"]
}
§05

Related on TokRepo

§06

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.

常见问题

What platforms does Eliza support?+

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.

How does the character system work?+

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.

Does Eliza support RAG memory?+

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.

Can I use local LLMs with Eliza?+

Yes. Eliza supports OpenAI, Anthropic, and local models via Ollama or other OpenAI-compatible endpoints. Configure the model provider in your environment variables.

Is Eliza free to use?+

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.

引用来源 (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
🙏

来源与感谢

Created by elizaOS (originally ai16z). Licensed under MIT.

eliza — ⭐ 18,000+

Thanks to the elizaOS community for creating the leading framework for social AI agents.

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产