Skip to content

Commit dcd1e88

Browse files
authored
Merge branch 'ai16z:main' into main
2 parents a9fe2af + 051323f commit dcd1e88

File tree

322 files changed

+14485
-2482
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

322 files changed

+14485
-2482
lines changed

.env.example

+46-17
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,19 @@ SMALL_OLLAMA_MODEL= # Default: llama3.2
7474
MEDIUM_OLLAMA_MODEL= # Default: hermes3
7575
LARGE_OLLAMA_MODEL= # Default: hermes3:70b
7676

77+
# Google Configuration
78+
GOOGLE_MODEL=
79+
SMALL_GOOGLE_MODEL= # Default: gemini-1.5-flash-latest
80+
MEDIUM_GOOGLE_MODEL= # Default: gemini-1.5-flash-latest
81+
LARGE_GOOGLE_MODEL= # Default: gemini-1.5-pro-latest
82+
EMBEDDING_GOOGLE_MODEL= # Default: text-embedding-004
83+
84+
# Groq Configuration
85+
SMALL_GROQ_MODEL= # Default: llama-3.1-8b-instant
86+
MEDIUM_GROQ_MODEL= # Default: llama-3.3-70b-versatile
87+
LARGE_GROQ_MODEL= # Default: llama-3.2-90b-vision-preview
88+
EMBEDDING_GROQ_MODEL= # Default: llama-3.1-8b-instant
89+
7790
#LlamaLocal Configuration
7891
LLAMALOCAL_PATH= # Default: "" which is the current directory in plugin-node/dist/ which gets destroyed and recreated on every build
7992

@@ -82,15 +95,26 @@ ANTHROPIC_API_KEY= # For Claude
8295
HEURIST_API_KEY= # Get from https://heurist.ai/dev-access
8396

8497
# Heurist Models
85-
SMALL_HEURIST_LANGUAGE_MODEL=
86-
MEDIUM_HEURIST_LANGUAGE_MODEL=
87-
LARGE_HEURIST_LANGUAGE_MODEL=
88-
HEURIST_IMAGE_MODEL=
98+
SMALL_HEURIST_MODEL= # Default: meta-llama/llama-3-70b-instruct
99+
MEDIUM_HEURIST_MODEL= # Default: meta-llama/llama-3-70b-instruct
100+
LARGE_HEURIST_MODEL= # Default: meta-llama/llama-3.1-405b-instruct
101+
HEURIST_IMAGE_MODEL= # Default: PepeXL
89102

90103
# Gaianet Configuration
91104
GAIANET_MODEL=
92105
GAIANET_SERVER_URL=
106+
107+
SMALL_GAIANET_MODEL= # Default: llama3b
108+
SMALL_GAIANET_SERVER_URL= # Default: https://llama3b.gaia.domains/v1
109+
110+
MEDIUM_GAIANET_MODEL= # Default: llama
111+
MEDIUM_GAIANET_SERVER_URL= # Default: https://llama8b.gaia.domains/v1
112+
113+
LARGE_GAIANET_MODEL= # Default: qwen72b
114+
LARGE_GAIANET_SERVER_URL= # Default: https://qwen72b.gaia.domains/v1
115+
93116
GAIANET_EMBEDDING_MODEL=
117+
USE_GAIANET_EMBEDDING= # Set to TRUE for GAIANET/768, leave blank for local
94118

95119
# EVM
96120
EVM_PRIVATE_KEY=
@@ -130,10 +154,12 @@ STARKNET_RPC_URL=
130154
# Intiface Configuration
131155
INTIFACE_WEBSOCKET_URL=ws://localhost:12345
132156

133-
# Farcaster
134-
FARCASTER_HUB_URL=
135-
FARCASTER_FID=
136-
FARCASTER_PRIVATE_KEY=
157+
# Farcaster Neynar Configuration
158+
FARCASTER_FID= # the FID associated with the account your are sending casts from
159+
FARCASTER_NEYNAR_API_KEY= # Neynar API key: https://neynar.com/
160+
FARCASTER_NEYNAR_SIGNER_UUID= # signer for the account you are sending casts from. create a signer here: https://dev.neynar.com/app
161+
FARCASTER_DRY_RUN=false # Set to true if you want to run the bot without actually publishing casts
162+
FARCASTER_POLL_INTERVAL=120 # How often (in seconds) the bot should check for farcaster interactions (replies and mentions)
137163

138164
# Coinbase
139165
COINBASE_COMMERCE_KEY= # from coinbase developer portal
@@ -142,7 +168,8 @@ COINBASE_PRIVATE_KEY= # from coinbase developer portal
142168
# if not configured it will be generated and written to runtime.character.settings.secrets.COINBASE_GENERATED_WALLET_ID and runtime.character.settings.secrets.COINBASE_GENERATED_WALLET_HEX_SEED
143169
COINBASE_GENERATED_WALLET_ID= # not your address but the wallet id from generating a wallet through the plugin
144170
COINBASE_GENERATED_WALLET_HEX_SEED= # not your address but the wallet hex seed from generating a wallet through the plugin and calling export
145-
171+
# for webhook plugin the uri you want to send the webhook to for dummy ones use https://webhook.site
172+
COINBASE_NOTIFICATION_URI=
146173
# Conflux Configuration
147174
CONFLUX_CORE_PRIVATE_KEY=
148175
CONFLUX_CORE_SPACE_RPC_URL=
@@ -156,14 +183,6 @@ ZEROG_EVM_RPC=
156183
ZEROG_PRIVATE_KEY=
157184
ZEROG_FLOW_ADDRESS=
158185

159-
# Coinbase
160-
COINBASE_COMMERCE_KEY=
161-
COINBASE_API_KEY=
162-
COINBASE_PRIVATE_KEY=
163-
164-
COINBASE_GENERATED_WALLET_ID=
165-
COINBASE_GENERATED_WALLET_HEX_SEED=
166-
167186
# TEE Configuration
168187
DSTACK_SIMULATOR_ENDPOINT=
169188
WALLET_SECRET_SALT= # ONLY DEFINE IF YOU WANT TO USE TEE Plugin, otherwise it will throw errors
@@ -182,6 +201,16 @@ WHATSAPP_BUSINESS_ACCOUNT_ID= # Business Account ID from Facebook Business Mana
182201
WHATSAPP_WEBHOOK_VERIFY_TOKEN= # Custom string for webhook verification
183202
WHATSAPP_API_VERSION=v17.0 # WhatsApp API version (default: v17.0)
184203

204+
# Flow Blockchain Configuration
205+
FLOW_ADDRESS=
206+
FLOW_PRIVATE_KEY= # Private key for SHA3-256 + P256 ECDSA
207+
FLOW_NETWORK= # Default: mainnet
208+
FLOW_ENDPOINT_URL= # Default: https://mainnet.onflow.org
209+
185210
# ICP
186211
INTERNET_COMPUTER_PRIVATE_KEY=
187212
INTERNET_COMPUTER_ADDRESS=
213+
214+
# Aptos
215+
APTOS_PRIVATE_KEY= # Aptos private key
216+
APTOS_NETWORK= # must be one of mainnet, testnet

.github/workflows/ci.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Build packages
4040
run: pnpm run build
4141

42-
# - name: Upload coverage reports to Codecov
43-
# uses: codecov/codecov-action@v5
44-
# with:
45-
# token: ${{ secrets.CODECOV_TOKEN }}
42+
- name: Upload coverage reports to Codecov
43+
uses: codecov/codecov-action@v5
44+
with:
45+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/release.yaml

+2-25
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Release
22

33
on:
4+
release:
5+
types: [created]
46
workflow_dispatch:
57

68
jobs:
@@ -57,28 +59,3 @@ jobs:
5759
npx lerna publish from-package --yes --dist-tag latest
5860
env:
5961
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
60-
61-
- name: Get Version Tag
62-
id: get_tag
63-
run: echo "TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
64-
65-
- name: Generate Release Body
66-
id: release_body
67-
run: |
68-
if [ -f CHANGELOG.md ]; then
69-
echo "body=$(cat CHANGELOG.md)" >> $GITHUB_OUTPUT
70-
else
71-
echo "body=No changelog provided for this release." >> $GITHUB_OUTPUT
72-
fi
73-
74-
- name: Create GitHub Release
75-
uses: actions/create-release@v1
76-
env:
77-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
78-
PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
79-
with:
80-
tag_name: ${{ steps.get_tag.outputs.TAG }}
81-
release_name: Release
82-
body_path: CHANGELOG.md
83-
draft: false
84-
prerelease: false

.vscode/settings.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
"typescript.format.enable": false,
1313
"files.trimTrailingWhitespace": true,
1414
"editor.trimAutoWhitespace": true,
15+
"cadence.test.maxConcurrency": 5,
16+
"cadence.customConfigPath": "packages/plugin-flow/flow.json",
1517
"[properties]": {
1618
"editor.defaultFormatter": "foxundermoon.shell-format"
1719
},
@@ -42,4 +44,4 @@
4244
"[shellscript]": {
4345
"editor.defaultFormatter": "foxundermoon.shell-format"
4446
}
45-
}
47+
}

CHANGELOG.md

+34
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
# Changelog
22

3+
## [v0.1.5-alpha.5](https://github.com/ai16z/eliza/tree/v0.1.5-alpha.5) (2024-12-07)
4+
5+
[Full Changelog](https://github.com/ai16z/eliza/compare/v0.1.5-alpha.4...v0.1.5-alpha.5)
6+
7+
**Merged pull requests:**
8+
9+
- feat: working farcaster client with neynar [\#570](https://github.com/ai16z/eliza/pull/570) ([sayangel](https://github.com/sayangel))
10+
11+
## [v0.1.5-alpha.4](https://github.com/ai16z/eliza/tree/v0.1.5-alpha.4) (2024-12-06)
12+
13+
[Full Changelog](https://github.com/ai16z/eliza/compare/v0.1.5-alpha.3...v0.1.5-alpha.4)
14+
15+
**Fixed bugs:**
16+
17+
- `pnpm start` crashes if there is too much data in knowledge [\#866](https://github.com/ai16z/eliza/issues/866)
18+
- Twitter login some function not work. [\#857](https://github.com/ai16z/eliza/issues/857)
19+
20+
**Merged pull requests:**
21+
22+
- docs: Add AI Agent Dev School Parts 2 and 3 summaries and timestamps [\#877](https://github.com/ai16z/eliza/pull/877) ([YoungPhlo](https://github.com/YoungPhlo))
23+
- Add google model env vars [\#875](https://github.com/ai16z/eliza/pull/875) ([peersky](https://github.com/peersky))
24+
- Update quickstart.md [\#872](https://github.com/ai16z/eliza/pull/872) ([oxSaturn](https://github.com/oxSaturn))
25+
- Remove duplicated coinbase CDP options in .env.example [\#863](https://github.com/ai16z/eliza/pull/863) ([juntao](https://github.com/juntao))
26+
- test: adding environment and knowledge tests [\#862](https://github.com/ai16z/eliza/pull/862) ([ai16z-demirix](https://github.com/ai16z-demirix))
27+
- Updated quickstart.md to contemplate common issue [\#861](https://github.com/ai16z/eliza/pull/861) ([fede2442](https://github.com/fede2442))
28+
- fix: Use LARGE models for responses [\#853](https://github.com/ai16z/eliza/pull/853) ([lalalune](https://github.com/lalalune))
29+
- Update Node version in local-development.md [\#850](https://github.com/ai16z/eliza/pull/850) ([oxSaturn](https://github.com/oxSaturn))
30+
- fix: plugins docs [\#848](https://github.com/ai16z/eliza/pull/848) ([cygaar](https://github.com/cygaar))
31+
- fix: run release workflow after a github release is created [\#846](https://github.com/ai16z/eliza/pull/846) ([cygaar](https://github.com/cygaar))
32+
- fix: Include scripts/postinstall.js in the final NPM package [\#843](https://github.com/ai16z/eliza/pull/843) ([martincik](https://github.com/martincik))
33+
- feat: add Aptos plugin [\#818](https://github.com/ai16z/eliza/pull/818) ([0xaptosj](https://github.com/0xaptosj))
34+
- feat: add coinbase ERC20, ERC721, and ERC1155 tokenContract deployment / invokement plugin [\#803](https://github.com/ai16z/eliza/pull/803) ([monilpat](https://github.com/monilpat))
35+
- feat: coinbase webhook + add more examples + testing [\#801](https://github.com/ai16z/eliza/pull/801) ([monilpat](https://github.com/monilpat))
36+
337
## [v0.1.5-alpha.3](https://github.com/ai16z/eliza/tree/v0.1.5-alpha.3) (2024-12-04)
438

539
[Full Changelog](https://github.com/ai16z/eliza/compare/v0.1.5-alpha.2...v0.1.5-alpha.3)

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
</div>
66

77
<div align="center">
8-
8+
99
📖 [Documentation](https://ai16z.github.io/eliza/) | 🎯 [Examples](https://github.com/thejoven/awesome-eliza)
10-
10+
1111
</div>
1212

1313
## 🌍 README Translations
1414

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)
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)
1616

1717
## ✨ Features
1818

README_KOR.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ pnpm install --include=optional sharp
114114

115115
### Community & contact
116116

117-
- [깃헙 이슈](https://github.com/ai16z/eliza/issues). 용도: Eliza 사용 중 발견된 버그 리포트, 기능 제안.
117+
- [Github Issues](https://github.com/ai16z/eliza/issues). 용도: Eliza 사용 중 발견된 버그 리포트, 기능 제안.
118118
- [Discord](https://discord.gg/ai16z). 용도: 애플리케이션 공유 및 커뮤니티 활동.
119119

120120
## 컨트리뷰터

README_TH.md

+130
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
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+
📖 [คู่มือ](https://ai16z.github.io/eliza/) | 🎯 [ตัวอย่าง](https://github.com/thejoven/awesome-eliza)
10+
11+
</div>
12+
13+
## ✨ ฟีเจอร์
14+
15+
- 🛠️ สามารถเชื่อมต่อ Discord, Twitter และ Telegram ได้
16+
- 🔗 ซัพพอร์ตครบทุกโมเดล (Llama, Grok, OpenAI, Anthropic, ฯลฯ)
17+
- 👥 มัลติเอเจนต์และห้องสนทนา
18+
- 📚 ง่ายต่อการดึงและเข้าถึงข้อมูลเอกสาร
19+
- 💾 มีหน่วยความจำและที่จัดเก็บข้อมูล
20+
- 🚀 ง่ายต่อการปรับแต่งไม่ว่าจะเป็นการสร้าง clients หรือกำหนด action
21+
- ☁️ รองรับหลายโมเดล (local Llama, OpenAI, Anthropic, Groq, ฯลฯ)
22+
- 📦 ครบเครื่องเรื่อง AI agent!
23+
24+
## 🎯 ตัวอย่างการนำไปใช้
25+
26+
- 🤖 แชทบอท
27+
- 🕵️ เอเจนต์อิสระ (Autonomous Agent)
28+
- 📈 จัดการฝั่งธุรกิจ
29+
- 🎮 ตัวละครในเกมที่ไม่ใช่ผู้เล่น (NPC)
30+
- 🧠 การเทรด
31+
32+
## 🚀 เริ่มต้นการใช้งาน
33+
34+
### สิ่งที่จำเป็นก่อนเริ่มใช้งาน
35+
36+
- [Python 2.7+](https://www.python.org/downloads/)
37+
- [Node.js 23+](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
38+
- [pnpm](https://pnpm.io/installation)
39+
40+
> **หมายเหตุสำหรับผู้ใช้ Windows:** จำเป็นต้องมี [WSL 2](https://learn.microsoft.com/en-us/windows/wsl/install-manual)
41+
42+
### เริ่มใช้งานด้วยตัวอย่าง (แนะนำ)
43+
44+
```bash
45+
git clone https://github.com/ai16z/eliza-starter.git
46+
47+
cp .env.example .env
48+
49+
pnpm i && pnpm start
50+
```
51+
52+
จากนั้นอ่าน [คู่มือ](https://ai16z.github.io/eliza/) เพื่อศึกษาวิธีการปรับแต่ง Eliza
53+
54+
### เริ่มใช้งาน Eliza ด้วยตนเอง (แนะนำสำหรับคนที่มีประสบการณ์)
55+
56+
```bash
57+
# โคลน repo
58+
git clone https://github.com/ai16z/eliza.git
59+
60+
# Checkout release ล่าสุด
61+
# โปรเจกต์นี้มีการอัปเดตอยู่บ่อยครั้ง เราแนะนำให้ checkout release ล่าสุดเสมอ
62+
git checkout $(git describe --tags --abbrev=0)
63+
```
64+
65+
### เริ่มใช้งาน Eliza ผ่าน Gitpod
66+
67+
[![เปิดใน Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/ai16z/eliza/tree/main)
68+
69+
### แก้ไขไฟล์ .env
70+
71+
คัดลอก .env.example ไปเป็น .env และระบุค่าที่เหมาะสม
72+
73+
```
74+
cp .env.example .env
75+
```
76+
77+
หมายเหตุ: ไม่จำเป็นต้องใช้ .env หากคุณอยากใช้งานเอเจนต์หลายๆตัวพร้อมกัน คุณสามารถส่ง secrets ผ่าน JSON ของตัวละครได้
78+
79+
### เริ่มใช้งาน Eliza แบบอัตโนมัติ
80+
81+
จะทำการติดตั้งโปรเจกต์ทั้งหมด และเริ่มต้น bot ด้วยตัวละครแบบค่าเริ่มต้น
82+
83+
```bash
84+
sh scripts/start.sh
85+
```
86+
87+
### แก้ไขไฟล์ตัวละคร
88+
89+
1. เปิด `agent/src/character.ts` เพื่อแก้ไขตัวละครเริ่มต้น นำคอมเม้นออกและเริ่มแก้ไข
90+
91+
92+
2. การโหลดตัวละคร custom:
93+
- ใช้ `pnpm start --characters="path/to/your/character.json"`
94+
- สามารถโหลดหลายๆตัวละครพร้อมกันได้
95+
3. เชื่อมต่อกับ X (Twitter)
96+
- เปลี่ยน `"clients": []` เป็น `"clients": ["twitter"]` ในไฟล์ตัวละครเพื่อเชื่อมต่อกับ X (Twitter)
97+
98+
### เริ่มใช้งาน Eliza ด้วยตนเอง
99+
100+
```bash
101+
pnpm i
102+
pnpm build
103+
pnpm start
104+
105+
# โปรเจกต์นี้มีการอัปเดตอยู่บ่อยครั้ง บางครั้งอาจต้องทำการ clean โปรเจกต์ถ้าหากกลับมาทำใหม่
106+
pnpm clean
107+
```
108+
109+
#### สิ่งที่จำเป็นเพิ่มเติม
110+
111+
คุณอาจต้องติดตั้ง Sharp ถ้าหากคุณเห็นข้อความ error เมื่อเริ่มต้น สามารถลองติดตั้งด้วยคำสั่งต่อไปนี้:
112+
113+
```
114+
pnpm install --include=optional sharp
115+
```
116+
117+
### ชุมชนและข้อมูลการติดต่อ
118+
119+
- [GitHub Issues](https://github.com/ai16z/eliza/issues). เหมาะสำหรับ: เมื่อปัญหาที่พบเมื่อใช้ Eliza และข้อเสนอแนะเกี่ยวกับฟีเจอร์เพิ่มเติม
120+
- [Discord](https://discord.gg/ai16z). เหมาะสำหรับ: แชร์ผลงานแอปพลิเคชั่นและพบปะกับคอมมูนิตี้
121+
122+
## ผู้มีส่วนร่วม
123+
124+
<a href="https://github.com/ai16z/eliza/graphs/contributors">
125+
<img src="https://contrib.rocks/image?repo=ai16z/eliza" />
126+
</a>
127+
128+
## ประวัติดาว
129+
130+
[![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)