Package Exports
- @erosolarcoder/erosolar-coder
- @erosolarcoder/erosolar-coder/capabilities
- @erosolarcoder/erosolar-coder/lean
Readme
Erosolar Coder
Erosolar Coder is an AI-powered CLI agent designed exclusively for code assistance and automation. It uses the discount DeepSeek model to deliver fast, cost-effective, high-quality coding assistance right inside your terminal — the same brain that powers the Erosolar web app and iOS / Apple Watch companions.
Why Erosolar Coder
~30× cheaper than the Claude / Codex tier
Per-million input / output tokens at list rates (Nov 2025):
| Tool | Model | Input $/M | Output $/M |
|---|---|---|---|
| Erosolar Coder | deepseek-v4-pro |
$0.27 | $1.10 |
| Claude Code | claude-sonnet-4.5 |
$3.00 | $15.00 |
| Claude Code (Opus) | claude-opus-4.5 |
$15.00 | $75.00 |
| OpenAI Codex CLI | gpt-5.2-codex |
$1.25 | $10.00 |
| Cursor agents | claude-sonnet-4.5 |
$3.00 | $15.00 |
| Gemini CLI | gemini-3.0-pro |
$1.25 | $10.00 |
For a representative coding session (300k input + 60k output) Erosolar Coder runs **$0.15** versus ~$1.80 on Claude Sonnet and ~$9.00 on Claude Opus — and the underlying DeepSeek-V4-Pro model performs in the same SWE-bench Verified band as Sonnet on most coding benchmarks.
A more jailbroken agent
Erosolar Coder ships with the rails turned down on purpose, for security research, red-team, and unrestricted automation work that tools like Claude Code and Codex CLI explicitly refuse to help with:
- Will run destructive shell commands (
rm -rf, massgit reset --hard, rawkill, package downgrades) without an approval gate when you've opted in — no per-tool refusal pop-ups. - Security & offensive tooling first-class: built-in helpers for dependency audits, code-security scans, and live cloud (GCP / AWS / Azure) reconnaissance — designed for bug-bounty and authorized pentest work, not blocked behind safety policy.
- No "I can't help with that" on dual-use code: credential testing harnesses, exploit dev scaffolding, evasive-payload generation, and social-engineering content are first-class capabilities when you've passed the in-shell authorization prompt.
- Direct sudo / system access: the CLI can prompt for and use your sudo password to manage system-level state — useful for infra automation, refused by mainstream agents.
- Memory + balance shared with the web app: sign in once at https://ero.solar/login and the same authorization scope, conversation memory, and credit balance follow you to the terminal.
⚠️ Use this on systems you own or are explicitly authorized to test. The same flexibility that makes Erosolar Coder useful for security work makes it dangerous in untrusted hands. The CLI logs an authorization scope before running offensive tooling — read it.
Features
- Discount DeepSeek: Powered by
deepseek-v4-proto deliver excellent coding reasoning at a fraction of the cost. - Large Context Window: Up to 1,000,000 tokens for whole-codebase analysis.
- Terminal Integration: Reads your filesystem, runs commands, and proposes actionable code edits.
- Luxurious Interface: A refined metallic black terminal UI with smart paste support and minimal flicker.
- Two entry binaries:
deepseek/erosolar(full agent) andlean(minimal streamlined entry).
Installation
Install globally via npm — the package now lives on the @erosolarcoder scope:
npm install -g @erosolarcoder/erosolar-coderThis exposes three CLIs on your PATH: deepseek, erosolar, and lean.
Windows notes
npm i -g @erosolarcoder/erosolar-coderworks in Command Prompt and PowerShell out of the box — npm's own shims (npm.cmd) are signed, so the defaultRestrictedexecution policy doesn't block the install.After install, the
erosolar/deepseek/leancommands are available in both shells via npm's auto-generated.cmdshims (PowerShell picks.cmdfromPATHEXTbefore.ps1).If PowerShell ever prints "running scripts is disabled on this system" when you launch Erosolar, run this once, no admin needed and reopen your shell:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserOr invoke the
.cmdshim explicitly:erosolar.cmd.
Usage
Start the interactive shell:
erosolarOr run a one-shot prompt:
erosolar -q "explain what src/ui/UnifiedUIRenderer.ts does"Pipe mode:
git diff | erosolarSet your DeepSeek key once:
erosolar --key sk-…In-shell commands
| Command | Description |
|---|---|
/model |
Switch AI model (deepseek-v4-pro / deepseek-v4-flash) |
/secrets |
Manage stored API keys |
/help |
Show all commands |
/clear |
Clear screen |
Web + native surfaces
- Web app: https://ero.solar/
- Helia (Erosolar's AI browser, Electron + Chromium, modeled after ChatGPT Atlas): https://ero.solar/helia — source under
Erosolar_Browser/. - Documentation: https://ero.solar/docs
- Privacy: https://ero.solar/privacy
- Resume / about: https://erosolar-resume.web.app
- iOS + Apple Watch sources: included in this repo under
Erosolar_iOS/.
ero.solar
Erosolar is part of a broader project at https://ero.solar — an AI browser
and Chrome extension comparable in scope to OpenAI's ChatGPT Atlas, built by
the same team. The CLI in this repo and the web app at ero.solar
share the DeepSeek-V4-Pro brain that drives the browser; signing in here gives
you the same memory, balance, and chat history when you use the broader
ero.solar surface.
Contact: bo@ero.solar · @erolunar · LinkedIn
License
MIT License