Metadata-Version: 2.1
Name: nc1709
Version: 2.2.0
Summary: AI coding assistant with fine-tuned tool calling - Your code comes to life
Home-page: https://github.com/lafzusa/nc1709
Author: Lafzusa Corp
Author-email: support@lafzusa.com
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: accelerate >=0.25.0
Requires-Dist: aiofiles >=23.0.0
Requires-Dist: click >=8.1.0
Requires-Dist: ddgs >=9.0.0
Requires-Dist: httpx >=0.24.0
Requires-Dist: huggingface-hub >=0.20.0
Requires-Dist: litellm >=1.0.0
Requires-Dist: prompt-toolkit >=3.0.0
Requires-Dist: psutil >=5.9.0
Requires-Dist: pydantic >=2.0.0
Requires-Dist: python-dotenv >=0.20.0
Requires-Dist: rich >=13.0.0
Requires-Dist: torch >=2.0.0
Requires-Dist: transformers >=4.36.0
Provides-Extra: dev
Requires-Dist: black >=23.0.0 ; extra == 'dev'
Requires-Dist: mypy >=1.0.0 ; extra == 'dev'
Requires-Dist: pytest-asyncio >=0.21.0 ; extra == 'dev'
Requires-Dist: pytest >=7.0.0 ; extra == 'dev'
Provides-Extra: local
Requires-Dist: bitsandbytes >=0.41.0 ; extra == 'local'
Requires-Dist: peft >=0.7.0 ; extra == 'local'
Provides-Extra: memory
Requires-Dist: chromadb >=0.4.0 ; extra == 'memory'
Requires-Dist: sentence-transformers >=2.2.0 ; extra == 'memory'


# NC1709 - AI Coding Assistant

**99% Tool-Calling Accuracy with Production-Ready Infrastructure**

NC1709 outperforms Claude Sonnet 3.5 (80.5%) on coding tasks while providing enterprise-grade reliability and monitoring. Version 2.2.0 brings production-ready infrastructure improvements.

## 🚀 What Makes NC1709 Special

- **99% Tool-Calling Accuracy**: Outperforms Claude Sonnet 3.5 (80.5%) on coding tasks
- **Production-Ready Infrastructure**: Multi-worker scaling, monitoring, circuit breakers
- **Zero Setup Required**: No local models, no GPU needed, no configuration  
- **Instant Access**: Just `pip install nc1709` and start coding
- **Server-Side Intelligence**: Access our fine-tuned Qwen2.5-Coder-7B via API
- **Enterprise Monitoring**: Prometheus metrics, health checks, auto-recovery

## Features

- **File Operations**: Read, Write, Edit, Glob with 99% accuracy
- **Code Search**: Advanced regex and context-aware search
- **Git Integration**: Natural language git commands
- **Bash Execution**: Safe command execution with smart permissions
- **Web Tools**: Fetch and analyze web content
- **Task Management**: Intelligent todo tracking and sub-tasks

## Installation

```bash
pip install nc1709
```

That's it! No local models to download, no GPU required.

## Quick Start

```bash
# Start coding with 99% accuracy AI
nc1709

# Example commands
nc1709 "Find all Python functions with TODO comments"  
nc1709 "Create a FastAPI endpoint for user auth"
nc1709 "Debug the TypeError in main.py line 42"
```

## Why Choose NC1709?

| Feature | NC1709 | Claude Sonnet 3.5 | Local Models |
|---------|--------|--------------------|--------------|
| **Tool Accuracy** | 99% | 80.5% | Variable |
| **Setup Time** | 0 minutes | API key setup | Hours |
| **Hardware Needed** | None | None | RTX 3090+ |
| **Storage Required** | 0GB | 0GB | 15GB+ |

## New in Version 2.2.0 - Production Infrastructure

### 🏭 Production-Ready Features
- **Multi-Worker Scaling**: Automatic worker count optimization
- **Connection Pooling**: Efficient resource management with retry logic
- **Circuit Breaker**: Automatic failure detection and recovery
- **Prometheus Metrics**: 15+ monitoring metrics for performance tracking
- **Health Monitoring**: Comprehensive system health checks
- **Load Balancing**: Nginx configuration with rate limiting
- **Graceful Shutdown**: Clean resource cleanup on shutdown
- **Auto-deployment**: One-command production deployment script

### 📊 Monitoring Endpoints
- `/health` - Basic health status
- `/health/detailed` - Comprehensive system health
- `/metrics` - Prometheus metrics endpoint
- `/status/connections` - Connection pool statistics
- `/status/circuit-breaker` - Circuit breaker status

## Behind the Scenes

**Our Training**: 800K examples on DeepFabric infrastructure  
**Our Model**: Fine-tuned Qwen2.5-Coder-7B optimized for tool-calling  
**Our Infrastructure**: Enterprise-grade servers with monitoring & auto-scaling
**Your Benefit**: 99% accuracy with production-grade reliability

## Links

- Documentation: https://docs.lafzusa.com/nc1709
- GitHub: https://github.com/lafzusa/nc1709
- PyPI: https://pypi.org/project/nc1709/
- Support: support@lafzusa.com
