This repository is officially controlled & owned by PyPI user: ommo007
- GitHub Organization: Fixit-Local-AI-Agent
- PyPI Package: fixit-ai
- Verification File:
.pypi-verification - Date: 2025-10-06
Ownership Statement:
I, PyPI user ommo007, confirm that I control & own the GitHub organization Fixit-Local-AI-Agent and this repository Fixit.AI for the Python package fixit-ai.
For PyPI staff: A verification file has been added at the root of this repository. If additional verification is required, I can provide signed tags, issue comments, or other proof upon request.
AI-Powered API Testing Agent with Zero-Config Onboarding for OpenAPI-First Development
Fixit.AI is an offline-first API testing platform that automatically generates comprehensive test suites, detects security vulnerabilities, and provides AI-powered failure analysis. Built for modern API development with native support for FastAPI and Express.js.
- π Zero-Config Onboarding - Start testing in seconds with automatic spec discovery
- π€ AI-Powered Analysis - Intelligent failure detection and code suggestions
- π Security-First - Built-in vulnerability scanning and OWASP compliance
- π Rich Reporting - Beautiful HTML reports with detailed analytics
- β‘ Offline-First - Works entirely on your machine with local LLMs
- π οΈ Smart Patching - Automated code fixes for common API issues
API Developers β’ QA Engineers β’ DevOps Teams β’ Startups
pip install fixit-ai
or
# Clean installation (recommended)
pip install fixit-ai --quiet# Start your FastAPI app
uvicorn main:app --reload
# Test with zero configuration
fixit init --fastapi main:app --base http://localhost:8000
fixit gen && fixit test && fixit fix && fixit sec# Start your Express.js app with OpenAPI
node app.js
# Test your Express.js API
fixit init --express . --base http://localhost:3000
fixit gen && fixit test && fixit fix && fixit secfixit init --spec openapi.yaml --base http://localhost:8000
fixit gen && fixit test && fixit fix && fixit sec| Step | Command | What Happens |
|---|---|---|
| Initialize | fixit init |
π Auto-extracts OpenAPI spec, creates fixit.toml with LLM defaults |
| Generate | fixit gen |
π Creates comprehensive test suite covering all endpoints |
| Test | fixit test |
π§ͺ Runs tests with real-time AI analysis of failures |
| Fix | fixit fix |
π οΈ Shows AI-generated code patches (suggestions-only by default) |
| Secure | fixit sec |
π Scans for OWASP API Security Top 10 vulnerabilities |
Fixit.AI works with local LLMs for private, offline analysis:
- Download LM Studio
- Install model:
GPT-OSS 20B - Start server on
localhost:1234 - Run:
fixit test(auto-detects LM Studio)
# Install and setup
curl -fsSL https://ollama.ai/install.sh | sh
ollama pull phi3:mini
# Configure (optional - auto-detected)
fixit init --llm-provider ollama --llm-model phi3:mini| Framework | Language | Zero-Config | Code Patches | Security Scan |
|---|---|---|---|---|
| FastAPI | Python | β | β | β |
| Express.js | Node.js | β | β | β |
| Any OpenAPI 3.0+ | Any | β | β | β |
Auto-Generated fixit.toml (created on first run):
llm_active = "llm"
openapi = "openapi.yaml"
[llm]
provider = "lmstudio"
# base_url = "http://localhost:11434/v1" # Ollama
base_url = "http://localhost:1234/v1" # LM Studio
model = "gpt-oss20B"
temperature = 0.0
max_tokens = 2048
timeout_seconds = 180
offline = true
api_key_env = "FIXIT_API_KEY"
[llm.demo]
provider = "llama.cpp-stub"
[test]
include = []
exclude = []
max_tests = 0
concurrency = 8Override during init:
fixit init --fastapi main:app --base http://localhost:8000 \
--llm-provider ollama --llm-model phi3:mini| Command | Description |
|---|---|
fixit init --fastapi main:app |
Initialize FastAPI project (zero-config) |
fixit init --express . |
Initialize Express.js project |
fixit init --spec openapi.yaml |
Initialize with existing OpenAPI spec |
fixit gen |
Generate comprehensive test suite |
fixit test |
Run tests with AI analysis |
fixit fix |
Show AI code suggestions |
fixit sec |
Security vulnerability scan |
- Install:
pip install fixit-ai - Choose framework: FastAPI (zero-config) or Express.js
- Initialize:
fixit init --fastapi main:app --base http://localhost:8000 - Generate tests:
fixit gen - Run tests:
fixit test - Review suggestions:
fixit fix - Security scan:
fixit sec - View report: Open
.fixit/reports/index.html
Real-time AI Analysis:
$ fixit test
π§ͺ Running 7 tests...
β 3 failures detected
π€ AI Analysis:
[1/3] Analyzing post_/users_validation_error... π (fresh)
[2/3] Analyzing get_/users/{id}_not_found... πΎ (cached)
[3/3] Analyzing post_/auth/login_unauthorized... π (fresh)
$ fixit fix
π‘ 3 AI-generated suggestions:
β¨ Fix email validation in UserCreate model
β¨ Add proper 404 error handling
β¨ Implement JWT token validation- π Full Documentation - Comprehensive guides and tutorials
- π Issues - Bug reports and feature requests
- π¬ Discussions - Community support and Q&A
- β GitHub - Source code and examples
MIT License - see LICENSE for details.
Made with β€οΈ by the Fixit.AI team
β Star us on GitHub β’ π Report Issues β’ π¬ Join Discussions
GitHub β’ PyPI β’ Documentation