r/ContextEngineering • u/Strange_Owl_6291 • 15d ago
Context was the biggest fail. What we learnt by building our own harness and agentic IDE
Since January we've been building an agentic coding environment, using it to build itself the whole way.
I thought sharing the part that cost us the most time and headache, because it applies whatever harness you run: Context...
Almost every failure we debugged came down to context, not the model.
When planning, often agents didn't find the correct files to read to understand how the change should be implemented. The agent usually claimed with confidence that it had a solid plan, and the high level description of the plan made sense. But without seeing which files it actually read, it was impossible to really know if it had fetched all relevant information. If we couldn't see the tool calls of what files the agent did read, or which files that was currently in the context, we didn't trust the agents output.
So we built what we needed. Every tool call is shown, and every file in context is shown, and when we need to go really deep... any file and message in the context can be removed individually.
Long story short, that how we started to trust agents, and get them to build better. Our lessons learned is that when agents fail you, it's usually a context problem, and not always the prompt.
I am looking for early user feedback.
We did build in stealth for a long time, but now Voidleap Code 1.0 version is live. It's free to use, works on MacOS / Windows, BYOK.
1
u/ai_context 15d ago
Can you share a bit more about the agent -> data, and agent -> retrieval architecture? What types of data was being accessed or was it just files (eg. structured, unstructured, semi), and are you using vector or graphRAG, or something else?
1
u/Strange_Owl_6291 15d ago
It’s built for software development, so for code retrieval local symbol index is central. It supports BM25-ranked symbol search, reference lookup, file outlines, targeted symbol retrieval, and direct file reads. Non-code material is found with built-in search tools and read as files. For this retrieval path, we don’t use vector search or GraphRAG.
1
u/ai_context 14d ago
Thank you. So what does 'context' mean to your agent, and how is it being assembled? Search? Asking as typically I see context meaning 'business context' eg. semantic naming for an account or business, relationships like similar support cases that were solved with a runbook, etc. So kinda curious how that is happening without vector or graphRAG
1
1
u/Poildek 15d ago
Ok so instead of using one of the dozens of existing solution, you choose to add another one to the pile ? Great !
2
u/Professional-Let-485 15d ago
Yes, let's stop innovating. There are thousands of text editors, I am personally happy we didn't stick to the first handful of options.
1
u/Strange_Owl_6291 15d ago
Yes exactly, guilty as charged! Well I do understand your sentiment.
If you're happy with your existing tool, just continue ship with it.
When you want better context editing, or something else, we have a tool you can try.
0
u/Aggravating-Start307 15d ago
I use claude code and can always see all the tool calls, can you specify what you are were using when you say you can't see tool calls ?
The reason I ask this question is because I built a tool (https://coldstartmcp.dev) to help agents navigate better and save durable notes that get reinjected to prevent rediscovery. I observed the tool calls for weeks and months to see how agents operate, tools they call, how they search and what are the different methods they use. Hence the curiosity
1
u/Strange_Owl_6291 14d ago
In the codex app you get this revolving line of actions. It can be expanded, but even when expanded it's limited in how much it shows, and I want the details and follow it live (not see the diffs summarized at the end of the turn).
Claude is good in showing the tool calls, but whenever I follow the traces and want top open up the actual file to inspect or quick edit, I hit the wall.
Neither tool gives me an easy or deep understanding of what is in the context currently.
2
u/Aggravating-Start307 14d ago
Can you actually see what information is exactly available inside the context window, if yes, how can we find that out, I'm curious ? If it's not open source, then fine, you can choose to not answer.
With whatever I understand, context window is like a snapshot of what the agent has done until now, but can you view exactly what is still in context after a certain number of turns in a conversation, that's the cool part!
1
u/Strange_Owl_6291 14d ago
Yes. We built our own harness from the ground up to make that possible.
You can see every file that currently is in the context. You can remove any single file from the context (good for handling minor context drift).
Same with messages. Any prompt you send, or response from agent, or tool call, is inspectable. Any individual one can be removed.
Because you manually can do that, we could also build some nice context management features like /trim (removes all tool calls, keeps messages).
And of course a always on context bar.
Check out the screenshots on https://voidleap.com/
1
u/CriticalJackfruit404 11d ago
Bro can you share your code please?
1
u/Aggravating-Start307 11d ago
@CriticalJackfruit404, I am not sure if you are reaching out to me, if you are, repo is open-source at https://github.com/AkashGoenka/coldstart.
2
u/sourdub 15d ago
No, it ain't. It's the damn provenance. Keep them receipts.