Skip to content

Configuration

LLM Configuration

Mole is compatible with any OpenAI API-format LLM service. Configuration is available in the extension's Options page (right-click extension icon > Options).

Settings

SettingDescriptionDefault
API EndpointLLM service API URLhttps://api.openai.com/v1
API KeyYour API key-
ModelModel name to usegpt-4o-mini

Settings are stored in chrome.storage.local under the key mole_ai_settings.

Supported Models / Services

Mole theoretically supports any service that provides an OpenAI-compatible API:

ServiceEndpoint ExampleNotes
OpenAIhttps://api.openai.com/v1Official service
Azure OpenAIhttps://{resource}.openai.azure.com/openai/deployments/{model}/v1Azure hosted
Proxy servicesProvider-specific endpointsOpenAI-format compatible proxy services
Ollamahttp://localhost:11434/v1Local deployment
LM Studiohttp://localhost:1234/v1Local deployment

Note

Mole relies on the LLM's Function Calling (tool use) capability. Make sure the model you're using supports this feature — otherwise the AI can only have plain text conversations and cannot perform browser operations.

Workflow Management

Manage site workflows from the Options page:

  • View — Browse the installed workflow list (built-in + user-defined + remote-synced)
  • Add — Paste JSON definitions to add custom workflows
  • Delete — Remove user-defined or remote-synced workflows (built-in workflows cannot be deleted)
  • Enable/Disable — Control whether workflows are visible to the AI
  • Manifest Source Management — Add/remove remote Manifest URLs, manually trigger sync

Dynamic Tools

In addition to built-in tools and site workflows, MoleClaw also supports Dynamic Tools — custom tools invoked via HTTP remote calls.

Dynamic Tool Configuration

Each dynamic tool requires the following configuration:

FieldTypeRequiredDescription
namestringYesTool name (lowercase letters, numbers, underscores)
descriptionstringYesTool description (AI uses this to decide whether to call it)
parametersobjectYesParameter definitions in JSON Schema format
endpointstringYesHTTP endpoint URL
methodstringNoHTTP method (default: POST)
headersobjectNoCustom request headers
timeoutMsnumberNoTimeout in ms (default: 15s, max: 60s)
enabledbooleanNoWhether enabled (default: true)

Dynamic tools also support batch import via Manifest URL.

Keyboard Shortcuts

ShortcutFunction
Cmd+E / Ctrl+EToggle AI search box

TIP

Keyboard shortcuts work on all webpages. If there's a conflict with a page's own shortcuts, use the floating ball to open instead.

Released under the AGPL-3.0 License