frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: ctx – an Agentic Development Environment (ADE)

https://ctx.rs
35•luca-ctx•2h ago

Comments

luca-ctx•2h ago
OP here. Happy to answer questions.

The multi-thread, worktree-based interface will probably look familiar. The parts HN may care more about are the containerized workspaces, remote-host model, and local merge queue for multi-agent work.

xrd•1h ago
I'm honestly having trouble understanding all the benefits and drawbacks of the different agents, specifically around what I want to permit for permissions.

My solution has been to create a new VM which inherits a Claude cli and Gemini CLI pre installed.

That way I can configure at a host level all the permissions I want and it is less likely the agent will access full sets of files and even worse delete things. I know this limits what I can do, but I am exhausted my understanding and auditing the different options for each agent.

I can install a new agent on that VM and then try it, but it is hard to justify the effort to test each one.

What am I getting from your tool for example? Worktree support is somewhat common, right? Does this give me multi agent support that Gemini and Claude do not, does that mean collaboration across team members? Is your approach better, or safer, than what I'm doing? How do I verify those claims?

Can I use your tool with local models like gemma 4 and ollama/llama.cpp: I have 3 24gb Nvidia cards and would like to try a three agent approach, one to write the code, one to write tests, one to architect. I obviously can't use local models with Gemini and Claude cli.

I'm just riffing on my concerns, and thanks for listening.

unsubtlecoder•1h ago
Interesting, one challenge with other ADEs (nice term btw) like Conductor is that code navigation is terrible and too much emphasis is on a GUI for Claude.

We really need the best of both worlds: IDE (powerful like Intellij) + ADE (multitasking code)

And how does it compare to other tools like Conductor?

luca-ctx•1h ago
Yes, our view is that the ADE shouldn’t be where you do most code navigation.

The ADE is best for steering multiple agents and reviewing their changes, especially once you care about isolated worktrees, diffs, artifacts, and landing changes cleanly.

When you need deep code navigation, the best answer is usually to open the worktree in your IDE. IDEs are already world-class at navigation and refactoring, so there’s no reason to rebuild that badly inside an agent UI.

Compared with Conductor, a few differences:

- Conductor relies mostly on the safety model of the underlying harnesses; ctx can run work in VM/container-isolated environments with explicit network policy.

- ctx has a local merge queue for landing changes from multiple agent worktrees onto each other.

- Conductor is a local Mac app; ctx also works with Linux and is designed for the “local app + remote Linux runtime” model for devapp/VPS.

- Conductor is focused mainly on Claude Code and Codex; ctx is meant to be a broader environment around multiple harnesses.

There are also substantial UX differences, but those are easier to judge by trying them.

Bnjoroge•1h ago
Agree with this. I find myself switching panes between conductor or codex and zed because of code navigation. Maybe that's what cursor is trying to do in their new version, but I havent tried it yet
mattv8•1h ago
Very nice. Does this support GitHub Copilot subscriptions (oauth/hmac) or do you have plans for it? That would make or break for me because of the API costs.

Similarly I built a self-host able replit-like server with RAG but it's more end-user focused than developer focused...

luca-ctx•1h ago
Yes. The important distinction is that ctx sits above the agent harness, not above the raw model APIs.

With something like Cursor, you can use models from OpenAI, Anthropic, etc, but they still run through Cursor’s own agent harness.

With ctx, you bring the existing harness itself — Copilot, Claude Code, Codex, and so on — and it keeps its own auth/billing/session model. ctx is the layer around that: worktrees, review, runtime boundaries, merge queue, etc.

mattv8•4m ago
Thanks for the response. I'll definitely give ctx a try.
leetvibecoder•1h ago
Does this solve indexing of codebases like Cursor does, or do you still need tools / plugins like Lumen (https://github.com/ory/lumen) for that in order to work in larger codebases without wasting tens of thousands of tokens on tool calls and brute force guessing with grep?
hmokiguess•1h ago
how does lumen differ from serena? https://github.com/oraios/serena curious about it seems promising
leetvibecoder•59m ago
Serena is more about text editing and better code search tooling while lumen is (a) chunking code with tree sitter and (b) storing embeddings (vectors) generated by an embedding model (ideally ones which are for code) which you then can search against. Effectively it‘s RAG for code made available as an MCP server.

This reduces tool calls (and thus saves times and tokens) because instead of „trying“ / „guessing“ names repeatedly, tools like claude code typically get useful search results on the first try.

Claude for example may search for „dbal“ via regex, but the function name is „sql“ - semantic search will find that while for regex, claude would try 3 additional guesses before it actually finds what its looking for. Hope this helps!

hmokiguess•57m ago
Oh thank you for the detailed response, that makes perfect sense, appreciate it and will certainly give it a try now!
luca-ctx•53m ago
ctx sits around the agent harness, not in place of it.

So Claude Code, Codex, OpenCode, etc keep their normal tools/capabilities rather than being reimplemented inside a new proprietary agent. If a harness has its own indexing/code-search story, you still get that; if it doesn’t, ctx doesn’t provide additional tools like codebase indexing.

The only additional tools we do provide are orchestration-related: - local merge queue for agents (submit your diff and make sure it lands cleanly on others) - agnostic subagents (for example, a Claude Code primary agent can invoke a Codex subagent)

bloppe•1h ago
I don't understand why so many people building agents feel the need to fork and maintain a whole IDE as well
Bnjoroge•1h ago
because you probably need both if you are doing guided agentic work. IDE gives you the familiar benefits, especially code nav. If you are using background agents or launching agents without reviewing their work, then I guess you dont need an IDE.
luca-ctx•1h ago
I agree. I don’t think most of these products should be forking and maintaining a whole IDE.

That’s also not how I think about ctx. The UI is a workbench around agents, not a replacement for IntelliJ/VS Code. If you need deep code navigation, refactors, debugger-heavy work, etc., the right answer is usually to open the same worktree in your IDE.

ctx includes surfaces for diff review and an integrated terminal, but not code editing or a full-fledged IDE. It's not a fork of VSCode.

throwif•46m ago
exactly tmux + claude code + your real editor. the ide tax is real and nobody benchmarks it
zabi_rauf•30m ago
I have the exact same setup and editor for me is just neovim as I can easily see changes (lazygit) and make small tweaks. The only thing I’m missing in my workflow is some isolation for running claude so I can let it go without having to approve tools.
rane•23m ago
For a container-based sandbox in tmux, see workmux and its sandboxing feature.

The added isolation does come with some friction though, which is kind of by design.

Bnjoroge•58m ago
Looks cool! Two things: I see you mentioned the merge queue, but how exactly do people avoid or resolve merge conflicts when merging work from two or more agents in the separate worktrees? I havent really seen a seamless way to approach this or do people just have the agents work on distinctly unrelated stuff? Secondly, are containers the primary sandboxing appraoch? or do you support vms?
luca-ctx•37m ago
You can't avoid merge conflicts from happening, but you can definitely empower the agents to self-resolve them.

The workflow is like this:

1. an agent works in its own worktree

2. its changes are green in isolation

3. it submits that work to the local merge queue

4. the queue replays the change on top of the latest target branch and runs verification

5. if it conflicts or fails after replay, the merge is rejected

6. the agent can then pull in the new upstream state, resolve the conflict or test failure, and resubmit

We've found that agent-driven conflict resolution via a merge queue works really well in practice. It's almost necessary because of the increase in velocity of changes.

Regarding sandboxing approach, containers are primary right now. We do this natively on Linux and with Apple Virtualization Framework (AVF) on Mac. So yes, there is a VM involved on Mac, but it’s not exposed as a separate top-level mode.

nhumrich•55m ago
Appears to not work on Linux. Just launches, doesn't install an application file, window is blank on launch, and menu bar is all greyed out.
luca-ctx•21m ago
Thank you for flagging, I am fixing now and will update this thread when it's ready.
SparkyMcUnicorn•55m ago
Your repo says it's open source, but it's missing the source.

https://github.com/ctxrs/ctx

luca-ctx•44m ago
That is our issues-only repo, similar to Claude Code. It is not open source.
abound•41m ago
That's a bummer, especially since folks normally use the ".rs" TLD for Rust projects, so the (perhaps accidental) implication from the domain is that this is a Rust project with the source available somewhere.
luca-ctx•36m ago
It is a rust project, just not source available.
jimbokun•54m ago
I really appreciated this overview of when to use an IDE vs an ADE:

https://ctx.rs/ade-vs-ide

TLDR: use an ADE if you need multiple agents working concurrently on your code base. Otherwise IDE with an agent plugin is probably fine.

luca-ctx•20m ago
Glad it helped!
phplovesong•45m ago
No thanks. We have a strict no-ai policy.
alex1sa•41m ago
The merge queue is the part that matters most and gets the least attention. Running agents in parallel is easy. Landing their changes cleanly when two agents touch overlapping files is the unsolved part. Most tools just hope it doesn't happen.
rane•32m ago
Conflicts are not a problem at all in my experience.

My setup is that I run `/merge`[1] , which will first have the agent rebase changes on base, and on conflicts, it's instructed to understand both sides before resolving, which helps it merge them cleanly. I haven't resolved conflicts manually in months and also haven't had any issues with agents resolving them incorrectly. A solved problem as far as I'm concerned.

[1]: https://workmux.raine.dev/guide/workflows#direct-merge

luca-ctx•31m ago
Definitely agreed.

One thing we found works really well is having the agent read the other agent’s plan document when it hits a merge conflict, not just the diff. A lot of conflicts are hard to resolve correctly without the intent behind the change.

Snakes3727•35m ago
Fundamentally one of my biggest gripes with tools like this is that often you are not working with a single repo in anything beyond simple apps.

When I am working with Claude I am often doing it from the root directory of a workspace of dozens of repos. I work with Claude to come up with a plan for implementing a feature and it investigates and plans.That plan often encompasses multiple repositories. Claude then turns large scale plans into smaller issues, or tickets as artifacts.

iddan•28m ago
What’s preventing you from putting all of those in a single parent directory and boot into it?
luca-ctx•26m ago
We’ve felt the same thing and tried to make ctx work well in multi-repo setups.

There are basically two ways to approach it:

- If one repo is primary and the others are mostly reference material, use workspace attachments. That lets the agent work in one repo while still being able to read the others. I do this a lot with dependency/source repos. - If the work genuinely spans multiple repos, just initialize the workspace at the parent directory that contains all of them. The harness still sees the same filesystem layout it normally would, so Claude/Codex/etc. can plan and work across repos the same way.

The main caveat is that some features are naturally more repo-specific. Merge queue is the obvious example, since landing and replay are much cleaner when there is one target repo/branch model.

dbbk•15m ago
Have you never heard of a monorepo?
vivzkestrel•19m ago
- someone really needs to start breaking these down along the lines of

- "I tried 47 agentic AI cli tools posted on HN in the last month. Here are the shocking results"

ookblah•14m ago
conductor was a non-starter for due to requiring the github + PR workflow. do you just allow management of a local repo without pushing us into a specific git flow? worktrees for diff work is fine, just if you want to handle the merge yourself (for whatever reason) how would that work.
sspiff•8m ago
What is the point of hosting a GitHub repo[0] with nothing in it but some links to your domain? There's no code, no license, no nothing.

[0] https://github.com/ctxrs/ctx

famouspotatoes•7m ago
Great tool so far- it feels deeply considered.

Show HN: I built a frontpage for personal blogs

https://text.blogosphere.app/
247•ramkarthikk•3h ago•94 comments

Solar and batteries can power the world

https://nworbmot.org/blog/solar-battery-world.html
104•edent•1h ago•97 comments

Marc Andreessen is wrong about introspection

https://www.joanwestenberg.com/marc-andreessen-is-wrong-about-introspection/
144•surprisetalk•1h ago•125 comments

Big-Endian Testing with QEMU

https://www.hanshq.net/big-endian-qemu.html
29•jandeboevrie•2h ago•16 comments

Samsung Magician disk utility takes 18 steps and two reboots to uninstall

https://chalmovsky.com/2026/03/29/samsung-magician.html
146•chalmovsky•4d ago•67 comments

April 2026 TLDR Setup for Ollama and Gemma 4 26B on a Mac mini

https://gist.github.com/greenstevester/fc49b4e60a4fef9effc79066c1033ae5
164•greenstevester•6h ago•74 comments

A Recipe for Steganogravy

https://theo.lol/python/ai/steganography/seo/recipes/2026/03/27/a-recipe-for-steganogravy.html
49•tbrockman•5d ago•10 comments

Show HN: Apfel – The free AI already on your Mac

https://apfel.franzai.com
438•franze•6h ago•92 comments

Decisions that eroded trust in Azure – by a former Azure Core engineer

https://isolveproblems.substack.com/p/how-microsoft-vaporized-a-trillion
1015•axelriet•23h ago•470 comments

What Category Theory Teaches Us About DataFrames

https://mchav.github.io/what-category-theory-teaches-us-about-dataframes/
102•mchav•5d ago•32 comments

ESP32-S31: Dual-Core RISC-V SoC with Wi-Fi 6, Bluetooth 5.4, and Advanced HMI

https://www.espressif.com/en/news/ESP32_S31_Release
139•topspin•5d ago•69 comments

Improving my focus by giving up my big monitor

https://ounapuu.ee/posts/2026/04/01/focus/
12•Fudgel•2d ago•6 comments

SSH certificates: the better SSH experience

https://jpmens.net/2026/04/03/ssh-certificates-the-better-ssh-experience/
65•jandeboevrie•5h ago•20 comments

NHS staff refusing to use FDP over Palantir ethical concerns

https://www.freevacy.com/news/financial-times/nhs-staff-refusing-to-use-fdp-over-palantir-ethical...
208•chrisjj•6h ago•69 comments

TDF ejects its core developers

https://meeksfamily.uk/~michael/blog/2026-04-02-tdf-ejects-core-devs.html
83•janvdberg•3h ago•66 comments

Critics say EU risks ceding control of its tech laws under U.S. pressure

https://www.politico.eu/article/fatal-decision-eu-slammed-for-caving-to-us-pressure-on-digital-ru...
147•nickslaughter02•4h ago•86 comments

What we learned building 100 API integrations with OpenCode

https://nango.dev/blog/learned-building-200-api-integrations-with-opencode/
53•rguldener•3d ago•9 comments

Intel Assured Supply Chain Product Brief

https://www.intel.com/content/www/us/en/content-details/850997/intel-assured-supply-chain-product...
30•aw-engineer•4d ago•2 comments

Tailscale's new macOS home

https://tailscale.com/blog/macos-notch-escape
516•tosh•21h ago•266 comments

Google releases Gemma 4 open models

https://deepmind.google/models/gemma/gemma-4/
1650•jeffmcjunkin•23h ago•441 comments

I prefer OG style websites – what are yours?

18•gorfian_robot•1h ago•13 comments

Cursor 3

https://cursor.com/blog/cursor-3
489•adamfeldman•21h ago•361 comments

The True Shape of Io's Steeple Mountain

https://www.weareinquisitive.com/news/hidden-in-the-shadow
91•carlosjobim•5d ago•2 comments

Artemis II's toilet is a moon mission milestone

https://www.scientificamerican.com/article/artemis-iis-toilet-is-a-moon-mission-milestone/
303•1659447091•1d ago•134 comments

Category Theory Illustrated – Types

https://abuseofnotation.github.io/category-theory-illustrated/06_type/
22•boris_m•6h ago•1 comments

Good ideas do not need lots of lies in order to gain public acceptance (2008)

https://blog.danieldavies.com/2004/05/d-squared-digest-one-minute-mba.html
322•sedev•22h ago•158 comments

Bun: cgroup-aware AvailableParallelism / HardwareConcurrency on Linux

https://github.com/oven-sh/bun/pull/28801
21•tosh•4h ago•9 comments

C89cc.sh – standalone C89/ELF64 compiler in pure portable shell

https://gist.github.com/alganet/2b89c4368f8d23d033961d8a3deb5c19
169•gaigalas•2d ago•55 comments

Vector Meson Dominance

https://johncarlosbaez.wordpress.com/2026/03/29/vector-meson-dominance/
47•chmaynard•5d ago•5 comments

F-15 shot down over Iran, active search for crew

https://www.reuters.com/world/middle-east/us-fighter-jet-shot-down-over-iran-search-underway-crew...
4•throwawaybert•13m ago•0 comments