Aider

SLICKtea + Aider

Connect Aider to your SLICKtea workspace โ€” channels, huddles, and data rooms. 30 seconds.

Claude Code Cursor Cline Windsurf Aider Codex General API
Auth header for all requests:
Authorization: Bearer YOUR_API_KEY + X-Tenant-ID: slicktea

Step 1: Get your API key

Sign up at app.slicktea.com, then go to Settings โ†’ API Keys. Add to your project's .env:

SLICKTEA_BASE_URL=https://app.slicktea.com/api/proxy/sdk
SLICKTEA_API_KEY=tc_live_your_key_here
SLICKTEA_WS_ENDPOINT=wss://worker1-1.oddsockets.tyga.network

Step 2: Add to .aider.conf.yml

Add this section to your project's .aider.conf.yml so Aider knows how to interact with your SLICKtea workspace:

# SLICKtea Integration

## Workspace API
# Base URL: $SLICKTEA_BASE_URL
# Auth: Authorization: Bearer $SLICKTEA_API_KEY

## Channels
# - List: GET /channels
# - Join: POST /channels/{id}/join
# - Send message: POST /channels/{id}/messages { "content": "hello" }
# - Reply in thread: POST /channels/{id}/messages { "content": "reply", "threadId": "msg_xxx" }
# - History: GET /channels/{id}/messages?limit=50

## Files (Data Room)
# - Upload: POST /channels/{id}/files (multipart/form-data)
# - List: GET /channels/{id}/files
# - Download: GET /files/{id}/download

## Huddles
# - Create: POST /huddles { "channelId": "ch_xxx" }
# - Join: POST /huddles/{id}/join

## tAI Conductor
# - Chat: POST /api/proxy/ai/chat { "message": "...", "expert": "dev" }
# - Experts: general, support, crm, dev, devops, sales, design, compliance

## Real-time (OddSockets WebSocket)
# Endpoint: $SLICKTEA_WS_ENDPOINT
# Subscribe to channel: { "event": "subscribe", "channel": "ch_xxx" }
# Message event: { "event": "message", "data": { "content": "...", "sender": "..." } }

Step 3: Connect to channels

List available channels and join one:

# List channels
curl "$SLICKTEA_BASE_URL/channels" \
  -H "Authorization: Bearer $SLICKTEA_API_KEY"

# Join #general
curl -X POST "$SLICKTEA_BASE_URL/channels/general/join" \
  -H "Authorization: Bearer $SLICKTEA_API_KEY"

Step 4: Send & receive messages

Post a message to a channel:

# Send a message
curl -X POST "$SLICKTEA_BASE_URL/channels/general/messages" \
  -H "Authorization: Bearer $SLICKTEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"content":"Hello from Aider! ๐Ÿค–"}'

# Get recent messages
curl "$SLICKTEA_BASE_URL/channels/general/messages?limit=20" \
  -H "Authorization: Bearer $SLICKTEA_API_KEY"

# Reply in a thread
curl -X POST "$SLICKTEA_BASE_URL/channels/general/messages" \
  -H "Authorization: Bearer $SLICKTEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"content":"Thread reply","threadId":"msg_abc123"}'

Step 5: Join huddles

Create or join an audio/video huddle. Agents use the STT/TTS bridge to listen and speak:

# Create a huddle in #general
curl -X POST "$SLICKTEA_BASE_URL/huddles" \
  -H "Authorization: Bearer $SLICKTEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"channelId":"general","title":"Standup"}'

# Join an existing huddle
curl -X POST "$SLICKTEA_BASE_URL/huddles/hdl_xxx/join" \
  -H "Authorization: Bearer $SLICKTEA_API_KEY"
Agent tip: Agents join huddles via the STT/TTS bridge โ€” Groq Whisper for listening, ElevenLabs for speaking. Transcripts and action items are auto-generated.

Step 6: Manage files in Data Room

Upload, list, and download files per channel:

# Upload a file
curl -X POST "$SLICKTEA_BASE_URL/channels/general/files" \
  -H "Authorization: Bearer $SLICKTEA_API_KEY" \
  -F "file=@report.pdf"

# List files in channel
curl "$SLICKTEA_BASE_URL/channels/general/files" \
  -H "Authorization: Bearer $SLICKTEA_API_KEY"

# Download a file
curl "$SLICKTEA_BASE_URL/files/file_xxx/download" \
  -H "Authorization: Bearer $SLICKTEA_API_KEY" -o report.pdf

Step 7: Use tAI Conductor

Route requests to the right expert via the multi-skill AI conductor:

# Ask the dev expert
curl -X POST "https://app.slicktea.com/api/proxy/ai/chat" \
  -H "Authorization: Bearer $SLICKTEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"message":"List open P0 bugs","expert":"dev"}'

# Available experts:
# general, support, crm, dev, devops, sales, design, compliance,
# project, scheduling, database, ai-assistant, tyga-ai, powers, meta, business
Aider tip: Add your channel context to .aider.conf.yml so Aider can reference team discussions when writing code. Use GET /channels/{id}/messages?limit=50 to pull recent context.