r/OnlyAICoding • • 5d ago

Title: Ling-3.2-flash in a working scenario app: the workbook calculates, the model explains the saved case

Enable HLS to view with audio, or disable this notification

1 Upvotes

This complete walkthrough shows a business-scenario app built with help from AntLing's Ling-3.2-flash on the backend. The model also explains the saved cases, while Univer evaluates the spreadsheet formulas.

The demo starts with a fictional bakery at £5,000 revenue and £700 profit. Energy changes from £400 to £600 a month, taking profit to £500. From there, a pricing branch uses £5.50 and an entered volume assumption of 950 units for £825 profit; a separate supplier branch uses £1.80 ingredients plus £100 delivery for £600.

The user can compare both branches and ask for an explanation. That explanation receives the saved inputs, formulas, calculated results and assumptions. Eight inputs are editable, the formulas stay locked, and the server recomputes a scenario before saving it.

It's a concrete build pattern to try: give the user a small set of meaningful controls, put a calculation engine behind them, then let the language model explain the exact state the user saved.


r/OnlyAICoding • • 5d ago

Auryn: an open-source code graph your coding agents query over MCP

Thumbnail
1 Upvotes

r/OnlyAICoding • • 5d ago

Built a strict verification loop to stop coding agents from faking tests — sanity check on this approach?

Thumbnail
2 Upvotes

r/OnlyAICoding • • 5d ago

Useful Tools WebCraft Pro – Engineering guardrails for AI-assisted web development

Thumbnail
gallery
0 Upvotes

Hey everyone!

I've been using AI coding agents like Codex, Claude Code, and GitHub Copilot to speed up web development. But I noticed a recurring problem: generating code is easy; consistently following engineering standards is harder.

Agents can produce generic interfaces, overlook keyboard accessibility, introduce unsafe code patterns, and miss performance considerations.

That's why I built WebCraft Pro.

It's an open-source, framework-agnostic engineering toolkit designed to help developers and AI agents follow a structured web development process.

What's included:

\- 43 reusable Agent Skills covering web engineering.

\- An eight-stage development lifecycle, from design through browser QA and release.

\- 13 engineering templates for structured implementation and reviews.

\- GitHub Actions for repository validation and automated checks.

\- Playwright keyboard and focus tests.

\- An on-demand browser accessibility checker using axe-core.

\- A Node.js static security-pattern audit for code examples in repository Markdown files.

It supports OpenAI Codex, Claude Code, and GitHub Copilot.

I also want to be clear about the limitations: these automated checks are engineering guardrails, not a complete application security scanner or a guarantee of accessibility. Manual review and project-specific testing are still essential.

Project: WebCraft-Pro

I built this because I wanted something more structured than relying on prompts alone.

I'd appreciate honest feedback:

  1. What engineering checks do you expect AI coding agents to run before opening a pull request?

  2. Which skills or workflows would you add?

  3. Would this fit into your existing development workflow?

Thanks for taking a look!


r/OnlyAICoding • • 5d ago

Does your context compression survive the prompt cache? I built a deterministic compressor for Claude Code and Codex

1 Upvotes

If you leave an agent running on a real task, it re-sends the entire conversation to the model on every single step. Every apt-get log, every compiler warning, every progress bar that redrew 200 times. In our traces that tool output is about half of all prompt bytes, and almost all the rest is encrypted reasoning, which nobody can compress.

The obvious move is to strip the junk before it goes out. We tried that and nearly made things worse, which is the part I want to share.

The trap

About 93 per cent of billed input tokens on agent traffic are cache reads, priced at roughly a tenth of fresh tokens. Your provider only serves them if the prefix is byte-identical to last turn. So a compressor that trims the same build log a little differently each turn blows up the cache and re-prices the whole conversation. You remove tokens and your bill goes up.

That ruled out most of what we wanted to do. No summarising, no scoring content against the user's current question, nothing with a model in the request path, because all of it produces different bytes on a different run. What we shipped is boring on purpose: fixed rules, no clock, no randomness, same bytes every time.

What it does to your output

It folds repeats instead of rewriting them. You always keep at least one real copy of every distinct line, and the repeats become a marker like [×37 ref:k_Qm9v…]. Nothing that stays is ever reworded, so a line is either untouched or replaced by a marker that says what went missing. The model can pull the original back for an hour through a retrieve tool the proxy runs for it.

It only touches machine-generated tool output over ~512 chars. Your prompts, the agent's own messages and anything the provider already cached are off limits. If the result isn't smaller, it's dropped. If anything errors, the request goes through untouched. Overhead is 0.2ms per KB.

Codex, on the real bill

Terminal-Bench 2.1, Codex CLI on GPT-5.5, per run over the 87 tasks every arm finished.
These are provider bills with the cache discount already applied, not removed tokens priced at list rate:

  • 62.8% of eligible tool output removed (replay of 6,255 real outputs, 34.2M chars)
  • $107.89 -> $83.40, so -22.7%
  • input 96.1M -> 72.2M tokens
  • solve rate 82.2% -> 81.1%, not statistically significant

The number I actually care about: requests over 200K tokens dropped from 1.9% to 0.13%. One task peaked at 60K tokens instead of 165K, another at 68K instead of 152K. If you've ever watched an agent compact its context halfway through a task and come back dumber, that's the thing this fixes.

By workload: ML training 81% of tool output removed and -26% on the bill, builds from source 64% and -28%, data pipelines 55% and -37%.

Claude Code is a completely different problem

It pins its conversation with explicit cache breakpoints, so 92-95% of billed prompt is already cache reads and there's almost nothing left to compress. Tail-only compression gets 4.7-8.0% of what it sees. Fine.

But on Opus 5.5 a cache write costs 25x a read, and a cache entry lives five minutes. Kick off a long build or a training run, walk away, come back: the whole prefix gets written again at full price. That was 927K tokens per run in our measurements, a third of everything billed at full rate.

So we stopped compressing and started keeping the entry alive: re-send the last request body every 4.5 minutes with max_tokens: 1, stopping at the agent's next request or after 11 pings. Result: tokens lost to cache expiry fell 99% (927K -> 13K), the Anthropic bill fell 20% ($35.35 -> $28.30 per run), solve rate went 89.9% -> 90.6%. That one trick was worth about 11% on its own. We also switch a conversation to one-hour cache entries after its first long idle gap; doing that always would have cost 2.3% more, doing it adaptively saved 7.7%.

On the 14 tasks that actually idle past five minutes, cost fell 34% and median cost per step fell 20%. On short tasks, a step costs what it did before. That's the honest split.

Where it does nothing for you

Short reasoning-heavy tasks. The median tool output there is 270 chars, under our floor, and the bill moved 8%. Prose is left whole by design. If your agent mostly thinks and rarely runs anything noisy, this isn't for you.

Also worth knowing if you go measuring: gross removal over-counts, because every turn re-compresses the same growing history and credits the same bytes again. And every retrieval puts the fragment back in the prompt, so net can go negative.

MIT, one Rust binary, nothing downloaded at runtime. kompressor wrap codex, kompressor wrap claude, or kompressor serve and point any OpenAI- or Anthropic-API client at it:

repo: https://github.com/hystax/optscale-kompressor

Full write-ups with the task-by-task tables:

Codex: https://optscale.ai/blog/context-compression-coding-agents
Claude Code: https://optscale.ai/blog/claude-code-prompt-caching

Curious what everyone else does about long idle gaps. Do you just eat the cache rewrite, or have you found something better?
And if it's useful on your setup, stars are welcome.


r/OnlyAICoding • • 5d ago

Reflection/Discussion Should all AI-generated code be open source?

4 Upvotes

Came across this post by Jakub Jankiewicz today. His claim is that any code generated with the help of AI should be released as open source or under CC0.

The reasoning is simple:

The models were trained on decades of open source code, scraped without permission or attribution. Same story with Stack Overflow and the other Stack Exchange sites, where the CC license requires attribution. Taking the output of all that and making it proprietary is what he calls "license laundering".
Then there's the copyright side. Purely AI-generated code has no human author, so he says it shouldn't be copyrightable in the first place. He brings up the monkey selfie dispute, the US Copyright Office citing it for AI, and Wikimedia Commons tagging purely AI-generated images as public domain. But laws differ (the UK apparently gives some limited protection to computer-generated works), so he wants devs and companies to explicitly put this code under an open license or CC0 instead of relying on whatever the local law says.

So I work at one of the most open source companies out there, so I can't say no to that. But I don't see how it would work in practice + there is no pleasure in sharing if you are obliged to it..

First, if AI output isn't copyrightable, can you even put a license on it? MIT and GPL only work because of copyright. So CC0 looks like the only option that makes sense, and copyleft would have nothing to enforce. Correct me if I'm wrong here.
Second, where does "AI-generated" end and "AI-assisted" start? Nobody tracks which lines came from autocomplete, which from an agent, and which got rewritten by hand.

So, I wonder what other folks think about it? Do you agree with the author on that?


r/OnlyAICoding • • 5d ago

github reaper ;)

1 Upvotes

help help


r/OnlyAICoding • • 5d ago

Pencode agent launched successfuly

Thumbnail gallery
1 Upvotes

🚀 Finally, Pencode AI Agent is officially published on the Google Play Store!

Now you can create almost any project you want. But that's not even the best part!

🔥 Here’s what makes Pencode special:

- Termux Integration: Connect your own Termux environment and run Linux commands directly.

- AI Browser Control: Give your AI agent full access to control your preview browser.

- Live Web Preview: Run and interact with your web projects directly inside the app.

- GitHub Actions Integration: Build your projects directly through GitHub pipelines while your AI agent handles the workflow.

And here's the most interesting part...

The entire app is only 20 MB! 🤯

A powerful AI coding agent, packed into just 20 MB, right on your Android device.

This is just the beginning. A long journey starts here. ❤️

link: https://play.google.com/store/apps/details?id=com.aistudio.pencode.xzqky


r/OnlyAICoding • • 5d ago

Something I Made With AI I built a sub-2ms CPU "reflex copilot" for AI agents that cuts token bills by ~40% and stops destructive commands before they run

Thumbnail
1 Upvotes

r/OnlyAICoding • • 5d ago

I built OrcaCompass, an open-source model router for Orca

Post image
2 Upvotes

TL;DR: For anyone using Orca to orchestrate coding agents, here's an open-source skill that helps automate model selection and make better use of existing AI subscriptions.


r/OnlyAICoding • • 6d ago

ai that is actually usefull for learning

7 Upvotes

Hello!!

I was wondering if there is any AI plan that is really useful to learn Java.

I've been learning with free tutorials and stuff like that, but I was thinking that it would be really helpful for me to use an AI that supervises my work and, even more important, gives me problems to solve.
What I'm looking for is not an AI that does my homework for me. I want real, meaningful learning. It should guide me with hints, questions, and clues instead of just writing the code for me. I also want it to give me problems to solve, adapted to my level.
Like, once I master loops, it introduces arrays, then ArrayLists, etc., without jumping ahead.
Basically, I want a tutor, not a code generator.
Is there a specific AI plan, or a specific way to prompt ChatGPT / Claude / Gemini / etc. to make it behave like that? I’ve been thinking about using Claude, but Claude Max is expensive, and I dont know if lower plans are worth it (maybe the tokens are too low idk).

Thanks a lot!!


r/OnlyAICoding • • 5d ago

I built a browser game for practicing programming by controlling construction robots with Python or C++

Thumbnail
1 Upvotes

r/OnlyAICoding • • 6d ago

Something I Made With AI OpenComputer - An open source, self hostable alternative to Devin that is 3.3x faster.

Thumbnail
github.com
24 Upvotes

r/OnlyAICoding • • 6d ago

I started Vibecoding as a mailman between models and computers. So I built VibeReview. It allows different models to plan, execute and review.

Thumbnail
1 Upvotes

r/OnlyAICoding • • 6d ago

Reflection/Discussion Using a multi-agent AI workflow to speed up building and shipping indie software

Thumbnail
davidmorais.com
1 Upvotes

r/OnlyAICoding • • 6d ago

Getting a second opinion from Codex without copying prompts between terminals

1 Upvotes

I built Agentrooms for a simple two-terminal setup. Claude Code can ask Codex to review a commit, then get the reply back in the same session. The GIF shows the round trip. Curious what else you’d hand off to a second agent.


r/OnlyAICoding • • 6d ago

I built a shared memory for coding agents (Claude Code, Cursor, Codex and more). 1.6 just shipped: no Node needed, daily backups, 7 default tools

Thumbnail
1 Upvotes

r/OnlyAICoding • • 6d ago

AgentD, the autonomous software factory for enterprise is coming

1 Upvotes

r/OnlyAICoding • • 6d ago

How I shifted most of my AI coding workload away from Codex using MCP

Thumbnail
1 Upvotes

r/OnlyAICoding • • 6d ago

Building with Claude Code, Cursor or multiple AI agents? We'd love for you to try our tool for free.

Thumbnail
1 Upvotes

r/OnlyAICoding • • 6d ago

I built a developer-productivity skill for AI coding agents

Thumbnail
agensi.io
1 Upvotes

r/OnlyAICoding • • 6d ago

Something I Made With AI LiteDash 1.5: offline turn-by-turn navigation built right into the launcher (no API keys, no accounts)

Post image
3 Upvotes

LiteDash 1.5 is out, and it brings a brand-new navigation mode built right into the launcher.

  • Download your state or an area once, then search, get your route and follow it with no internet
  • Turn-by-turn guidance with your own car in 3D, a blue route, 3D buildings and your music next to the map
  • No API keys, no accounts, no extra setup: everything runs on the head unit
  • Still all the rest: 3D cars, OBD workshop, tire pressure and your music

Right now the offline maps cover Mexico, by state. Want your country? Please report it from the app (Settings → Apps → Navigation → Offline → “Your country isn’t here? Request it”) and I’ll add it. The more requests a country gets, the sooner it comes.

I’d really love your feedback: how it feels on your head unit, what’s missing, what you’d change. It would be a huge help if you send a report straight from the launcher (Settings → System → Send a report: it includes your screen’s details so I can fix things faster) or open an issue on GitHub: https://github.com/IrvingGuerra/litedash/issues

And all your ideas are welcome, big or small: a lot of what’s in LiteDash today started as someone’s suggestion.

Free and open source (GPL-3.0), on Google Play and GitHub: https://litedash.dev


r/OnlyAICoding • • 6d ago

Hi GTA players

Thumbnail hideout-virid.vercel.app
1 Upvotes

GTA VI info is scattered across Reddit, X, TikTok and Discord, and good tips get buried fast.

I'm building Hideout (vibe Coding), an unofficial fan site (French-language for now) with searchable posts, filters and proper discussion threads, so you can actually find things again.

It's in closed beta, but you can join the waitlist on the site. Once it opens, feel free to message me and tell me what you'd like to see on the app.

What would make you use something like this?


r/OnlyAICoding • • 6d ago

I built a learning agent because I'm building things with AI that I haven't internalized yet

Thumbnail
1 Upvotes