Skip to main content

Anthropic Integration

Connect CommandLane to Anthropic's Claude models for AI-powered classification, planning, and chat features.

Why Anthropic?

  • Thoughtful responses: Claude excels at nuanced understanding
  • Safety-focused: Designed to be helpful, harmless, and honest
  • Great for planning: Excellent at structured tasks and reasoning

Setup Guide

Step 1: Get an API Key

  1. Go to Anthropic Console
  2. Sign in or create an account
  3. Navigate to API Keys
  4. Click Create Key
  5. Copy the key (starts with sk-ant-)
Keep Your Key Safe

Your API key is like a password. Never share it or commit it to version control.

Step 2: Add Your Key to CommandLane

  1. Open Dashboard (Ctrl + Shift + D)
  2. Go to Integrations
  3. Find the Anthropic card
  4. Click Configure
  5. Paste your API key
  6. Click Test Connection to verify
  7. Click Save

Step 3: Configure AI Features

In Dashboard > Settings > AI Settings:

FeatureRecommended ModelPurpose
Classificationclaude-3-haikuFast, accurate categorization
Planningclaude-sonnet-4Thoughtful daily planning
Chatclaude-3-haikuQuick answers about your entries

Step 4: Test the Integration

  1. Open Capture Window (Ctrl + Space)
  2. Switch to Chat mode (type ? or use Shift + Tab)
  3. Ask: "What tasks do I have?"
  4. If you get a response, Anthropic is configured correctly
ModelBest ForCost
claude-3-haikuClassification, Chat$0.25/1M input tokens
claude-sonnet-4Planning, Complex reasoning$3/1M input tokens

Pricing

Anthropic charges per token. Typical CommandLane usage:

  • Light use: ~$1-2/month
  • Moderate use: ~$5-8/month
  • Heavy use: ~$15-25/month

Monitor your usage at Anthropic Console.

Troubleshooting

"Invalid API key"

  • Verify your key starts with sk-ant-
  • Check for extra spaces when copying
  • Generate a new key if issues persist

"Rate limit exceeded"

  • Anthropic has usage limits
  • Wait a minute and try again
  • Check your account tier limits

No response in Chat mode

  • Ensure Anthropic is selected as the Chat provider in Settings
  • Test the connection on the Integrations page
  • Verify your API key has available credits

Slow responses

  • Claude response times can vary
  • claude-3-haiku is faster than claude-sonnet-4
  • Consider using local AI (Ollama) for faster classification

Privacy

When using Anthropic:

  • Entry text is sent for AI processing
  • Data is subject to Anthropic's Privacy Policy
  • Anthropic does not train on API data by default
  • For fully local processing, consider Ollama instead
Stay Private

If privacy is a concern, use local AI classification in Settings > AI Settings and only enable Anthropic for specific features like planning.