Skip to content

Commit 66de6f5

Browse files
authored
Merge branch 'ai16z:main' into plugin-evm-multichain
2 parents 5b76da6 + 1c9a5a1 commit 66de6f5

File tree

13 files changed

+987
-2168
lines changed

13 files changed

+987
-2168
lines changed

.env.example

+9
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ DISCORD_VOICE_CHANNEL_ID= # The ID of the voice channel the bot should join (opt
55

66
# AI Model API Keys
77
OPENAI_API_KEY= # OpenAI API key, starting with sk-
8+
SMALL_OPENAI_MODEL= # Default: gpt-4o-mini
9+
MEDIUM_OPENAI_MODEL= # Default: gpt-4o
10+
LARGE_OPENAI_MODEL= # Default: gpt-4o
11+
EMBEDDING_OPENAI_MODEL= # Default: text-embedding-3-small
12+
IMAGE_OPENAI_MODEL= # Default: dall-e-3
813

914
# Eternal AI's Decentralized Inference API
1015
ETERNALAI_URL=
@@ -107,6 +112,10 @@ LLAMALOCAL_PATH= # Default: "" which is the current directory in plugin-node/dis
107112

108113
# API Keys
109114
ANTHROPIC_API_KEY= # For Claude
115+
SMALL_ANTHROPIC_MODEL= # Default: claude-3-haiku-20240307
116+
MEDIUM_ANTHROPIC_MODEL= # Default: claude-3-5-sonnet-20241022
117+
LARGE_ANTHROPIC_MODEL= # Default: claude-3-5-sonnet-20241022
118+
110119
HEURIST_API_KEY= # Get from https://heurist.ai/dev-access
111120

112121
# Heurist Models

.github/workflows/require-develop.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Check pull request source branch
2+
on:
3+
pull_request_target:
4+
types:
5+
- opened
6+
- reopened
7+
- synchronize
8+
- edited
9+
jobs:
10+
check-branches:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Check branches
14+
run: |
15+
if [ ${{ github.head_ref }} != "develop" ] && [ ${{ github.base_ref }} == "main" ]; then
16+
echo "Merge requests to main branch are only allowed from dev branch."
17+
exit 1
18+
fi

README.md

+133-133
Original file line numberDiff line numberDiff line change
@@ -1,133 +1,133 @@
1-
# Eliza 🤖
2-
3-
<div align="center">
4-
<img src="./docs/static/img/eliza_banner.jpg" alt="Eliza Banner" width="100%" />
5-
</div>
6-
7-
<div align="center">
8-
9-
📖 [Documentation](https://ai16z.github.io/eliza/) | 🎯 [Examples](https://github.com/thejoven/awesome-eliza)
10-
11-
</div>
12-
13-
## 🌍 README Translations
14-
15-
[中文说明](./README_CN.md) | [日本語の説明](./README_JA.md) | [한국어 설명](./README_KOR.md) | [Français](./README_FR.md) | [Português](./README_PTBR.md) | [Türkçe](./README_TR.md) | [Русский](./README_RU.md) | [Español](./README_ES.md) | [Italiano](./README_IT.md) | [ไทย](./README_TH.md)
16-
17-
## ✨ Features
18-
19-
- 🛠️ Full-featured Discord, Twitter and Telegram connectors
20-
- 🔗 Support for every model (Llama, Grok, OpenAI, Anthropic, etc.)
21-
- 👥 Multi-agent and room support
22-
- 📚 Easily ingest and interact with your documents
23-
- 💾 Retrievable memory and document store
24-
- 🚀 Highly extensible - create your own actions and clients
25-
- ☁️ Supports many models (local Llama, OpenAI, Anthropic, Groq, etc.)
26-
- 📦 Just works!
27-
28-
## 🎯 Use Cases
29-
30-
- 🤖 Chatbots
31-
- 🕵️ Autonomous Agents
32-
- 📈 Business Process Handling
33-
- 🎮 Video Game NPCs
34-
- 🧠 Trading
35-
36-
## 🚀 Quick Start
37-
38-
### Prerequisites
39-
40-
- [Python 2.7+](https://www.python.org/downloads/)
41-
- [Node.js 23+](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
42-
- [pnpm](https://pnpm.io/installation)
43-
44-
> **Note for Windows Users:** [WSL 2](https://learn.microsoft.com/en-us/windows/wsl/install-manual) is required.
45-
46-
### Use the Starter (Recommended)
47-
48-
```bash
49-
git clone https://github.com/ai16z/eliza-starter.git
50-
51-
cp .env.example .env
52-
53-
pnpm i && pnpm start
54-
```
55-
56-
Then read the [Documentation](https://ai16z.github.io/eliza/) to learn how to customize your Eliza.
57-
58-
### Manually Start Eliza (Only recommended if you know what you are doing)
59-
60-
```bash
61-
# Clone the repository
62-
git clone https://github.com/ai16z/eliza.git
63-
64-
# Checkout the latest release
65-
# This project iterates fast, so we recommend checking out the latest release
66-
git checkout $(git describe --tags --abbrev=0)
67-
```
68-
69-
### Start Eliza with Gitpod
70-
71-
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/ai16z/eliza/tree/main)
72-
73-
### Edit the .env file
74-
75-
Copy .env.example to .env and fill in the appropriate values.
76-
77-
```
78-
cp .env.example .env
79-
```
80-
81-
Note: .env is optional. If your planning to run multiple distinct agents, you can pass secrets through the character JSON
82-
83-
### Automatically Start Eliza
84-
85-
This will run everything to setup the project and start the bot with the default character.
86-
87-
```bash
88-
sh scripts/start.sh
89-
```
90-
91-
### Edit the character file
92-
93-
1. Open `agent/src/character.ts` to modify the default character. Uncomment and edit.
94-
95-
2. To load custom characters:
96-
- Use `pnpm start --characters="path/to/your/character.json"`
97-
- Multiple character files can be loaded simultaneously
98-
3. Connect with X (Twitter)
99-
- change `"clients": []` to `"clients": ["twitter"]` in the character file to connect with X
100-
101-
### Manually Start Eliza
102-
103-
```bash
104-
pnpm i
105-
pnpm build
106-
pnpm start
107-
108-
# The project iterates fast, sometimes you need to clean the project if you are coming back to the project
109-
pnpm clean
110-
```
111-
112-
#### Additional Requirements
113-
114-
You may need to install Sharp. If you see an error when starting up, try installing it with the following command:
115-
116-
```
117-
pnpm install --include=optional sharp
118-
```
119-
120-
### Community & contact
121-
122-
- [GitHub Issues](https://github.com/ai16z/eliza/issues). Best for: bugs you encounter using Eliza, and feature proposals.
123-
- [Discord](https://discord.gg/ai16z). Best for: sharing your applications and hanging out with the community.
124-
125-
## Contributors
126-
127-
<a href="https://github.com/ai16z/eliza/graphs/contributors">
128-
<img src="https://contrib.rocks/image?repo=ai16z/eliza" />
129-
</a>
130-
131-
## Star History
132-
133-
[![Star History Chart](https://api.star-history.com/svg?repos=ai16z/eliza&type=Date)](https://star-history.com/#ai16z/eliza&Date)
1+
# Eliza 🤖
2+
3+
<div align="center">
4+
<img src="./docs/static/img/eliza_banner.jpg" alt="Eliza Banner" width="100%" />
5+
</div>
6+
7+
<div align="center">
8+
9+
📖 [Documentation](https://ai16z.github.io/eliza/) | 🎯 [Examples](https://github.com/thejoven/awesome-eliza)
10+
11+
</div>
12+
13+
## 🌍 README Translations
14+
15+
[中文说明](./README_CN.md) | [日本語の説明](./README_JA.md) | [한국어 설명](./README_KOR.md) | [Français](./README_FR.md) | [Português](./README_PTBR.md) | [Türkçe](./README_TR.md) | [Русский](./README_RU.md) | [Español](./README_ES.md) | [Italiano](./README_IT.md) | [ไทย](./README_TH.md) | [Deutsch](./README_DE.md)
16+
17+
## ✨ Features
18+
19+
- 🛠️ Full-featured Discord, Twitter and Telegram connectors
20+
- 🔗 Support for every model (Llama, Grok, OpenAI, Anthropic, etc.)
21+
- 👥 Multi-agent and room support
22+
- 📚 Easily ingest and interact with your documents
23+
- 💾 Retrievable memory and document store
24+
- 🚀 Highly extensible - create your own actions and clients
25+
- ☁️ Supports many models (local Llama, OpenAI, Anthropic, Groq, etc.)
26+
- 📦 Just works!
27+
28+
## 🎯 Use Cases
29+
30+
- 🤖 Chatbots
31+
- 🕵️ Autonomous Agents
32+
- 📈 Business Process Handling
33+
- 🎮 Video Game NPCs
34+
- 🧠 Trading
35+
36+
## 🚀 Quick Start
37+
38+
### Prerequisites
39+
40+
- [Python 2.7+](https://www.python.org/downloads/)
41+
- [Node.js 23+](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
42+
- [pnpm](https://pnpm.io/installation)
43+
44+
> **Note for Windows Users:** [WSL 2](https://learn.microsoft.com/en-us/windows/wsl/install-manual) is required.
45+
46+
### Use the Starter (Recommended)
47+
48+
```bash
49+
git clone https://github.com/ai16z/eliza-starter.git
50+
51+
cp .env.example .env
52+
53+
pnpm i && pnpm start
54+
```
55+
56+
Then read the [Documentation](https://ai16z.github.io/eliza/) to learn how to customize your Eliza.
57+
58+
### Manually Start Eliza (Only recommended if you know what you are doing)
59+
60+
```bash
61+
# Clone the repository
62+
git clone https://github.com/ai16z/eliza.git
63+
64+
# Checkout the latest release
65+
# This project iterates fast, so we recommend checking out the latest release
66+
git checkout $(git describe --tags --abbrev=0)
67+
```
68+
69+
### Start Eliza with Gitpod
70+
71+
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/ai16z/eliza/tree/main)
72+
73+
### Edit the .env file
74+
75+
Copy .env.example to .env and fill in the appropriate values.
76+
77+
```
78+
cp .env.example .env
79+
```
80+
81+
Note: .env is optional. If your planning to run multiple distinct agents, you can pass secrets through the character JSON
82+
83+
### Automatically Start Eliza
84+
85+
This will run everything to setup the project and start the bot with the default character.
86+
87+
```bash
88+
sh scripts/start.sh
89+
```
90+
91+
### Edit the character file
92+
93+
1. Open `agent/src/character.ts` to modify the default character. Uncomment and edit.
94+
95+
2. To load custom characters:
96+
- Use `pnpm start --characters="path/to/your/character.json"`
97+
- Multiple character files can be loaded simultaneously
98+
3. Connect with X (Twitter)
99+
- change `"clients": []` to `"clients": ["twitter"]` in the character file to connect with X
100+
101+
### Manually Start Eliza
102+
103+
```bash
104+
pnpm i
105+
pnpm build
106+
pnpm start
107+
108+
# The project iterates fast, sometimes you need to clean the project if you are coming back to the project
109+
pnpm clean
110+
```
111+
112+
#### Additional Requirements
113+
114+
You may need to install Sharp. If you see an error when starting up, try installing it with the following command:
115+
116+
```
117+
pnpm install --include=optional sharp
118+
```
119+
120+
### Community & contact
121+
122+
- [GitHub Issues](https://github.com/ai16z/eliza/issues). Best for: bugs you encounter using Eliza, and feature proposals.
123+
- [Discord](https://discord.gg/ai16z). Best for: sharing your applications and hanging out with the community.
124+
125+
## Contributors
126+
127+
<a href="https://github.com/ai16z/eliza/graphs/contributors">
128+
<img src="https://contrib.rocks/image?repo=ai16z/eliza" />
129+
</a>
130+
131+
## Star History
132+
133+
[![Star History Chart](https://api.star-history.com/svg?repos=ai16z/eliza&type=Date)](https://star-history.com/#ai16z/eliza&Date)

0 commit comments

Comments
 (0)