You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- A code editor ([VS Code](https://code.visualstudio.com/) or [VSCodium](https://vscodium.com) recommended)
15
+
-[CUDA Toolkit](https://developer.nvidia.com/cuda-toolkit) (optional, for GPU acceleration)
16
16
17
17
## Installation
18
18
19
19
1.**Clone and Install**
20
20
21
+
Please be sure to check what the [latest available stable version tag](https://github.com/ai16z/eliza/tags) is.
22
+
21
23
```bash
22
24
# Clone the repository
23
25
git clone https://github.com/ai16z/eliza.git
26
+
# Enter directory
24
27
cd eliza
28
+
# Switch to tagged release
29
+
git checkout v0.0.10
25
30
26
31
# Install dependencies
27
32
pnpm install
28
-
29
-
# Install optional Sharp package if needed
30
-
pnpm install --include=optional sharp
31
33
```
32
34
33
35
2.**Configure Environment**
@@ -55,21 +57,34 @@ Eliza supports multiple AI models:
55
57
-**Grok**: Set `XAI_MODEL=grok-beta`
56
58
-**OpenAI**: Set `XAI_MODEL=gpt-4o-mini` or `gpt-4o`
57
59
58
-
For local inference:
60
+
You set which model to use inside the character JSON file
61
+
62
+
### Local inference
63
+
64
+
#### For llama_local inference:
59
65
60
66
1. Set `XAI_MODEL` to your chosen model
61
67
2. Leave `X_SERVER_URL` and `XAI_API_KEY` blank
62
68
3. The system will automatically download the model from Hugging Face
69
+
4.`LOCAL_LLAMA_PROVIDER` can be blank
70
+
71
+
Note: llama_local requires a GPU, it currently will not work with CPU inference
72
+
73
+
#### For Ollama inference:
74
+
75
+
- If `OLLAMA_SERVER_URL` is left blank, it defaults to `localhost:11434`
76
+
- If `OLLAMA_EMBEDDING_MODE` is left blank, it defaults to `mxbai-embed-large`
63
77
64
78
## Create Your First Agent
65
79
66
-
1.**Edit the Character File**
67
-
Check out `src/core/defaultCharacter.ts` to customize your agent's personality and behavior.
80
+
1.**Create a Character File**
81
+
Check out `characters/trump.character.json` or `characters/tate.character.json` as a template you can use to copy and customize your agent's personality and behavior.
82
+
Additionally you can read `packages/core/src/defaultCharacter.ts`
0 commit comments