← heapsort-ai

prompt engineering

251 items

ARTICLEDEV.to AI·23d ago

I Gave My Strategist Agent WebSearch. 5 Topics Took 20 Minutes. Splitting It Into 3 Roles Made It 3.

This article details how splitting a complex task for an AI agent into multiple roles drastically reduced execution time and token cost. Initially, a single agent took 20 minutes to pick five topics, but splitting the task across three agents completed it in 3 minutes with a 60% cost reduction. The key was to separate the WebSearch function from the judging agent to streamline the pipeline.

27
ARTICLEDEV.to AI·18d ago

I made Claude Code refuse to write code unless the ticket scores 80/100

The author shares their experience using Claude Code, realizing the issue wasn't the model but an imprecise workflow. To address this, they developed a "quality gate" methodology called Forgekeel, which requires development tickets to achieve a minimum score before coding begins. This new method transformed vague tickets into clear specs, preventing "vibe-coded" software and improving quality.

27
ARTICLEDEV.to AI·4/27/2026

Token Budget Negotiator

Token Budget Negotiator is a tool that optimizes LLM prompts by systematically identifying and removing non-essential sections. It uses a greedy ablation loop and an LLM judge to reduce prompt length, maintaining quality while hitting target cost savings.

27