
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
Universal terminal coding agent with multi-provider AI support - Claude Code alternative
A feature-complete terminal coding agent that replicates Claude Code's functionality with support for all major AI providers. Universal alternative to Claude Code with identical workflow and commands, plus multi-provider support.
👉 Read the Full Usage Guide for detailed installation, setup, and usage instructions.
# Install globally from npm
npm install -g termcode
# First run - launches onboarding wizard
termcode --repo .
# Choose providers (OpenAI, Anthropic, xAI, Google, Mistral, Cohere, Ollama)
# Add API keys (stored securely in OS keychain)
# Configure tools and budget
# Start coding!
| Provider | Models | Embeddings | Status |
|---|---|---|---|
| OpenAI | GPT-4o, GPT-4o-mini, GPT-4-turbo, GPT-3.5-turbo | ✅ text-embedding-3-* | ✅ Full support |
| Anthropic | Claude 3.5 Sonnet, Claude 3 Opus/Sonnet/Haiku | ➡️ Fallback to OpenAI | ✅ Full support |
| xAI | Grok Beta, Grok Vision | ➡️ Fallback to OpenAI | ✅ Full support |
| Gemini 1.5 Pro/Flash, Gemini 1.0 Pro | ✅ text-embedding-004 | ✅ Full support | |
| Mistral | Mistral Large/Medium/Small, Codestral | ✅ mistral-embed | ✅ Full support |
| Cohere | Command R/R+, Command | ✅ embed-english/multilingual-v3.0 | ✅ Full support |
| Ollama | Any local model (Llama, CodeLlama, etc.) | ✅ mxbai-embed-large, nomic-embed-text | ✅ Full support |
| Feature | Status | Description |
|---|---|---|
| Interactive REPL | ✅ | Claude-style terminal session with persistent context |
| One-shot commands | ✅ | Single task execution and exit |
| Multi-provider support | ✅ | Switch between 7 AI providers in real-time |
| Semantic code search | ✅ | Embeddings + retrieval for large codebases |
| Memory persistence | ✅ | TERMCODE.md for project context and conventions |
| Onboarding wizard | ✅ | First-run setup with provider selection and secure key storage |
| Real-time switching | ✅ | /provider and /model commands in REPL |
| Multi-file diffs | ✅ | Unified diff editing with 3-way merge fallback |
| Auto-branching | ✅ | Each session gets isolated git branch |
| Auto-commit | ✅ | Every change committed with descriptive messages |
| Instant rollback | ✅ | rollback command to discard all session changes |
| Branch merging | ✅ | merge command to apply changes to main |
| GitHub PR creation | ✅ | pr "title" creates pull request with session summary |
| Test runner | ✅ | test command runs project tests (npm/pytest/go/cargo) |
| Linting | ✅ | lint command runs ESLint/Ruff/etc. |
| Build validation | ✅ | build command runs project build |
| Session logging | ✅ | Complete transcript of all changes with timestamps |
| Safe shell access | ✅ | !command for constrained shell execution |
| Budget tracking | ✅ | Monitor costs across providers with spending limits |
| Health monitoring | ✅ | Real-time provider status and connectivity checks |
termcode --repo /path/to/your/project
[termcoder] > Add user authentication with JWT
[termcoder] > /provider anthropic
[termcoder] > Optimize the JWT validation logic
[termcoder] > test
[termcoder] > pr "Add JWT authentication system"
# Quick single task
termcode "Migrate to TypeScript" --repo . --model gpt-4o
# Use different provider
termcode "Add dark mode toggle" --repo . --provider anthropic
# Dry run to preview changes
termcode "Add error handling" --repo . --dry
# Provider Management
/provider <name> # Switch between OpenAI, Anthropic, xAI, Google, Mistral, Cohere, Ollama
/model <model-id> # Change model (gpt-4o, claude-3-5-sonnet, grok-beta, etc.)
/keys # Show API key status
/health # Check provider connectivity
/whoami # Current session info
# Git Workflow
merge # Apply changes to main branch
rollback # Discard all changes
pr "title" # Create GitHub pull request
# Development Tools
test # Run project tests
lint # Run linter
build # Run build
!<command> # Execute shell command safely
# Session Management
log # Show session history
/budget # Usage and cost tracking
/sessions # Recent project sessions
npm install -g termcode
git clone https://github.com/dhrxv8/TermCoder.git
cd TermCoder
npm install
npm run build
npm link
Download from GitHub Releases
Get API keys from these providers:
Keys are stored securely in your OS keychain during the setup wizard.
| Action | Claude Code | TermCoder |
|---|---|---|
| Start session | claude --repo . | termcode --repo . |
| Make changes | > add auth | > add auth |
| Switch provider | ❌ | > /provider anthropic |
| Switch model | ❌ | > /model gpt-4o |
| Run tests | > test | > test |
| Create PR | > pr "title" | > pr "title" |
| Rollback | > rollback | > rollback |
| Help | > help | > help |
Identical workflow, but with multi-provider flexibility!
Same Claude Code experience, but with:
Perfect for teams wanting Claude Code's proven workflow with the flexibility of multiple AI providers.
For complete installation, setup, configuration, and usage instructions:
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
TermCoder — Built with ❤️ as a Claude Code alternative
FAQs
Superior terminal AI coding agent with enterprise-grade security, intelligent error recovery, performance monitoring, and plugin system - Advanced Claude Code alternative
The npm package termcode receives a total of 6 weekly downloads. As such, termcode popularity was classified as not popular.
We found that termcode demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.