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.0.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-1.0.0-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: suss-1.0.0.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-1.0.0.tar.gz
Algorithm Hash digest
SHA256 120d1a0a2940756801ac1b26f53ea7092756482fe68d8c935c5e6291cd88d09c
MD5 d82d434d218f0bda0f50d203f4666e3a
BLAKE2b-256 9f2a328ac46d828722663a6b0f0323ced1d56495fb966e26b833ae8ce7780219

See more details on using hashes here.

File details

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

File metadata

  • Download URL: suss-1.0.0-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-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f36cb05a88c93e7c8c4d01f00e9e392dbf52f3e5162c13b9f9144d8e828a302f
MD5 4f473d8a4e1c48d5c75517ab3237b175
BLAKE2b-256 7f979504cdbee37b41c750645742d242cf33852096bd6668f6b54aef48171242

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