-
Notifications
You must be signed in to change notification settings - Fork 0
Quick Start
Last Updated: December 3, 2025
Get up and running with RiceCoder in 5 minutes.
This quick start guide gets you from zero to productive with RiceCoder in just 5 minutes. You'll install RiceCoder, configure your AI provider, start your first chat, and generate your first code. For more detailed information, see the full documentation.
- Rust 1.75+ (for building from source)
- Git
- An AI provider API key (OpenAI, Anthropic, etc.) OR Ollama for local models
# Clone the repository
git clone https://github.com/moabualruz/ricecoder.git
cd ricecoder
# Build and install
cargo install --path projects/ricecoder
# Verify installation
rice --versioncargo install ricecoderrice initThis creates:
-
~/.ricecoder/- Global configuration directory -
.agent/- Project-specific configuration
rice config set provider openai
rice config set model gpt-4
rice config set api-key YOUR_OPENAI_API_KEYrice config set provider anthropic
rice config set model claude-3-opus
rice config set api-key YOUR_ANTHROPIC_API_KEY# First, install Ollama from https://ollama.ai
# Pull a model
ollama pull mistral
# Configure RiceCoder
rice config set provider ollama
rice config set model mistral
rice config set ollama-url http://localhost:11434rice config showrice chatYou'll see:
r[ >
r[ > What's the best way to structure a Rust project?
RiceCoder will:
- Analyze your project
- Understand your context
- Generate a response
- Display it in the TUI
- Arrow Keys: Scroll through messages
- Page Up/Down: Scroll faster
- Ctrl+C: Exit chat
- Ctrl+L: Clear screen
rice spec create hello-worldThis creates .agent/specs/hello-world/ with:
-
requirements.md- What to build -
design.md- How to build it -
tasks.md- Implementation tasks
Edit .agent/specs/hello-world/requirements.md:
# Hello World Feature
## Requirements
### Requirement 1: Print Hello World
**User Story**: As a user, I want to print "Hello, World!" to the console
#### Acceptance Criteria
1. WHEN the program runs THEN it SHALL print "Hello, World!"
2. WHEN the program runs THEN it SHALL exit with code 0rice gen --spec hello-worldRiceCoder will:
- Read your specification
- Analyze your project
- Generate implementation code
- Show a diff for review
- Ask for approval
Apply changes? (y/n): y
Done! Your code is generated and applied.
# Start chat
rice chat
# Chat with specific model
rice chat --model gpt-4
# Chat with local model
rice chat --provider ollama# Generate from spec
rice gen --spec my-feature
# Generate with preview
rice gen --spec my-feature --preview
# Generate without approval
rice gen --spec my-feature --auto-approve# Show current config
rice config show
# Set a value
rice config set key value
# Get a specific value
rice config get key
# Reset to defaults
rice config reset# Initialize a project
rice init
# Show project info
rice info
# List available specs
rice spec list
# Create a new spec
rice spec create my-featureFor anything more than a quick question, create a spec:
rice spec create my-feature
# Edit requirements, design, tasks
rice gen --spec my-featureUse Ollama for sensitive code:
rice config set provider ollama
rice chatDefine custom shell commands in .agent/config.yaml:
commands:
test:
command: cargo test
description: Run tests
build:
command: cargo build --release
description: Build release binaryThen use them in chat:
r[ > /test
Control what RiceCoder can do:
permissions:
file-write: ask
file-delete: deny
shell-execute: askCustomize the TUI appearance:
rice config set theme dracula
rice config set theme nord
rice config set theme solarizedrice config set api-key YOUR_KEYMake sure Ollama is running:
ollama servePull the model first:
ollama pull mistralCheck file permissions:
ls -la .agent/RiceCoder now includes powerful infrastructure features:
Manage multiple projects as one workspace:
# Create workspace
ricecoder workspace create my-app
ricecoder workspace add-project ./frontend ./backend
# Build all projects
ricecoder orchestrate build --workspace my-app --parallelLearn more: Orchestration Guide
Get specialized AI for your domain:
# Automatic domain detection
ricecoder chat
# Or explicit selection
ricecoder chat --agent frontendLearn more: Domain-Specific Agents
System learns from your usage:
# View what system learned
ricecoder learning analytics
# Apply learned rules
ricecoder learning enable-rule <rule-id>Learn more: Learning System
Experiment safely with full history:
# Create snapshot
ricecoder snapshot create --name "Before refactoring"
# Undo operations
ricecoder undo
# Restore snapshot
ricecoder snapshot restore <snapshot-id>Learn more: Undo/Redo System
- Configuration Guide - Customize RiceCoder
- CLI Commands - Learn all commands
- Spec-Driven Development - Master specs
- TUI Interface - Navigate the interface
- Phase 6 Features - Explore new infrastructure features
- Documentation: RiceCoder Wiki
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Installation & Setup - Detailed installation instructions
- Configuration Guide - All configuration options
- CLI Commands Reference - Complete command reference
- AI Providers Guide - Provider setup and comparison
- Local Models Guide - Using Ollama for local models
Happy coding with RiceCoder!
Last updated: December 3, 2025