Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0xkoda/coders
AI coding assistant in rust
https://github.com/0xkoda/coders
ai llm rust
Last synced: 9 days ago
JSON representation
AI coding assistant in rust
- Host: GitHub
- URL: https://github.com/0xkoda/coders
- Owner: 0xKoda
- Created: 2024-08-29T00:34:15.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-16T01:28:20.000Z (2 months ago)
- Last Synced: 2024-09-16T02:49:59.543Z (2 months ago)
- Topics: ai, llm, rust
- Language: Rust
- Homepage:
- Size: 69.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Coders AI Assistant
Coders is an AI-powered command-line tool that helps you create, modify and improve your code.
## Features
- Create complete files, patch, find and fix bugs, and much more
- Hybrid Model selection: choose between various models from different providers
- Quickly iterate on code and run within the terminal.
- Diff view output: view changes in the terminal before accepting![Coders AI Assistant](image.png)
## Options
- `-f, --file `: Specify the file to process (required)
- `-m, --model`: Enable model selection
- `-h, --help`: Display help information and all available options
- `-V, --version`: Print version information## Available Models
[OpenRouter]
- nousresearch/hermes-3-llama-3.1-405b
- nousresearch/hermes-3-llama-3.1-405b:extended
- meta-llama/llama-3.1-8b-instruct:free[Hyperbolic]
- NousResearch/Hermes-3-Llama-3.1-70B
- meta-llama/Meta-Llama-3.1-70B-Instruct
- meta-llama/Meta-Llama-3.1-8B-Instruct
- meta-llama/Meta-Llama-3-70B-Instruct
- meta-llama/Meta-Llama-3.1-405B-Instruct### Best model for code editing
- nousresearch/hermes-3-llama-3.1-405b:extended## First-time Setup
On the first run, you'll be prompted to enter your API key. This key will be saved for future use. Hyperbolic provides free signup credits. Openrouter provides nousresearch hermes-3-llama-3.1-405b for free currently.
## Workflow
1. Run the command with your desired file.
2. Enter a prompt describing the changes you want to make to the code.
3. The AI will process your request and suggest changes.
4. Review the proposed changes (displayed in a diff-like format).
5. Choose to apply or discard the changes.## Examples
Process a JavaScript file:
`coders -f main.js`Choose a model before processing a Python file:
`coders -f -m script.py `Choose 'openrouter' models
`coders -o -f script.py`## Note
Make sure you have a valid API key. The tool will prompt you to enter it if it's not already saved.