agentic-flow 1.2.4 → 1.2.5
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.
|
@@ -39,7 +39,7 @@ function getProxyConfig(provider, customPort) {
|
|
|
39
39
|
provider: 'openrouter',
|
|
40
40
|
port,
|
|
41
41
|
baseUrl,
|
|
42
|
-
model: process.env.COMPLETION_MODEL || '
|
|
42
|
+
model: process.env.COMPLETION_MODEL || 'mistralai/mistral-small-3.1-24b-instruct',
|
|
43
43
|
apiKey: process.env.OPENROUTER_API_KEY || '',
|
|
44
44
|
requiresProxy: true
|
|
45
45
|
};
|
|
@@ -120,7 +120,7 @@ async function startProxyServer(config) {
|
|
|
120
120
|
proxy = new AnthropicToOpenRouterProxy({
|
|
121
121
|
openrouterApiKey: config.apiKey,
|
|
122
122
|
openrouterBaseUrl: process.env.ANTHROPIC_PROXY_BASE_URL,
|
|
123
|
-
defaultModel: config.model || '
|
|
123
|
+
defaultModel: config.model || 'mistralai/mistral-small-3.1-24b-instruct'
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
// Start proxy
|
|
@@ -196,20 +196,20 @@ Examples:
|
|
|
196
196
|
|
|
197
197
|
# Non-interactive mode - Execute task and exit
|
|
198
198
|
$ agentic-flow claude-code --provider openrouter "Write a Python hello world function"
|
|
199
|
-
$ agentic-flow claude-code --provider openrouter --model "
|
|
199
|
+
$ agentic-flow claude-code --provider openrouter --model "mistralai/mistral-small-3.1-24b-instruct" "Create REST API"
|
|
200
200
|
|
|
201
201
|
# Using different providers
|
|
202
|
-
$ agentic-flow claude-code --provider openrouter # Uses
|
|
202
|
+
$ agentic-flow claude-code --provider openrouter # Uses Mistral Small (default, $0.02/M tokens)
|
|
203
203
|
$ agentic-flow claude-code --provider gemini # Uses Gemini 2.0 Flash
|
|
204
204
|
$ agentic-flow claude-code --provider onnx # Uses local ONNX models (free)
|
|
205
205
|
|
|
206
206
|
Recommended Models:
|
|
207
207
|
OpenRouter:
|
|
208
|
-
|
|
208
|
+
mistralai/mistral-small-3.1-24b-instruct (default, $0.02/M, 128k context, optimized for tools)
|
|
209
209
|
anthropic/claude-3.5-sonnet ($3/M, highest quality, large context)
|
|
210
210
|
google/gemini-2.0-flash-exp:free (FREE tier, rate limited)
|
|
211
211
|
|
|
212
|
-
Note: Models with <128k context
|
|
212
|
+
Note: Models with <128k context will fail with tool definitions (Claude sends 35k+ tokens)
|
|
213
213
|
|
|
214
214
|
Environment Variables:
|
|
215
215
|
OPENROUTER_API_KEY Required for --provider openrouter
|
|
@@ -223,7 +223,7 @@ Documentation:
|
|
|
223
223
|
`)
|
|
224
224
|
.option('--provider <provider>', 'AI provider (anthropic, openrouter, gemini, onnx)', 'anthropic')
|
|
225
225
|
.option('--port <port>', 'Proxy server port', '3000')
|
|
226
|
-
.option('--model <model>', 'Specific model to use (e.g.,
|
|
226
|
+
.option('--model <model>', 'Specific model to use (e.g., mistralai/mistral-small-3.1-24b-instruct)')
|
|
227
227
|
.option('--keep-proxy', 'Keep proxy running after Claude Code exits')
|
|
228
228
|
.option('--no-auto-start', 'Skip proxy startup (use existing proxy)')
|
|
229
229
|
.allowUnknownOption(true)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentic-flow",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "Production-ready AI agent orchestration platform with 66 specialized agents, 213 MCP tools, and autonomous multi-agent swarms. Built by @ruvnet with Claude Agent SDK, neural networks, memory persistence, GitHub integration, and distributed consensus protocols.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|