openclaw-contextualai
v1.0.2
Published
Query and interact with Contextual AI agents from OpenClaw
Readme
Contextual AI Plugin for OpenClaw
Connect OpenClaw to Contextual AI agents: list your agents and let the LLM route user questions to the right agent.
Install
openclaw plugins install openclaw-contextualaiRestart OpenClaw after installing.
Configuration
The only required value is your Contextual AI API key. Get one at app.contextual.ai (API Keys in the dashboard).
Option A – Environment variable:
export OPENCLAW_CONTEXTUALAI_API_KEY="your-contextual-ai-api-key"Option B – In openclaw.json:
{
"plugins": {
"entries": {
"openclaw-contextualai": {
"enabled": true,
"config": {
"apiKey": "your-contextual-ai-api-key"
}
}
}
}
}How to use
In any channel where OpenClaw is running:
- List your agents – e.g. “What Contextual AI agents do I have?” or “List my Contextual AI agents.”
- Query an agent – e.g. “Ask the Materials Science Agent: What materials are best for high-temperature aerospace?”
The model will list your agents, then send your question to the right one and reply with the agent’s answer.
AI Tools
The AI can use these tools during conversations:
| Tool | Description |
|------|-------------|
| contextualai_list_agents | List available Contextual AI agents (id, name, description). |
| contextualai_query_agent | Send a message to a specific agent by id and return its response. |
Optional config
| Key | Type | Default | Description |
|----------|---------|-----------------------------|---------------------------------------------|
| baseUrl| string | https://api.contextual.ai | API base URL. |
| debug | boolean | false | Log request URL and response status. |
Env vars: OPENCLAW_CONTEXTUALAI_BASE_URL, OPENCLAW_CONTEXTUALAI_API_KEY (or set apiKey in config).
