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

Uploaded Python 3

File details

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

File metadata

  • Download URL: suss-0.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 cc419b13e804084cbebf92d6ba7b742e64527af1702a7cff626022c61b334f3f
MD5 3ea51ff5f79c13fdb0b9618a015f6f8a
BLAKE2b-256 f0b3e4d477e22c24246a6ef973f0e7a36c25215adc6ec7bf6a5bd75f3dc18f82

See more details on using hashes here.

File details

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

File metadata

  • Download URL: suss-0.3.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f734d6819c4ea8ceee65bcaca28bdec7eb57340df500ee109306f12ef0ebe836
MD5 2562a7bc379f62696ac51c85d936f8fc
BLAKE2b-256 57cc0124f7450c417dde4f747a95193b8e9feb40244618005498b4706cfc213a

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