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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file suss-0.3.3.tar.gz.
File metadata
- Download URL: suss-0.3.3.tar.gz
- Upload date:
- Size: 23.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0003a43365b0cd8616bb5ce40cdc57e58ab6741e5415e1a0b989797edf67a255
|
|
| MD5 |
a4977d36ab0c47c55d9df629293fa901
|
|
| BLAKE2b-256 |
93bb57ec333e8ae0255e14c79c8aff7ce304000c12cf0101b99c4fd0acbd55b5
|
File details
Details for the file suss-0.3.3-py3-none-any.whl.
File metadata
- Download URL: suss-0.3.3-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abd86d389a5d6ed3316b993696b3203952527e8b5d6935e14c0f556cd00cea7b
|
|
| MD5 |
e6b2204fa0ab0dd2914164babec63687
|
|
| BLAKE2b-256 |
3df17a0de883728892dd37c762e37e9b4a9d87ea0df49cedccb60c8d521cf7af
|