Skip to main content

AI-powered bug finder that knows your codebase

Project description

suss

Find bugs with a codebase-aware AI agent.

Suss looks for bugs in your local code changes, i.e. the diff between your local and remote branch. Just run suss in your terminal to get a bug report in under a minute.

Demo

For each code change, an AI agent gathers context on how it interacts with the rest of the codebase. Then the agent audits the change and its downstream effects on other code.

Think of suss as a quick and easy sanity check before pushing your code.

Installation

> pipx install suss

Once installed, you must choose an LLM provider. To use OpenAI or Anthropic, just add your API key to your environment:

> export OPENAI_API_KEY="..." # For GPT
> export ANTHROPIC_API_KEY="..." # For Claude

You can also use other models, including local ones. suss wraps LiteLLM, so you can use any model listed here.

Optional: You can boost performance using the Cohere reranker model. Just add your Cohere API key to your environment:

> export COHERE_API_KEY="..."

Usage

Run suss in the root directory of your codebase.

By default, it analyzes every code file that's new or modified compared to your remote branch. These are the same files you see when you run git status.

To run suss on a specific file:

> suss --file="path/to/file.py"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

suss-1.0.1.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

suss-1.0.1-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

Details for the file suss-1.0.1.tar.gz.

File metadata

  • Download URL: suss-1.0.1.tar.gz
  • Upload date:
  • Size: 23.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.18

File hashes

Hashes for suss-1.0.1.tar.gz
Algorithm Hash digest
SHA256 49da114e07c831068932744122eeb5f8224ac265cf04c38a668a36e364738a64
MD5 fdbe5f9ccf671405eacee6711142f4ab
BLAKE2b-256 878b309fa26771ccee94e872520f50c560ac8e32ea6aca2d62d2bea4c5102802

See more details on using hashes here.

File details

Details for the file suss-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: suss-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 28.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.18

File hashes

Hashes for suss-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 06b1860a4b3d795dc8fd1f5e66884272f3fd2fe3a4ef037f6e694f0984e36aa3
MD5 f5c8ac2b894619c28ba9625e4253a4eb
BLAKE2b-256 7d6b658099df9a5c1bd4da87cc1dc63d29107d7d5c229d30591c68580ae473a7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page