osagent 0.2.71 → 0.2.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -110,7 +110,31 @@ npm install -g osagent
|
|
|
110
110
|
osagent
|
|
111
111
|
```
|
|
112
112
|
|
|
113
|
-
### Option 3: Use with
|
|
113
|
+
### Option 3: Use with Anthropic
|
|
114
|
+
|
|
115
|
+
1. Get an API key from [Anthropic Console](https://console.anthropic.com/settings/keys)
|
|
116
|
+
2. Set your API key:
|
|
117
|
+
```bash
|
|
118
|
+
export ANTHROPIC_API_KEY=your-api-key
|
|
119
|
+
```
|
|
120
|
+
3. Run OS Agent:
|
|
121
|
+
```bash
|
|
122
|
+
osagent --auth anthropic
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### Option 4: Use with GROQ
|
|
126
|
+
|
|
127
|
+
1. Get an API key from [GROQ Console](https://console.groq.com)
|
|
128
|
+
2. Set your API key:
|
|
129
|
+
```bash
|
|
130
|
+
export GROQ_API_KEY=your-api-key
|
|
131
|
+
```
|
|
132
|
+
3. Run OS Agent:
|
|
133
|
+
```bash
|
|
134
|
+
osagent --auth groq
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### Option 5: Use with OpenAI-compatible APIs
|
|
114
138
|
|
|
115
139
|
```bash
|
|
116
140
|
osagent --auth openai
|
|
@@ -154,7 +178,11 @@ Once in the interactive mode, you can use these commands:
|
|
|
154
178
|
- `/quit` or `/q` - Exit OS Agent
|
|
155
179
|
|
|
156
180
|
#### Model & AI
|
|
157
|
-
- `/model` - Switch AI model (
|
|
181
|
+
- `/model` - Switch AI model (opens model selector)
|
|
182
|
+
- `/model list` - List available models for current provider
|
|
183
|
+
- `/model info` - Show current model details
|
|
184
|
+
- `/model <id>` - Switch to a specific model
|
|
185
|
+
- `/provider` - Switch AI provider (Ollama, Anthropic, GROQ, OpenAI)
|
|
158
186
|
- `/agents` - Manage custom agents
|
|
159
187
|
- `/consult` - Toggle consultation mode (AI asks clarifying questions)
|
|
160
188
|
|