SShortSingh.
Back to feed

Agentwall middleware adds human approval layer to stop runaway AI agent tool calls

0
·2 views

Developers have released Agentwall, a Python and TypeScript middleware layer designed to intercept AI agent tool calls before they execute, addressing a critical execution-control gap in current agent frameworks. The tool was motivated by real failure modes such as agents issuing production-wide database deletes due to missing filters, or entering infinite retry loops against non-idempotent APIs. Agentwall classifies each tool call as safe, cautious, or destructive using deterministic local rules defined in a configuration file, without relying on a secondary language model for judgment. Destructive calls are held pending human approval, which can be routed through a CLI prompt, Slack workflow, or internal dashboard, and are denied by default if the approval service is unavailable. The middleware is framework-agnostic, supporting OpenAI, Anthropic, and LangChain tool formats, and logs every attempt as a JSON event including blocked calls.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer Reviews Tencent EdgeOne Makers, Shares Web Deployment Best Practices

A developer has shared a hands-on review of Tencent EdgeOne Makers, a platform that allows developers to build, test, and deploy web projects in a real environment. The review highlights key considerations including performance optimization, such as compressing images and removing unused files, to ensure consistent load times across devices and networks. The author also stresses that security practices — like keeping API keys and passwords out of public source code — should be adopted early, especially by beginners. Testing beyond the local environment is recommended, with the developer suggesting a continuous cycle of building, publishing, checking, and improving. The piece concludes with practical advice for young developers, emphasizing clean project structure and thorough testing at every stage.

0
ProgrammingDEV Community ·

How to Build a Reliable Small-Scale Test for AI Memory Systems

AI memory systems often appear impressive in demos, but a convincing output is not proof they will perform reliably in real-world use. A practical evaluation method involves creating a minimal note with a known date, owner, decision, and explicit limitation, then testing retrieval, interpretation, missing information, updates, and historical recall separately. Testers should verify not just the answer but the source evidence behind it, checking whether names, dates, and negations such as 'not approved yet' are preserved accurately. Updating a fact and re-querying helps distinguish whether the system correctly identifies the most current value versus an outdated one. Repeating the test across sessions with source inspection at every step provides a reproducible way to pinpoint whether failures stem from retrieval, interpretation, data freshness, or unsupported generation.

0
ProgrammingDEV Community ·

Developer Launches Independent Ecommerce Site After Leaving Shopify and Etsy

A developer has launched their own fully custom ecommerce website, Everfluorescent.com, after years of selling on third-party platforms like Shopify and Etsy. The site was built independently to avoid relying on external platform rules and standards. It integrates Stripe for payments and Cloudflare for performance and security, alongside a custom admin dashboard and a small art gallery. The developer also ran basic SEO checks to ensure the site meets foundational search visibility standards. Product data was imported from various sources, including legacy Excel 2003 files, as part of the launch setup.

0
ProgrammingDEV Community ·

15-Year-Old Builds AI Startup Directory After Rough HTML Project Goes Viral on Hacker News

A 15-year-old developer built StartupWiki, a startup research directory, after a basic single-page project he scraped together in a weekend landed on the front page of Hacker News at age 14. The rough initial version, featuring hardcoded data and broken CSS, received around 400 upvotes and 600 comments, drawing enough interest for users to request listings. He responded to every comment, fixed bugs within 24 hours, and added features based on user feedback, growing the directory from 20 entries to over 2,000. StartupWiki has since evolved into an AI-powered platform offering verified startup profiles, funding data, competitive analysis, and team insights. The project recently launched a new platform allowing startups to submit profiles, earn verified badges, and gain community visibility.