frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Open-source tool alerts when your agent starts looping,drifting,burning tokens

https://github.com/ThirumaranAsokan/Driftshield-mini
1•dev_developer•1h ago

Comments

dev_developer•1h ago
I kept seeing the same problem — agents get stuck calling the same tool 50 times, wander off-task, or burn through token budgets before anyone notices. The big observability platforms exist but they're heavy for solo devs and small teams.

So I built DriftShield Mini — a lightweight Python library that wraps your existing LangChain/CrewAI agent, learns what "normal" looks like, and fires Slack/Discord alerts when something drifts.

3 detectors: - Action loops (repeated tool calls, A→B→A→B cycles) - Goal drift (agent wandering from its objective, using local embeddings) - Resource spikes (abnormal token/time usage vs baseline)

4 lines to integrate:

    from driftshield import DriftMonitor
    monitor = DriftMonitor(agent_id="my-agent", alert_webhook="https://hooks.slack.com/...")
    agent = monitor.wrap(existing_agent)
    result = agent.invoke({"input": "your task"})
100% local — SQLite + CPU embeddings. Nothing leaves your machine except the alerts you configure.

pip install driftshield-mini GitHub: https://github.com/ThirumaranAsokan/Driftshield-mini

v0.1 — built this solo. Would genuinely love feedback on what agent reliability problems you're hitting. What should I build next?

Thinking Like Transformer

https://srush.github.io/raspy/
1•vinhnx•3m ago•0 comments

Australian man jailed for selling US cyber secrets to Russian broker

https://www.abc.net.au/news/2026-02-25/australian-sentenced-7-years-jail-selling-us-trade-secrets...
1•defrost•5m ago•0 comments

Is Embedded Rust Ready for Primetime?

https://shawnhymel.com/3197/is-embedded-rust-ready-for-primetime/
1•sohkamyung•5m ago•0 comments

Claude Code Front End Design Toolkit

https://github.com/wilwaldon/Claude-Code-Frontend-Design-Toolkit
1•stagezerowil•6m ago•0 comments

Tests Are the New Moat

https://saewitz.com/tests-are-the-new-moat
1•linolevan•6m ago•0 comments

Show HN: Measuring brand share in AI answers – a Y Combinator case study

https://www.geovector.ai/report/yc
2•roman10•11m ago•1 comments

Show HN: Courtyard – Open-source macOS app for local MLX fine-tuning Text

https://github.com/Mcourtyard/m-courtyard
1•tuwenbo0120•14m ago•0 comments

Anthropic faces Friday deadline in Defense AI clash with Hegseth

https://www.cnbc.com/2026/02/24/anthropic-ai-hegseth-spying-defense.html
3•gslin•20m ago•0 comments

Looking Forward to PGConf India in Bengaluru in March

https://techcommunity.microsoft.com/blog/adforpostgresql/microsoft-at-pgconf-india-2026/4496182
1•clairegiordano•23m ago•0 comments

Canva expands professional creative ecosystem with Cavalry

https://www.canva.com/newsroom/news/cavalry/
1•flashblaze•24m ago•0 comments

Can you reverse engineer our neural network?

https://blog.janestreet.com/can-you-reverse-engineer-our-neural-network/
1•jsomers•28m ago•0 comments

Intel Strikes Deal with a Chip Startup Its CEO Invested In

https://www.nytimes.com/2026/02/24/technology/intel-sambanova-ceo-lip-bu-tan.html
2•osnium123•30m ago•0 comments

MBC v0.2.0 – AI agent orchestration for Laravel (security hardening)

https://github.com/etazza2025/laravel-mbc
1•undergracelabs•32m ago•1 comments

Learning from Structure: Discord's Entity-Relationship Embeddings

https://discord.com/blog/learning-from-structure-discords-entity-relationship-embeddings
1•throwaway314155•35m ago•0 comments

An Elephant Is Blind Without the Hairs on Its Trunk

https://www.nytimes.com/2026/02/12/science/elephant-whiskers.html
1•bookofjoe•36m ago•1 comments

RFC Explorer – Explore over 9000 RFCs

https://rfcexplorer.net/
1•xillb•36m ago•0 comments

We Need to Stop Asking "Is This Better Than That"

https://doppelgangerdev.com/docs/software-isn-t-a-competition-it-s-a-map-of-our-frustrations
1•asernasr•40m ago•1 comments

Show HN: Built a news aggregator that collect AI news around the world

https://vvsearch.com/workspace/news-terminal
1•raugen•44m ago•0 comments

Will artificial snow save the ski industry in the long run, or curse it?

https://theconversation.com/will-artificial-snow-save-the-ski-industry-in-the-long-run-or-curse-i...
1•PaulHoule•44m ago•0 comments

Finding 100 Kernel Bugs Using Agent Swarms

https://ydinkin.substack.com/p/200-kernel-bugs-in-30-days
1•itkeman•44m ago•0 comments

Show HN: I made a 4D version of DOOM

https://hyperhell.itch.io/hyperhell
1•chronolitus•45m ago•0 comments

Tim Cook Warned by CIA That China Could Move on Taiwan by 2027

https://www.macrumors.com/2026/02/24/tim-cook-warned-by-cia-china-taiwan-2027/
4•mgh2•47m ago•1 comments

Show HN: Declare AI – open standard for AI content disclosure

https://declare-ai.github.io/declare-ai/declare-ai-devteam.html
1•BetterToBest•47m ago•2 comments

Apple Set a European iPhone Sales Record Last Year

https://www.macrumors.com/2026/02/24/apple-european-iphone-sales-record-2025/
1•mgh2•47m ago•0 comments

Show HN: Limits – Control layer for AI agents that take real actions

https://limits.dev
7•thesvp•47m ago•0 comments

Build a free job-winning resume and cover letter in minutes

https://resumecv.pro
1•pivlu•50m ago•1 comments

Data center outlook: half of 2026 pipeline may not materialize

https://www.sightlineclimate.com/research/data-center-outlook
1•toomuchtodo•52m ago•0 comments

Western Digital Sold Out All 2026 Hard Drive Production as AI Centers Scramble

https://247wallst.com/investing/2026/02/18/western-digital-sold-out-all-2026-hard-drive-productio...
2•vmg12•52m ago•0 comments

Being a Luddite Is Cool, but Have You Seen the Tapestries New Looms Are Making?

https://www.mcsweeneys.net/articles/being-a-luddite-is-cool-and-all-but-have-you-seen-the-hilario...
2•stmw•56m ago•0 comments

Show HN: Claude Automation Toolkit – 6 Python scripts for AI task automation

https://github.com/indoor47/summarize-docs
1•adamrunboy•57m ago•0 comments