FLock API Platform provider plugin for Moltbot
npm install @flock-io/moltbot-plugin-flockA Moltbot plugin that integrates FLock API Platform as a model provider.
- OpenAI-compatible API integration
- API key authentication with secure storage in Moltbot auth profiles
- Automatic provider configuration
``bash`
moltbot plugins install @flock-io/moltbot-plugin-flock
Or if installing from a local path:
`bash`
moltbot plugins install /path/to/moltbot-plugin-flock
After installation, enable the plugin:
`bash`
moltbot plugins enable flock
Run the authentication flow to store your FLock API key:
`bash`
moltbot models auth login --provider flock
This will:
- Prompt for your FLock API key
- Store the key securely in Moltbot's auth profiles
- Configure the FLock provider in your Moltbot config
By default, the plugin configures an empty model list. You can add models in your Moltbot config:
`yaml`
models:
providers:
flock:
models:
- id: qwen3-30b-a3b-instruct-2507
name: Qwen 3 30B
input: [text]
contextWindow: 32768
maxTokens: 4096
Or use the dynamic model format:
`bash`
moltbot agent --model flock/qwen3-30b-a3b-instruct-2507
Once configured, you can use FLock models with Moltbot:
`bashUse a specific FLock model
moltbot agent --model flock/your-model-id
API Reference
- Provider ID:
flock
- Base URL: https://api.flock.io/v1
- API Type: OpenAI-compatible (openai-completions)
- Auth Header: Standard Authorization: Bearer Troubleshooting
$3
If you encounter authentication errors, verify:
1. Your API key is valid on FLock Platform
2. The key is properly stored: check
~/.moltbot/auth-profiles.json`If a model returns 404:
1. Verify the model ID exists on FLock
2. Check FLock documentation for available models
- FLock API Documentation
- FLock Platform
- Moltbot Documentation
Apache-2.0