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-0.3.2.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

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

suss-0.3.2-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for suss-0.3.2.tar.gz
Algorithm Hash digest
SHA256 37ca6429ab1f65101715e7bcbd2197e90cf543a1d27a61cb73faeca94fa305f8
MD5 5a462f2c6c9c5e5a453c9b2de94111a5
BLAKE2b-256 afd5a58088dd3cd0cccd6e9d0f8151640aacba313ee168a88e4ef8187b822ae2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for suss-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e71fa977b3d83bc9ee44b0a86160288c04724d26eabd0fb0fcced56df928a56b
MD5 f2d34aa16c59988ff38e9f739018462c
BLAKE2b-256 38e41fd5cee87d359ab2612c5782d2d83de3019f6f82c3febb3b1c7714b68ce2

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