Welcome to Kodezi Chronos! This guide will help you understand how to access and use the world's first debugging-first language model.
- Prerequisites
- Accessing Chronos
- Installation
- Basic Usage
- Integration Options
- Best Practices
- Troubleshooting
- Next Steps
- Operating System: Windows 10+, macOS 10.15+, Linux (Ubuntu 18.04+)
- RAM: Minimum 8GB (16GB recommended)
- Internet: Stable connection required
- IDE Support: VS Code, IntelliJ IDEA, Visual Studio
Currently supported:
- Python (3.7+)
- JavaScript/TypeScript
- Java (8+)
Coming soon:
- Go
- Rust
- C/C++
Chronos is exclusively available through Kodezi OS:
- Visit https://kodezi.com/os
- Click "Get Early Access"
- Complete registration
- Availability: Q1 2026
| Tier | Features | Best For |
|---|---|---|
| Starter | 100 debugs/month, Basic support | Individual developers |
| Professional | 1,000 debugs/month, Priority support | Small teams |
| Enterprise | Unlimited debugs, Dedicated support | Large organizations |
# Install from VS Code marketplace
code --install-extension kodezi.chronos-debugger
# Or search "Kodezi Chronos" in Extensions panel- Open IntelliJ IDEA
- Go to Settings → Plugins
- Search for "Kodezi Chronos"
- Click Install and restart
# Install via npm
npm install -g @kodezi/chronos-cli
# Or via pip
pip install kodezi-chronos
# Verify installation
chronos --version# Example: Python null pointer error
def process_user_data(user):
# This will crash if user is None
return user.name.upper()
# Trigger Chronos debugging
# In VS Code: Right-click on error → "Debug with Chronos"
# In CLI: chronos debug file.py --error "AttributeError"Chronos will:
- Analyze the error context
- Identify root cause
- Propose a fix
- Validate with tests
# Debug a specific file
chronos debug app.py
# Debug with error message
chronos debug app.js --error "TypeError: Cannot read property"
# Debug entire project
chronos debug . --deep
# Watch mode for continuous debugging
chronos watch src/ --auto-fix- When an error occurs, click the 💡 lightbulb
- Select "Debug with Chronos"
- Review proposed fix
- Accept or modify
- Right-click on error in editor
- Select "Chronos → Debug This Issue"
- View fix in diff view
- Apply with one click
# GitHub Actions example
name: Chronos Auto-Debug
on:
push:
branches: [main, develop]
jobs:
debug:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: kodezi/chronos-action@v1
with:
api-key: ${{ secrets.CHRONOS_API_KEY }}
auto-fix: true
create-pr: true# .git/hooks/pre-commit
#!/bin/bash
chronos lint --fix-errors
if [ $? -ne 0 ]; then
echo "Chronos found and fixed errors. Please review changes."
exit 1
fifrom kodezi_chronos import ChronosClient
client = ChronosClient(api_key="your-api-key")
# Debug a code snippet
result = client.debug(
code=buggy_code,
error_message=error,
context={"file_path": "app.py", "line": 42}
)
print(result.explanation)
print(result.fixed_code)The more context you provide, the better Chronos performs:
# Good: Includes test case
def calculate_discount(price, discount_percent):
return price * discount_percent # Bug: should be (1 - discount_percent)
def test_calculate_discount():
assert calculate_discount(100, 0.2) == 80 # Expects 20% offType hints help Chronos understand your code:
# Better debugging with types
from typing import List, Optional
def process_items(items: List[str]) -> Optional[str]:
if not items:
return None
return items[0].upper()Tests help Chronos validate fixes:
// function.js
function calculateTotal(items) {
return items.reduce((sum, item) => sum + item.price);
}
// function.test.js
test('calculateTotal handles empty array', () => {
expect(calculateTotal([])).toBe(0); // This will help Chronos fix the bug
});Always review Chronos's suggestions:
# Use diff mode to review
chronos debug file.py --diff
# Interactive mode
chronos debug file.py --interactiveSolution: Ensure you're in a git repository or provide explicit path:
chronos debug --repo-path /path/to/repoSolution: Use focused debugging:
chronos debug specific_file.py --focus-on "function_name"Solution: Enable iterative mode:
chronos debug --iterative --max-attempts 5Enable verbose logging for troubleshooting:
# Set log level
export CHRONOS_LOG_LEVEL=DEBUG
# Or in command
chronos debug file.py --verboseCreate ~/.chronos/config.yml:
# Chronos configuration
api_key: your-api-key
preferences:
auto_fix: false
create_tests: true
explain_fixes: true
max_iterations: 3
language_settings:
python:
style: pep8
test_framework: pytest
javascript:
style: standard
test_framework: jestCreate .chronos.yml in project root:
# Project-specific settings
exclude:
- node_modules/
- build/
- "*.min.js"
rules:
prefer_type_hints: true
require_tests: true
custom_patterns:
- pattern: "TODO"
action: "ignore"Check out our case studies:
- Documentation: https://docs.kodezi.com/chronos
- Video Tutorials: YouTube Channel
- Blog: https://kodezi.com/blog
- Community Forum: forum.kodezi.com
- Email Support: support@kodezi.com
- Enterprise Support: enterprise@kodezi.com
You're now ready to start using Kodezi Chronos! Remember:
- ✅ Chronos is designed for debugging, not code generation
- ✅ It learns from your codebase over time
- ✅ Always review suggested fixes
- ✅ Use tests to validate changes
Happy debugging! 🚀