frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

AdaptiQ Core – Optimize your LLM agents with RL and save 30% tokens

https://github.com/adaptiq-ai/adaptiq
1•adaptiq•5h ago

Comments

adaptiq•5h ago
Hi HN!

We just open-sourced [AdaptiQ Core](https://github.com/adaptiq-ai/adaptiq), a CLI tool that uses reinforcement learning (Q-learning) to optimize your LLM agents and reduce token usage, retries, and failed outputs.

It observes your agent runs, builds a local Q-table, and learns how to improve prompts/configs — all offline.

---

*What it does:*

• Prompt & agent optimizer (crewAI-compatible) • RL loop (offline Q-learning) • Pre-run cost prediction • FinOps reporting (token, $ and CO₂) • Markdown reports + GitHub badge • Works via CLI (`wizard`, `validate`, `report`)

---

*FinOps in Action* Saved Tokens: –37% Retries reduced: –60% Compile-pass +15 pts

GitHub: https://github.com/adaptiq-ai/adaptiq

adaptiq•4h ago
Thanks for checking out AdaptiQ!

Here’s what’s next in the coming days:

Today: AdaptiQ Core (what you see now) – CLI-based prompt/agent optimizer – Reinforcement Learning loop (offline Q-table) – Token/cost/CO₂ tracking per run – Markdown + badge reporting – Works with CrewAI + OpenAI (GPT-4, GPT-3.5)

Next Week: AdaptiQ ACE – HTTP Proxy Edition – Drop-in FinOps proxy for Claude, Gemini, GPT – Rewrites prompts on-the-fly – Tracks latency, compile pass, retries – GitHub Action: block PR if cost/test fails – RL reward = quality − β·tokens − γ·latency

What we’re solving: > Agents fail silently, burn credits, drift from style guides. > AdaptiQ gives your LLM prompts a feedback loop.

We’re building this in the open: roadmap, CLI, and future trace-spec are all public.

Questions? Feedback? Want support for LangChain / Autogen / Mistral? Let us know below – we’d love to expand!

Also: if you drop your prompt logs (token usage + outcome), we can pre-train the Q-table for your setup.

Cheers – Wassim / AdaptiQ team

Ask HN: Thinking About a Health Analytics Startup. Would Hospitals Even Use It?

1•prism_wisdom•1m ago•0 comments

LetsEncrypt – Complete Outage

https://letsencrypt.status.io/
3•kenshaw•4m ago•0 comments

#1 AI image generator and editor

https://ai-flux.io/flux-11-pro
1•victor_cl•6m ago•0 comments

Debugging the One-in-a-Million Failure: Migrating Pinterest Search to K8s

https://medium.com/pinterest-engineering/debugging-the-one-in-a-million-failure-migrating-pinterests-search-infrastructure-to-kubernetes-bef9af9dabf4
1•Wagthesam•7m ago•0 comments

Warfarin

https://en.wikipedia.org/wiki/Warfarin
2•kamaraju•8m ago•0 comments

Large US Grid [PJM] Lacks Capacity for New Data Centers, Watchdog Says

https://www.bloomberg.com/news/articles/2025-07-21/large-us-grid-lacks-capacity-for-new-data-centers-watchdog-says
1•toomuchtodo•8m ago•1 comments

ChatGPT 'router' that automatically selects the right model for job imminent

https://venturebeat.com/ai/a-chatgpt-router-that-automatically-selects-the-right-openai-model-for-your-job-appears-imminent/
4•Bluestein•18m ago•0 comments

Ask HN: Why is Gmail so incompetent at basic search?

7•sn9•21m ago•1 comments

OpenAI says ChatGPT users send over 2.5B prompts every day

https://www.theverge.com/news/710867/openai-chatgpt-daily-prompts-2-billion
4•vedhsaka•23m ago•6 comments

Nine households control 15% of wealth in Silicon Valley as inequality widens

https://www.theguardian.com/us-news/2025/jul/21/silicon-valley-income-wealth-gap
7•c420•28m ago•0 comments

We're building cross-functional AI-native teams (Would love your feedback)

https://medium.com/thumbtack-engineering/the-ai-engineering-shift-6061d98ac8a8
2•purusmahe•29m ago•1 comments

Gilles Dowek has died, aged 58

https://fr.wikipedia.org/wiki/Gilles_Dowek
3•ColinWright•36m ago•1 comments

Tomoz App – Plan for Tomorrow

https://apps.apple.com/gb/app/tomoz/id6748755747
1•TheChelsUK•39m ago•0 comments

Tell HN: Private Equity Scam – Asks for Rev#s+Fees

1•artur_makly•41m ago•0 comments

A Practical Comparison of AI Coding Agents

https://jaredforsyth.com/posts/practical-comparison-of-ai-agents/
1•jaredly•42m ago•1 comments

What Happens to Leftover Hotel Soap?

https://reasonstobecheerful.world/upcycling-leftover-hotel-soap/
1•PaulHoule•42m ago•0 comments

Sapling

https://sapling-scm.com/
2•Bogdanp•43m ago•0 comments

Build a Duck Hunt Clone in TypeScript – Game Dev Tutorial [video]

https://www.youtube.com/watch?v=UZSmn3n3wqE
1•JSLegendDev•45m ago•0 comments

SoftBank and OpenAI's $500B AI Project Struggles to Get Off Ground

https://www.wsj.com/tech/ai/softbank-openai-a3dc57b4
4•mfiguiere•48m ago•0 comments

Trump Administration Releases Documents on Martin Luther King Jr.

https://www.nytimes.com/2025/07/21/us/politics/mlk-jr-files-trump.html
1•jbegley•48m ago•0 comments

Become a machine learning engineer in five to seven steps

https://www.maxmynter.com/pages/blog/become-mle
2•handfuloflight•53m ago•0 comments

The Best Safari Ad Blockers for iPhone, iPad and Mac (2025 Edition)

https://www.magiclasso.co/insights/best-safari-ad-blockers/
3•bentocorp•54m ago•0 comments

NIH on AI

https://grants.nih.gov/grants/guide/notice-files/NOT-OD-25-132.html
2•karljacob•58m ago•0 comments

A Eulogy to China's Art Museums

https://artreview.com/a-eulogy-to-chinas-art-museums-opinion-lai-fei/
4•bookofjoe•59m ago•0 comments

How much harm can wage-fixing cartels do?

https://www.promarket.org/2025/07/21/how-much-harm-can-wage-fixing-cartels-do/
3•hhs•1h ago•0 comments

Curl one-liner to repeatedly check a specific url

https://gist.github.com/oliveratgithub/7d9201b828c5156657c03a2fb6bd5941
1•inex•1h ago•0 comments

Malcolm-Jamal Warner, Who Played the Cosby Show's Theo, Drowns in Costa Rica

https://news.sky.com/story/malcolm-jamal-warner-who-played-the-cosby-shows-theo-drowns-in-costa-rica-13399852
3•austinallegro•1h ago•0 comments

Just launched my app – convert images to JPG, PNG, or PDF instantly, offline

https://apps.apple.com/au/app/image-converter-pdf-maker/id6748744676
2•preetigoel•1h ago•1 comments

BritCSS: Write CSS with British English Spellings

https://hackaday.com/2025/03/13/britcss-write-css-with-british-english-spellings/
1•mooreds•1h ago•0 comments

Lawfare Against Jerome Powell

https://www.scotsmanguide.com/news/fed-chair-responds-to-concerns-about-mismanaging-hq-renovations/
1•vedantnair•1h ago•0 comments