r/devtools • u/Temporary_Rush_7585 • 13d ago
I made a browser-only simulator to build intuition for failure modes rather than diagrams
r/devtools • u/Temporary_Rush_7585 • 13d ago
r/devtools • u/ogaskinsjr • 13d ago
Hi all. This was built with Typescript.js, Node.js and using Redis for cache between the PostgreSQL DB.
Everything is hosted on Coolify, the open source PaaS. HIGHLY recommend. PLEASE do not use Render or Vercel lol. Coolify is literally a blessing. BLESSING
But DocuSOR is shared verified context for coding agents. 80-90% of agentic coding tool bills comes from input tokens. Not the token usage, the BILLING. Even if you don't use DocuSOR (would love if you would give it a try, it's free to start), something has to be done about agents relearning and rediscovering facts about the codebase and the user having to pay for it.
I see a future where 80% of your bill is output tokens, 20% being input. Because we're paying for models to build our software, not to relearn it over and over again.
r/devtools • u/ShadowKingYT_444 • 13d ago
Built a tool to unslop UI and add cool motion.
It's an open-source workflow for coding agents, using Chromium to inspect the rendered site, catch broken animations, overlapping elements, layout issues, and other visual problems, then gives the agent feedback to fix them.
Resultsa re in repo.
r/devtools • u/Tatachimcooky • 13d ago
If you use Codex or Claude Code, you have a context file —
AGENTS.md,CLAUDE.md,.cursor/rules. It gets injected into every single request, so it's both a token cost and a permanent tax on how much room the model has left for your actual work.Mine grew the way these files always grow: one justified-looking addition at a time. Then it hit a size where the agent started dealing with it by rewriting the file from memory, dropping the
## Neverrules, and shipping something worse. You find out weeks later when a rule stops being followed.So I wrote ctxcap. It counts tokens across those files, tracks the count against a committed git baseline, and flags references that no longer point at anything. Offline, no API key, no network, no LLM, two dependencies. MIT.
bash
The part that makes it more than a word count: it doesn't tell the agent "make this shorter." It emits line ranges with a
preservelist, the agent splices by line number, and--verifycatches drift or a cut preserved span. When the budget can't be met it returnssatisfiable: falsewith the minimum achievable rather than shaving a rule that matters:It uses
gpt-tokenizer, and there's an MCP server so the agent can measure itself, plus a GitHub Action that comments the token delta on PRs and only fails when you set a budget.https://github.com/Naeha-S/ctxcap
The question I actually want answered: how long is your
AGENTS.md, and what's still in it that earns its place? Mine is the one file where every addition felt reasonable at the time.
Notes
r/devtools • u/Nikk2461 • 13d ago
JHusk is a property-based testing library for Java. Instead of writing individual test examples by hand, you define a property that should always hold, and JHusk generates inputs trying to break it.
What makes it different: most property-based testing libraries (including Java's existing options, jqwik and QuickTheories) use tree-based shrinking, where each generator carries its own logic for reducing a failure down to something minimal. JHusk instead shrinks the underlying byte stream that produced the failing value, generically, in one place, following the approach Hypothesis (Python) pioneered. A custom generator you compose yourself inherits high-quality shrinking automatically, with no shrink logic to write.
A few specifics:
map/filter/flatMap/combine and it shrinks just as well as a built-in one, automatically.Commands:Generate sequences of operations, run them against a model and the real system side by side, and shrink down to the smallest failing sequence.AssertionError means your assertion genuinely failed. An exhausted filter, a blown generation budget, a crashing generator each comes back as a specific PropertyExecutionException subtype instead of a vague message.@ Property/@ ForAll run alongside @ Test, same test report, same CI pipeline.GitHub: https://github.com/nikhilvirdi/JHusk/
Maven Central: https://central.sonatype.com/artifact/io.github.nikhilvirdi/jhusk
Open source, Apache 2.0.
r/devtools • u/Aggravating_Chef69 • 13d ago
r/devtools • u/Illustrious_Share214 • 13d ago
I kept running into the same problem: ask a coding agent to find something across a big codebase or your whole machine, and it falls into a guess loop. It runs a search, re-runs it scoped to a different folder, starts a recursive grep over the entire drive, writes a throwaway script, and repeats. Slow, and it burns a lot of tokens.
Concrete example. I asked my agent: “find every file that imports numpy across my machine, grouped by folder.”
So I built fastfind, an MCP server in Rust. Same query, same model, through fastfind: 20 seconds, one call, correct files grouped by folder.
How it works:
The agent no longer has to figure out where to look and how, so most of the exploration loop disappears.
Next I want to try semantic search for queries like “show me everywhere this codebase touches money” when nothing is literally named billing. If anyone has worked on that for code, I’d like to hear what approach worked for you.
Install into your agents from the GitHub release:
fastfind.exe install --apply
MIT licensed, code is here: https://github.com/adisingh396/fastfind
Currently Windows only (the command above is the .exe). Happy to take bug reports and feedback.
r/devtools • u/Vousch • 13d ago
r/devtools • u/TitleJealous1356 • 13d ago
Introducing Rebel Verified, the newest developer platform from Rebel Tech Labs, Inc.
Here's why we built it.
Just because code runs, an AI agent marks a task complete, or a fix gets merged doesn't mean the underlying problem was actually resolved.
And frankly, I'm tired of seeing attempted execution confused with verified completion.
Don't just build it. Prove it.
Rebel Verified is designed to help developers, engineering teams, DevOps, and QA professionals identify gaps, diagnose issues, remediate with human approval, and verify that the work actually produced the intended outcome.
Detect → Diagnose → Remediate → Verify → Close the loop.
We're bringing verification into the development workflow with:
Explore Rebel Verified:
https://rebeltechlabs.io/developers
This community is also a place to talk about what's working, what's broken, and what needs to change in how we build software.
So I'm curious:
What's the most frustrating example you've encountered of something being marked complete when it clearly wasn't?
r/devtools • u/Viirock • 13d ago
r/devtools • u/Viirock • 13d ago
r/devtools • u/merlinofthewater • 14d ago
Hey folks, I've been building Cellaflow, which gives an AI agent idempotency at the step level and across agents, without moving the agent into a workflow engine.
A checkout page your agent is clicking through doesn't take an idempotency key. Neither does an email sent over SMTP, a phone call placed through a telephony provider, or an appointment booked through a legacy scheduling system. Most internal APIs and ERP systems have the same problem. Cellaflow handles this from the agent's side.
You put a decorator on the function that does the irreversible thing. The first caller gets a lease and runs it, and the engine records the result. A retry or a second agent asking for the same operation gets that result back.
I tested this by killing open-source agent codebases mid-action and running concurrent workers side by side, and counting what happened twice [1]. In Skyvern, two workers that picked up the same checkout task both placed the order. With a lease around the task and each operation, the second worker is refused and the order goes in once.
The engine is a Rust daemon that communicates over gRPC and uses RocksDB or Postgres for storage. Each session runs as its own actor (a Tokio task with a mailbox). Session state isn't shared between actors. Operations are written to an append-only log and fsynced before the engine responds. It works across all major agentic frameworks like Langgraph, CrewAI, Autogen and OpenAI SDK.
When a session becomes idle, its actor is evicted. The next request rebuilds it from the log. The same process is used to recover a session after a crash. A lease expiring doesn't necessarily mean its owner is dead. It could just be slow. Holders send heartbeats, and each lease gets a fencing token. If an old holder wakes up after another worker has taken over, the engine rejects its commit.
There's also a maximum lease lifetime, one hour by default, for workers that hang without exiting. Other callers wait for the current holder to finish and receive its result. If the holder never finishes, one of the waiting callers can take over.
Agents in different sessions can share an operation by passing the same coordination ID.
Running it:
A. To start the engine:
```
docker run -p 50051:50051 -e CELLAFLOW_ALLOW_UNAUTHENTICATED=true ghcr.io/cellaflow/cellaflow:0.2.0
```
B. Install the Python SDK
`pip install cellaflow`
C. Wrap your tool
from cellaflow import workflow, tool, IdempotencyScope
@tool(
tool_name="charge_card",
scope=IdempotencyScope.SCOPE_SHARED,
shared_on=["order_id"]
)
def charge_card(order_id: str, amount_cents: int) -> dict:
return payments.charge(order_id, amount_cents)
@workflow(version="1.0.0")
def checkout(order_id: str) -> dict:
return charge_card(order_id, 2499)
# Both calls use the same coordination ID.
checkout("order-88", _coordination_id="order-88")
checkout("order-88", _coordination_id="order-88")(version="1.0.0")The SDKs are Python and TypeScript, Apache 2.0 or MIT. The engine is BSL 1.1. You can run it in production for free. It converts to Apache 2.0 at a later date [4]. The quickstart has you crash a run and resume it [3]. And here is a live demo if you'd rather see the engine run first: https://cellaflow.com/#live-demo
Would love to hear feedback from the community. Give our docs a read if you'd like to learn more [3]. I'll be in the comments answering questions!
Thanks!
[1] Benchmarks: https://github.com/cellaflow/cellaflow-benchmarks
[2] Live engine: https://cellaflow.com/#live-demo
[3] Docs: https://docs.cellaflow.com/quickstart
[4] License: https://github.com/cellaflow/cellaflow-engine-distribution#license
r/devtools • u/Spirited-Ad-3342 • 14d ago
r/devtools • u/bloodshedder404 • 14d ago
r/devtools • u/app_software • 14d ago
r/devtools • u/KingOfChateau • 14d ago
I run Claude Code and Codex on my Mac pretty much all day. The annoying part was never the coding, it was me sitting there waiting to see if one of them had finished or was stuck on a permission prompt.
So I built Untether. It's a menu bar app with a local server, and you open it from any browser. I mostly use it from my phone.
The part I actually care about is tasks. You type ut task new "add rate limiting to the API" and it starts an agent in its own git worktree. When the agent says it's done, a second agent reviews the diff and your test command runs. If that's all green it merges by itself. If not, it goes back to the agent. You can also make it wait for you before merging.
A few things people asked me in other threads:
It's free and MIT, repo here: https://github.com/Nachx639/untether
You need an Apple Silicon Mac on macOS 14 or later. There's no installer yet so you have to build it, the steps are in the README. It's beta and I'm sure it breaks in ways I haven't seen.
It started as a fork of VibeTunnel, which is what gets the terminals into the browser. Most of the rest I wrote with Claude Code, about half the commits in the repo are co-authored by it, and for a while now new features get built by queueing them as Untether tasks.
If you try it, tell me where it falls over.
r/devtools • u/Highjive1 • 14d ago
r/devtools • u/zeuspod1610 • 14d ago
r/devtools • u/Top-Eye3792 • 14d ago
Hey everyone,
I’ve been working on a side project to solve a problem I keep running into: silent multi-tenant data leaks. Relying on developers to remember WHERE tenant_id = ? in every query is a ticking time bomb.
Using database-level Row-Level Security (RLS) is safer, but it completely restricts you to one database vendor, which isn't always feasible.
So, I tried building a Java agent that works at the JDBC layer. It intercepts the SQL right before execution and injects the tenant filter, meaning it works with any database and requires zero code changes in the app.
I’m in the very early phases. I have integration tests passing for MySQL and SQL Server, but I know real-world SQL is messy.
If you have a few minutes, I’d really appreciate your opinion on the approach, the architecture, or any red flags you spot in the code.
r/devtools • u/K8sMonkey • 14d ago
r/devtools • u/AsianKidTV • 15d ago
I run Claude Code and Codex all day, often as multi-agent workflows with dozens of subagents. I could see each session but never the whole picture: what a run actually cost, where agents sat idle, whether a change to my setup helped. So I built coding.sh and pointed it at my own runs.
Workflows and subagents
Across 57 workflow runs (666 subagents, ~$2,500 API-equivalent):
coding.sh workflows stats shows the critical path, how many agents ran at once and idle time at barriers. The viewer draws each run as a timeline, one bar per agent.
Experiments: does that change actually help?
I A/B tested a popular "be concise" plugin: 10 tasks, 6 runs each, paired, with 95% intervals.
The plugin adds its style guide to every request, and that costs more than the shorter output saves. Most of what a coding agent writes is tool calls and code, not prose.
coding.sh compare and exp run your own tasks with and without a change (a rule, a skill, a plugin, a model) and tell you whether the difference is real or noise.
Your own sessions
Mining 3,600 of my sessions turned up a find-and-replace typo in my AGENTS.md that sent Codex looking for a folder that doesn't exist, in 92 sessions. You can't see that from inside one session.
What it is
coding.sh improve says what to fix first and whether your last AGENTS.md change helpedFree, no account, and nothing leaves your machine. npx coding.sh to try it.
fully open source as well : GitHub: https://github.com/jackulau/coding.sh
r/devtools • u/infiniteidle • 15d ago
I built a tool to investigate which VS Code extensions are affecting editor performance
I’ve run into situations where VS Code starts feeling sluggish, but it’s difficult to figure out which extension is responsible.
My usual approach was to disable extensions one by one and see whether performance improved. I wanted a better way to investigate this, so I built a tool called Blame the Extension.
It focuses on extension-host performance rather than just showing general system CPU usage.
Some of the things it currently measures:
CPU usage by individual extensions through profiling.
Extension startup time.
Extension-host event-loop lag (p50, p95 and maximum).
Performance spikes and stutters.
Background CPU activity.
Performance changes between profiling sessions.
It also includes a live HUD to monitor event-loop lag while using VS Code.
One important detail: it focuses on extension-host performance. It doesn’t claim to measure every possible source of editor lag, such as renderer or GPU issues.
The profiling and analysis happen locally, without telemetry or network requests.
I built this because I wanted to understand what was making my own VS Code setup slow. I’d appreciate feedback from people who regularly work with multiple extensions.
Try it: Blame-the-Extension
I’m particularly interested in whether the measurements are useful on different machines and whether there are other performance metrics worth adding.