β¨ Features
|
π€ Multi-Provider Support
- OpenAI (GPT-4, GPT-3.5)
- Anthropic (Claude)
- Google Gemini
- Groq
- DeepSeek
- Ollama (Local)
|
π§ Intelligent Agents
- Code Analysis
- Code Generation
- Code Review
- Task Planning
- Multi-Agent Orchestration
|
|
β‘ Built-in Tools
- File Operations
- Shell Execution
- Pattern Search
- Code Indexing
|
π Production Ready
- Docker Support
- CI/CD Pipeline
- Comprehensive Testing
- Full Documentation
|
π¦ Installation
Homebrew (macOS)
brew install anonymus-netizien/lumecode/lumecode
Binary Download
# macOS (Apple Silicon)
curl -L https://github.com/anonymus-netizien/lumecode/releases/latest/download/lumecode-darwin-arm64.tar.gz | tar xz
# macOS (Intel)
curl -L https://github.com/anonymus-netizien/lumecode/releases/latest/download/lumecode-darwin-amd64.tar.gz | tar xz
# Linux
curl -L https://github.com/anonymus-netizien/lumecode/releases/latest/download/lumecode-linux-amd64.tar.gz | tar xz
Docker
docker pull ghcr.io/anonymus-netizien/lumecode:latest
docker run -it -e LUMECODE_API_KEY=$OPENAI_API_KEY ghcr.io/anonymus-netizien/lumecode
From Source
git clone https://github.com/anonymus-netizien/lumecode.git
cd lumecode
go build -o lumecode ./cmd/lumecode
π Usage
Quick Start
# Set your API key
export LUMECODE_PROVIDER=openai
export LUMECODE_API_KEY=sk-...
# Run interactive mode
lumecode
# Analyze a project
lumecode analyze ./my-project
# Generate code
lumecode generate "Create a REST API with user authentication"
# Review code
lumecode review ./src/main.go
Examples
# Use different providers
LUMECODE_PROVIDER=anthropic lumecode
LUMECODE_PROVIDER=ollama LUMECODE_MODEL=llama2 lumecode
# Custom model
LUMECODE_MODEL=gpt-4-turbo lumecode
βοΈ Configuration
Environment Variables
LUMECODE_PROVIDER=openai # openai, anthropic, groq, gemini, deepseek, ollama
LUMECODE_API_KEY=sk-... # Your API key
LUMECODE_MODEL=gpt-4 # Model to use
LUMECODE_LOG_LEVEL=info # debug, info, warn, error
Config File
Create ~/.lumecode/config.toml:
[provider]
name = "openai"
model = "gpt-4"
[logging]
level = "info"
ποΈ Architecture
lumecode/
βββ cmd/lumecode/ # CLI entry point
βββ internal/
β βββ agent/ # AI agents (analyzer, coder, reviewer, etc.)
β βββ llm/ # LLM providers & tools
β βββ workspace/ # Project analysis & indexing
β βββ tui/ # Terminal UI
β βββ config/ # Configuration
βββ pkg/ # Public packages
βββ tests/ # Test suites
π Documentation
π§ͺ Development
# Run tests
go test ./tests/...
# Run with coverage
go test -cover ./...
# Build
go build -o lumecode ./cmd/lumecode
# Lint
golangci-lint run
π€ Contributing
Contributions are welcome! Please read the Contributing Guide first.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing)
- Commit your changes (
git commit -m 'Add amazing feature')
- Push to the branch (
git push origin feature/amazing)
- Open a Pull Request
π License
MIT License - see LICENSE for details.