Overview
This guide walks you through setting up the KumoSDK and Kumo Coding Agent in Cursor. It covers installation, authentication, agent setup, and a first prediction example.Prerequisites
Make sure you have:- Cursor installed and set up. See the official Cursor docs for installation.
- Python 3.10 to 3.13 installed
- A Kumo account and API key (Create)
Step 1: Create a Project
Create or open a project directory:Step 2: Install KumoSDK
🖥 Terminal
Step 3: Authenticate
Set your API key:🖥 Terminal
Step 4: Install Kumo Coding Agent
The Kumo Coding Agent has two parts:- Context (knowledge base): Documentation, PQL rules, workflow guides, and data connector references that teach the agent how to use the Kumo platform. Installed by cloning the repository.
- Skills (slash commands): Actions like
/kumo-issueand/kumo-prfor reporting bugs and contributing fixes. Installed vianpx skills add.
🖥 Terminal
.cursor/rules/ automatically. No extra configuration needed.
Install the skills (optional):
🖥 Terminal
Step 5: Use the Kumo Coding Agent
Open the Cursor chat and try a real prediction:Step 6 (Optional): Upgrade
Upgrade KumoSDK:🖥 Terminal
🖥 Terminal
Troubleshooting
kumoai cannot be imported
API key is missing
Agent does not respond with Kumo knowledge
- Verify
kumo-coding-agent/exists in your project directory - Verify
kumo-coding-agent/.cursor/rules/containskumo-coding-agent.mdc - Restart Cursor
Next Steps
- Setup for SDK fundamentals
- Make Predictions for PQL query reference
- Kumo Coding Agent for agent source and skills