Show HN: Hydra – Never stop coding when your AI CLI hits a rate limit
hackernews
|
|
{'이벤트': '📰', '머신러닝/연구': '📰', '하드웨어/반도체': '📰', '취약점/보안': '📰', '기타 AI': '📰', 'AI 딜': '📰', 'AI 모델': '📰', 'AI 서비스': '📰', 'discount': '📰', 'news': '📰', 'review': '📰', 'tip': '📰'} 하드웨어/반도체
#dlss 4.5
#게임
#던 오브 디파이언스
#레이 트레이싱
#반도체
#삼손
#엔비디아
요약
엔비디아가 '삼손'과 '던 오브 디파이언스' 등 다양한 게임에 자사의 인공지능(AI) 기반 화질 향상 기술인 DLSS 4.5 적용을 확대했습니다. 이번 신기술 도입은 게이머들에게 더욱 부드럽고 선명한 그래픽 환경을 제공하여 전반적인 플레이 체험을 대폭 향상시키는 데 초점을 맞추고 있습니다. 이에 따라 해당 게임들을 즐기는 사용자들은 한층 더 쾌적해진 최적화된 그래픽 성능을 경험할 수 있게 되었습니다.
왜 중요한가
개발자 관점
DLSS 4.5 도입은 AI 연산 부하를 최소화하면서도 고품질 화면을 구현할 수 있는 최적화된 렌더링 파이프라인을 구축할 수 있는 기회를 제공합니다.
연구자 관점
딥러닝 기반 이미지 업스케일링과 프레임 생성 알고리즘이 복잡한 실시간 3D 환경에서도 인간 시각 시스템의 한계를 넘어선 사실적인 그래픽을 생성하는 데 있어 진일보했음을 시사합니다.
비즈니스 관점
엔비디아는 이 기술을 인기 게임에 탑재하여 고성능 GPU 시장에서의 기술적 우위를 공고히 하고, 하드웨어와 소프트웨어 생태계를 결합한 강력한 잠재력을 입증하고 있습니다.
관련 엔티티
엔비디아
삼손
던 오브 디파이언스
AI
DLSS 4.5
본문
Unified wrapper for AI coding CLIs. Run Claude Code, Codex, OpenCode, or Pi as a full interactive TUI. When one hits a rate limit, switch to another with your conversation context on the clipboard. Cut one head off, another takes its place. AI coding CLIs are incredible, but every one of them has usage limits. Hit your Claude Code cap mid-task and you're stuck — copy context manually, open a different tool, re-explain everything, lose your flow. Hydra fixes this. You never stop coding because one provider ran out. Your fallback chain kicks in automatically, your context transfers with one paste, and you keep moving. No single provider becomes a bottleneck, and you're never locked into one ecosystem. The free tiers alone (Gemini via OpenCode/Pi = 3000 req/day combined) mean you can code all day even after burning through paid limits. go install github.com/saadnvd1/hydra@latest Or build from source: git clone https://github.com/saadnvd1/hydra.git cd hydra go build -o hydra . sudo mv hydra /usr/local/bin/ # Copy the example config mkdir -p ~/.config/hydra cp config.example.yaml ~/.config/hydra/config.yaml # (Optional) Set up free model API keys for fallback providers export GOOGLE_GENERATIVE_AI_API_KEY="your-key" # for OpenCode — https://aistudio.google.com export GEMINI_API_KEY="your-key" # for Pi — same key works hydra # start with primary provider (claude) hydra codex # start with specific provider hydra switch # switch ALL running sessions (from another terminal) hydra --continue # resume from last session with context on clipboard hydra status # show last session info hydra config # show loaded config Extra flags are passed through to the initial provider: hydra --model sonnet # passes --model sonnet to claude hydra codex --yolo # passes --yolo to codex hydra spawns your AI coding CLI in a PTY — full interactive TUI, identical to running it directly- Terminal output is monitored for rate limit / quota error patterns - When a limit is detected or you want to switch manually: - Open another terminal, run hydra switch - Sends SIGUSR1 to all running hydra sessions (rate limits are account-wide) - Each session shows a single-keypress provider picker - Open another terminal, run - On switch: conversation context (history + git diff + recent commits) is extracted and copied to clipboard - New CLI spawns — paste context and continue You can also press Ctrl+] inside a session to trigger a switch directly. | Order | Provider | Model | Cost | |---|---|---|---| | 1 | Claude Code | Your default (Opus/Sonnet) | Paid (Max/Pro) | | 2 | OpenCode | google/gemini-2.5-flash | Free (1500 req/day) | | 3 | Codex | Default (OpenAI) | Paid | | 4 | Pi | gemini-2.5-flash | Free (1500 req/day) | Configure your own provider chain in ~/.config/hydra/config.yaml . providers: - name: claude command: claude args: ["--dangerously-skip-permissions"] - name: opencode command: opencode args: ["-m", "google/gemini-2.5-flash"] env: OPENCODE_PERMISSION: '{"*":"allow"}' - name: codex command: codex args: ["--full-auto"] - name: pi command: pi args: ["--model", "gemini-2.5-flash"] limit_patterns: - "rate limit" - "quota exceeded" - "usage limit" # ... see config.example.yaml for the full list Override the config path with HYDRA_CONFIG=/path/to/config.yaml . On provider switch, the clipboard gets: - Conversation history — parsed from Claude Code's JSONL session files - Git diff — all uncommitted changes - Recent commits — last 5 for completed work context Multiple hydra sessions can run simultaneously. hydra switch signals ALL of them — because rate limits are account-wide, if one session hits a limit, they all need to switch. | Provider | Free Limit | Get Key | |---|---|---| | Google Gemini | 1500 req/day, 1M context | aistudio.google.com | | Groq | Generous daily limit | console.groq.com | | Cerebras | ~1700 req/day | cerebras.ai | Any CLI that runs interactively in a terminal works. Add it to your config: providers: - name: my-tool command: /path/to/my-tool args: ["--some-flag"] env: MY_VAR: "value" - macOS, Linux, or WSL (PTY-based — needs a Unix terminal) - At least one AI coding CLI installed xclip orxsel on Linux for clipboard support MIT