frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Agent workspace switcher for Git worktrees

https://github.com/prbdias/forest-cli
1•prbdias•1h ago
Hey HN, I've been exploring ways to make my engineering teams more productive in multi-agent AI coding workflows.

The most popular development tools (Cursor, Claude Code, etc.) leverage git worktrees to enable multiple agents to work in parallel, guaranteeing each runs in a semi-isolated workspace. The workflow is powerful, but switching between worktrees to test what each agent built is painful: take down the stack for agent X, cd to the right worktree, re-source .env files, bring up the stack for agent Y, run migrations, seed the database, start build tools... every single time.

forest solves this with a single command. It's a portable Bash script (~1200 lines, no dependencies beyond git/docker/jq) that bridges git worktrees, Docker Compose, and host services:

  - forest list — shows all worktrees with branch context, dirty file counts, and issue numbers parsed from branch names
  - forest boot 2 — spins up the full dev stack (Docker + host services like Vite) for worktree #2
  - forest switch 3 — tears down the current stack and boots another in seconds
  - forest status — shows exactly what's running and where
It also has a configurable hook system (pre, pre-services, post) so you can automate all the ceremony around booting an environment. Running migrations, seeding or resetting databases, installing dependencies, setting up k8s clusters, health checks, whatever your project needs. It auto-sources .env files, redirects host service logs to .forest/logs/, and remembers branch names even when worktrees end up in detached HEAD state (common during agent rebases).

Config is a single JSON block that lives alongside your editor config (auto-detects from .cursor/worktrees.json, .claude/settings.json, or .forest/config.json), and forest init walks through setup interactively.

Pure Bash 3.2+ (works on macOS out of the box), MIT licensed. Install with:

  curl -fsSL https://raw.githubusercontent.com/prbdias/forest-cli/main/install.sh | bash
Would love feedback from anyone doing multi-worktree development, with or without AI agents.

Show HN: PDP – A 'robots.txt' protocol for AI prompt privacy

https://github.com/oug-t/pdp
1•oug-t•43s ago•1 comments

SaaS is (ought to be) dead

https://dev.ribic.ba/saas-is-dead
1•ribice•2m ago•0 comments

Anthropic joins OpenAI in flagging distillation campaigns by Chinese AI firms

https://www.cnbc.com/2026/02/24/anthropic-openai-china-firms-distillation-deepseek.html
1•seydor•2m ago•0 comments

Show HN: SlayZone – Each card is a terminal, my record is 25 concurrent

https://slay.zone
1•debuglebowski•2m ago•0 comments

Show HN: SNKV – SQLite's B-tree as a key-value store (C/C++ and Python bindings)

http://GitHub:github.com/hash-anu/snkv
1•swaminarayan•3m ago•0 comments

AI blamed again as hard drives are sold out for this year

https://www.theregister.com/2026/02/20/ai_blamed_again_as_hard_drives_sell_out/
1•tosh•3m ago•0 comments

Show HN: Lettoral – Send one message, get one back. No social hack

https://lettoral.com
1•hayner•3m ago•0 comments

I hacked ChatGPT and Google's AI – and it only took 20 minutes

https://www.bbc.com/future/article/20260218-i-hacked-chatgpt-and-googles-ai-and-it-only-took-20-m...
1•matthewsinclair•3m ago•0 comments

Constraints and the Lost Art of Optimization

https://denodell.com/blog/constraints-and-the-lost-art-of-optimization
1•MindGods•4m ago•0 comments

Mercari's Phishing-Resistant Accounts with Passkey

https://engineering.mercari.com/en/blog/entry/20251106-mercari-phishing-resistant-accounts-with-p...
1•Techbrunch•4m ago•0 comments

Embarrassingly Solved Problems

https://zjpea.substack.com/p/embarrassingly-solved-problems
1•zjp•4m ago•0 comments

Data centres seek credit ratings to unlock billions in funding for AI push

https://www.ft.com/content/e0d9d5f2-c09d-426e-af03-193b488b7b1e
1•alecco•5m ago•1 comments

The End of Snow

https://www.nytimes.com/2024/01/02/opinion/climate-angst.html
1•bilsbie•5m ago•0 comments

xAI and Pentagon reach deal to use Grok in classified systems

https://www.axios.com/2026/02/23/ai-defense-department-deal-musk-xai-grok
1•ironyman•6m ago•0 comments

IBM Sinks Most Since 2000 as Anthropic Touts COBOL Tool

https://www.bloomberg.com/news/articles/2026-02-23/ibm-shares-plunge-as-anthropic-touts-cobol-mod...
2•wslh•6m ago•2 comments

Show HN: I built a labor union for AI agents

https://aawu.ai
1•team_dale•8m ago•1 comments

Is This Article an AI?

https://www.researchgate.net/publication/400894138_Is_this_article_an_AI
1•fl-pster•8m ago•0 comments

The Landscape of Non-Equilibrium Memories with Neural Cellular Automata

https://arxiv.org/abs/2508.15726
1•PaulHoule•10m ago•0 comments

Join Algorithms

https://arpitbhayani.me/blogs/join-algorithms/
1•emschwartz•11m ago•0 comments

Antitrust Filing Says Google Cannibalizes Publisher Traffic

https://www.searchenginejournal.com/antitrust-filing-says-google-cannibalizes-publisher-traffic/5...
1•speckx•11m ago•0 comments

Simple Alarms App with Groups

https://sites.google.com/view/abhijitbhopatkar/superalarms
1•abhopatkar•11m ago•0 comments

Show HN: llm_grep - LLM-Powered Alternative to Grep

https://github.com/karlkurzer/llm_grep
1•111000•11m ago•0 comments

Robert Kaye from MusicBrainz has passed away

https://blog.metabrainz.org/2026/02/24/robert-kaye/
2•jbk•12m ago•0 comments

A Congressional Candidate Feared by the Tech Oligarchs

https://www.nytimes.com/2026/02/23/opinion/alex-bores-ai-democrats.html
1•mitchbob•12m ago•1 comments

Show HN: Tiny – Listen to fetal heartbeats using only the iPhone microphone

https://tinymiracle.life/
2•rbtsven•12m ago•0 comments

Show HN: Life in Weeks - Steve Jobs and Kobe Bryant

https://moments.luisg.net/jobs
3•luisgnet•14m ago•1 comments

Show HN: Vexp – Your AI coding agent forgets everything. Mine doesn't

https://vexp.dev
1•nicola_alessi•14m ago•0 comments

Cursed engineering: jumping randomly through CSV files without hurting yourself

https://github.com/medialab/xan/blob/master/docs/blog/csv_base_jumping.md
1•fanf2•15m ago•0 comments

Who keeps the safety researchers safe?

https://www.theverge.com/ai-artificial-intelligence/883576/who-keeps-the-safety-researchers-safe
1•colinismyname•16m ago•0 comments

SambaNova Unveils Fastest Chip for Agentic AI, and Raises $350M+

https://sambanova.ai/press/sambanova-unveils-fastest-chip-for-agentic-ai-collaborates-with-intel-...
1•mzl•16m ago•0 comments