Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt

Use this file to discover all available pages before exploring further.

Public Preview OpenCode is an open-source terminal-based agentic coding tool. Unlike the VS Code extension, OpenCode requires separate installation of the MCP Server, Agent Skills, and CLI. The following instructions work for both the Open Code Agentic Terminal and the OpenCode desktop application. For more information on OpenCode, see the OpenCode documentation.

Component Overview

Wherobots’ Agentic Tools consist of the following components that work together to provide our agentic experience:
Connects your AI assistant to Wherobots Cloud for catalog exploration, Spatial SQL generation, and query execution.
Gives your AI assistant domain-specific Wherobots knowledge for more accurate commands and fewer errors.
Wraps the full Wherobots API into a single binary for job submission, log streaming, and automation.

Why use Wherobots’ agentic tools?

Wherobots’ agentic tools connect your AI assistant to Wherobots Cloud and your local development environment so you can interact with your spatial data, catalogs, and jobs in a more intuitive way.
The MCP Server connects your AI assistant to Wherobots Cloud so you can browse catalogs, databases, and table schemas (including Overture Maps and your own datasets) by asking questions in plain language instead of navigating the console.
Describe a geospatial task (e.g. “find buildings within 500m of this point”) and the MCP Server returns optimized Spatial SQL using WherobotsDB’s ST functions, spatial joins, and indexing patterns.
Use the CLI or the extension to submit Spark job runs, stream logs in real time, check resource metrics, and cancel jobs without leaving your editor or terminal.
Agent Skills teach your AI assistant Wherobots-specific APIs, query patterns, and workflow sequences so it produces correct wherobots CLI commands, valid MCP tool calls, and accurate notebook code on the first try.

Before you start

The following prerequisites are required:
  • OpenCode installed with a modern terminal emulator.
  • A Wherobots Account within a Professional or Enterprise Organization. See Create a Wherobots Account.
  • A Wherobots API key. For more information, see API Keys.
    • You will use this to install the Wherobots CLI, which is recommended for accessing Wherobots features in OpenCode.
  • Node.js and npm installed on your system (required for installing Agent Skills via npx).

Install Wherobots MCP Server in OpenCode

These steps connect OpenCode to the Wherobots MCP Server, giving your AI assistant access to your Wherobots Organization’s catalogs, datasets, and tools.
1

Configure the MCP Server

Choose one of two methods to add the Wherobots MCP server to OpenCode.
For more information on downloading, installing, and using OpenCode, see Install and Usage sections in the OpenCode documentation.
2

Install Agent Skills

Agent Skills give your AI assistant structured context about Wherobots workflows, APIs, and best practices.
npx skills add -g wherobots/agent-skills
3

Install the CLI (optional)

The Wherobots CLI wraps the full Wherobots API into a single binary for job submission, log streaming, and automation.
gh repo clone wherobots/wbc-cli && cd wbc-cli && ./scripts/install-release.sh
Set your API key as an environment variable:
export WHEROBOTS_API_KEY='<your-api-key>'
Verify the connection:
wherobots api --tree

Verify installation

The following steps confirm that OpenCode is properly connected to the Wherobots MCP server and that your AI assistant can access your Wherobots data and tools.

Test the MCP Server connection

To confirm that OpenCode can communicate with the Wherobots MCP server, ask a question in your AI assistant within OpenCode:
List the catalogs in my Wherobots Data Hub
If configured correctly, OpenCode will call the Wherobots MCP server (showing a tool such as list_catalogs) and return the catalogs available in your Organization.

Next steps

Explore the following resources to learn how to use Wherobots in OpenCode and get ideas for using your AI assistant to automate geospatial workflows.

MCP Server Best Practices

Common tasks, example prompts, and cost considerations for the MCP Server.

MCP Server Demo Videos

Watch the MCP Server automate catalog discovery, spatial queries, and notebook generation.

Agent Skills

Learn more about available skills and installation options.

Agentic Terminal Usage

Use the CLI with OpenCode for natural language job management.

CLI Reference

Submit jobs, stream logs, and access the full Wherobots API.

MCP Server vs CLI

Understand when to use the MCP Server vs. the CLI.