tinyclaw
tinyclaw copied to clipboard
Add Provider Plugin for xAI
Overview
Add a provider plugin to integrate xAI as a new LLM provider in Tiny Claw. This plugin will allow users to select xAI for their conversational agents, expanding Tiny Claw's LLM backend options.
Requirements
- Implement a provider plugin following the existing contract (
ProviderPluginfrom@tinyclaw/types). - The plugin should support chat functionality and availability checks.
- Expose pairing/unpairing tools for conversational setup.
- Follow secret/config conventions (e.g.,
provider.xai.apiKey,providers.xai.model). - Ensure the plugin can be enabled/disabled in configuration.
- Provide documentation and example usage.
Motivation
- Expands LLM provider options for Tiny Claw users.
- Allows routing complex queries through xAI if desired.
Acceptance Criteria
- Plugin provider available for xAI
- Conversational pairing tools implemented
- Documentation updated
Labels: enhancement, plugin, provider, feature