tiny-trae-0.1.0 is not a library.
Tiny Trae AI Coding Assistant
An AI coding assistant with tool integration that helps with software development tasks including writing code, debugging, refactoring, and explaining code.
Features
- 🤖 AI-powered coding assistance
- 🔧 Integrated development tools (file operations, search, shell commands)
- 📁 Project-aware file management
- 🔍 Advanced code search capabilities
- 💬 Interactive chat interface
- ⚙️ Configurable system prompts
- 🎯 Support for multiple AI providers (DeepSeek, Anthropic Claude, etc.)
Installation
Quick Install (Recommended)
Unix/Linux/macOS
|
Windows
powershell -c "iwr https://raw.githubusercontent.com/your-username/tiny-trae/main/install.bat -OutFile install.bat && install.bat"
Manual Installation
Prerequisites
Steps
-
Clone the repository:
-
Install globally:
Or using cargo directly:
-
Set up configuration: The installer will create a config file at
~/.config/tiny-trae/config.toml. Update your API key:[] = "your-api-key-here"
Alternative Installation Methods
From Source (Recommended)
Development Installation
Note:
tiny-traeis not yet published to crates.io, so installation must be done from source.
Configuration
Tiny Trae looks for configuration in the following order:
- Custom config file (if specified with
-cflag) - Global config:
~/.config/tiny-trae/config.toml - Local config:
./config.toml
Configuration Options
[]
= "your-api-key"
= "https://api.deepseek.com" # or https://api.anthropic.com
[]
= "deepseek-coder" # or claude-3-5-sonnet-20241022
= 4096
= 0.7
[]
= "."
= [".git", "target", "node_modules"]
[]
= "Your custom system prompt here"
Usage
Basic Usage
With Custom Config
Verbose Mode
Available Commands
Once running, you can use these commands:
help- Show available commands and toolshistory- Show conversation historyclear- Clear conversation historystatus- Show system statustools- List available toolsexit- Exit the application
Available Tools
- read_file - Read file contents
- list_files - List files in directories
- edit_file - Edit file contents
- search_text - Search for text patterns
- ripgrep - Fast text searching with ripgrep
- bash - Execute shell commands
Examples
Code Analysis
> Can you analyze the main.rs file and suggest improvements?
File Operations
> Read the README.md file and summarize its contents
Code Generation
> Create a new Rust function to parse JSON configuration files
Debugging
> Help me debug this error in my code [paste error]
Uninstallation
Or using cargo:
Configuration files in ~/.config/tiny-trae/ are preserved.
Development
Building from Source
Running Tests
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
License
MIT License - see LICENSE file for details.
Support
- 📖 Documentation: GitHub Wiki
- 🐛 Bug Reports: GitHub Issues
- 💬 Discussions: GitHub Discussions
Changelog
See CHANGELOG.md for version history.