Skip to main content

Sidekick (Beta)

PyPI version Python 3.10+

Sidekick Demo

Your agentic CLI developer.

Overview

Sidekick is an agentic CLI-based AI tool inspired by Claude Code, Copilot, Windsurf and Cursor. It's meant to be an open source alternative to these tools, providing a similar experience but with the flexibility of using different LLM providers (Anthropic, OpenAI, Google Gemini) while keeping the agentic workflow.

Sidekick is currently in beta and under active development. Please report issues or share feedback!

Features

  • No vendor lock-in. Use whichever LLM provider you prefer.
  • MCP support
  • Use /undo when AI breaks things.
  • Easily switch between models in the same session.
  • JIT-style system prompt injection ensures Sidekick doesn't lose the plot.
  • Per-project guide. Adjust Sidekick's behavior to suit your needs.
  • CLI-first design. Ditch the clunky IDE.
  • Cost and token tracking.
  • Per command or per session confirmation skipping.

Roadmap

  • Tests 😅
  • More LLM providers, including Ollama

Quick Start

Install Sidekick.

pip install sidekick-cli

On first run, you'll be asked to configure your LLM providers.

sidekick

Configuration

After initial setup, Sidekick saves a config file to ~/.config/sidekick.json. You can open and edit this file as needed. Future updates will make editing easier directly from within Sidekick.

MCP Support

Sidekick supports Model Context Protocol (MCP) servers. You can configure MCP servers in your ~/.config/sidekick.json file:

{
  "mcpServers": {
    "fetch": {
      "command": "uvx",
      "args": ["mcp-server-fetch"]
    },
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
      }
    }
  }
}

MCP servers extend the capabilities of your AI assistant, allowing it to interact with additional tools and data sources. Learn more about MCP at modelcontextprotocol.io.

Available Commands

  • /help - Show available commands
  • /yolo - Toggle "yolo" mode (skip tool confirmations)
  • /clear - Clear message history
  • /compact - Summarize message history and clear old messages
  • /model - List available models
  • /model <num> - Switch to a specific model (by index)
  • /undo - Undo most recent changes
  • /dump - Show current message history (for debugging)
  • exit - Exit the application

Customization

Sidekick supports the use of a "guide". This is a SIDEKICK.md file in the project root that contains instructions for Sidekick. Helpful for specifying tech stack, project structure, development preferences etc.

Telemetry

Sidekick uses Sentry for error tracking and usage analytics. You can disable this by starting with the --no-telemetry flag.

sidekick --no-telemetry

Requirements

  • Python 3.10 or higher
  • Git (for undo functionality)

Installation

Using pip

pip install sidekick-cli

From Source

  1. Clone the repository
  2. Install dependencies: pip install . (or pip install -e . for development)

Development

# Install development dependencies
make install

# Run linting
make lint

# Run tests
make test

Release Process

When preparing a new release:

  1. Update version numbers in:

    • pyproject.toml
    • src/sidekick/constants.py (APP_VERSION)
  2. Commit the version changes:

    git add pyproject.toml src/sidekick/constants.py
    git commit -m "chore: bump version to X.Y.Z"
    
  3. Create and push a tag:

    git tag vX.Y.Z
    git push origin vX.Y.Z
    
  4. Create a GitHub release:

    gh release create vX.Y.Z --title "vX.Y.Z" --notes "Release notes here"
    
  5. Merge to main branch and push to trigger PyPI release (automated)

Commit Convention

This project follows the Conventional Commits specification for commit messages:

  • feat: - New features
  • fix: - Bug fixes
  • docs: - Documentation changes
  • style: - Code style changes (formatting, etc.)
  • refactor: - Code refactoring
  • perf: - Performance improvements
  • test: - Test additions or modifications
  • chore: - Maintenance tasks (version bumps, etc.)
  • build: - Build system changes
  • ci: - CI configuration changes

License

MIT

Metadata

Release files for sidekick-cli 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sidekick-cli 0.5.1
File Size Uploaded
sidekick_cli-0.5.1.tar.gz 47.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sidekick-cli 0.5.1
File Interpreter ABI Platform
sidekick_cli-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 109.2 kB

Release files / sidekick_cli-0.5.1.tar.gz

Download URL sidekick_cli-0.5.1.tar.gz
Size 47.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7b71a5a6f77677dfe3fe9d06a8bc88d7743fddda72e451a28def3c0b1cb93ef1
BLAKE2b-256 checksum
How to use checksums
f5a0cd14e4b6b84d3b70703b300dddefa0bfdf9172ffd42e8bf3457ea1a3a49c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / sidekick_cli-0.5.1-py3-none-any.whl

Download URL sidekick_cli-0.5.1-py3-none-any.whl
Size 61.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4623e65d04e733ff8afd228d494a3080c2a5555dc54302739ad074c144808599
BLAKE2b-256 checksum
How to use checksums
db2b3b11f39b48735b503a957052957efdbb505439a875424bf13abf77a2941a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page