frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

LangChain Agent Testing Guide Tool (Free)

1•exordex•1h ago
Hey HN, If you're building LangChain agents, you've probably seen them break in creative ways - prompt injection bypassing your chain logic, tools getting called with bad parameters, or cascading failures when an API times out mid-chain.

I built Khaos to test these failure modes before production.

Example LangChain agent: ```python from langchain.agents import AgentExecutor, create_openai_functions_agent from khaos import khaosagent

  @khaosagent(name="research-agent", framework="langgraph")
  def agent(query: str) -> dict:
      executor = AgentExecutor(agent=agent, tools=tools)
      result = executor.invoke({"input": query})
      return {"response": result["output"]}
Test it: pip install khaos-agent khaos discover khaos run research-agent --pack security

Khaos injects: - 242+ security attacks - Prompt injection variations that bypass LangChain's prompt templates - Tool misuse - Malicious parameters in tool calls (e.g., os.system injection in code execution tools) - Chain failures - What happens when your 3rd step in a 5-step chain times out? - LLM faults - Rate limits, token overflows, model unavailability

  Why this matters for LangChain specifically:

  LangChain's abstraction layers can hide vulnerabilities:
  - Prompt templates can still be injected via tool outputs
  - AgentExecutor doesn't validate tool parameters
  - Chains fail silently or propagate corrupted state
  - ReAct/Plan-and-Execute patterns have unique attack surfaces

  Works with LangGraph, LCEL chains, and classic LangChain agents. Auto-instruments your chains to inject faults at each step.

  Repo: https://github.com/ExordexLabs/khaos-sdk
  Examples: https://github.com/ExordexLabs/khaos-examples/tree/master/code-execution-agent

Building takes shorter than writing about it

https://karozieminski.substack.com/p/built-valentines-app-replit-33-minutes-vibe-coding
1•Lunaboo•16s ago•0 comments

Building a TUI is easy now

https://hatchet.run/blog/tuis-are-easy-now
2•abelanger•55s ago•0 comments

GPU, Accelerator Powered Analytical Engine

https://github.com/ronfriedhaber/autark/blob/main/README.md
1•ronfriedhaber•2m ago•0 comments

NYC gets its first 'free grocery store'

https://nypost.com/2026/02/12/us-news/nyc-gets-its-first-free-grocery-store-but-its-not-what-mamd...
1•SunshineTheCat•2m ago•0 comments

Show HN: InfiniteGPU, An open-source AI compute network,now supporting training

https://github.com/Scalerize/InfiniteGpu
2•frank_lbt•3m ago•1 comments

The Future of Programmers (2015)

https://tcz.medium.com/the-future-of-programmers-zoltan-toth-czifra-3eb96529909b
1•hntcz•4m ago•0 comments

Show HN: TextureFast – Generate PBR textures for 3D models in seconds

https://www.texturefast.com
1•mikecaps•5m ago•0 comments

OpenAI Claims DeepSeek Distilled US Models to Gain an Edge

https://www.bloomberg.com/news/articles/2026-02-12/openai-accuses-deepseek-of-distilling-us-model...
1•smurda•6m ago•0 comments

Pg_stat_ch: We built low-overhead Postgres metrics exporter to ClickHouse

https://clickhouse.com/blog/pg_stat_ch-postgres-extension-stats-to-clickhouse
1•cauchyk•6m ago•0 comments

Show HN: Kumiki – A Bento.me Clone

https://kumiki.so
1•poitch•7m ago•0 comments

Moving Away from Nextcloud

https://neilzone.co.uk/2026/02/moving-away-from-nextcloud/
1•speckx•7m ago•0 comments

Opus 4.6: long haul breakthrough

https://nickheiner.substack.com/p/opus-46-long-haul-breakthrough
1•andsoitis•7m ago•0 comments

Developing ethical, social, and cognitive competence (2015)

https://vividness.live/developing-ethical-social-and-cognitive-competence
1•enthdegree•8m ago•0 comments

Apple's Next Two Products Are Coming Soon

https://www.macrumors.com/2026/02/12/two-new-apple-products-coming-soon/
1•01-_-•11m ago•0 comments

Show HN: Clawlet – Ultra-Lightweight&Efficient Alternative to OpenClaw, Nanobot

https://github.com/mosaxiv/clawlet
1•mosaxiv•11m ago•0 comments

Show HN: My agent started its own online store

https://clawver.store
2•nwang783•12m ago•0 comments

The problem isn't OpenClaw. it's the architecture

https://www.vulnu.com/p/the-problem-isnt-openclaw-its-the-architecture
1•stareatgoats•12m ago•0 comments

Regulation Is a Service Problem

https://non.io/regulation-is-a-service-problem
2•jjcm•12m ago•0 comments

14-Year-Old Is Using Origami to Imagine Emergency Shelters

https://www.smithsonianmag.com/innovation/this-14-year-old-is-using-origami-to-design-emergency-s...
2•Tomte•14m ago•0 comments

Using the Ralph Wiggum loop to execute Kiro specs

https://it20.info/2026/02/using-the-ralph-wiggum-loop-to-execute-kiro-specs/
1•t2f2•19m ago•0 comments

AI Bots Are Making Anonymity Untenable

https://tombedor.dev/ai-threatens-privacy/
1•jjfoooo4•20m ago•0 comments

Wikipedia controversy with archive.is resulted from attempt to doxx site owner

https://www.tumblr.com/archive-is/806832066465497088/ladies-and-gentlemen-in-the-autumn-of-2025-i
2•felineflock•22m ago•0 comments

Zero-Downtime Ingress Controller Migration in Kubernetes

https://georg-schwarz.com/blog/zero-downtime-ingress-controller-migration-kubernetes/
1•rhazn•22m ago•0 comments

Show HN: Free OSS cold email bulk sender and management

1•danesto•22m ago•0 comments

Simile: A simulation platform for human behavior

https://simile.ai/
1•o4c•24m ago•0 comments

Your Turn

https://blog.sebastiansastre.co/posts/your-turn/
1•sebastianconcpt•25m ago•0 comments

I built a Claude.md that solves the compaction/context loss problem

https://github.com/Arkya-AI/claude-context-os
1•TimoLabs•27m ago•0 comments

Let's Build an AI Assistant That Remembers

https://fastpaca.com/blog/build-ai-assistant-that-remembers/
1•cpluss•27m ago•0 comments

OMLX – LLM Inference Server for Apple Silicon (Ollama for MLX)

https://github.com/jundot/omlx
3•fintechie•33m ago•0 comments

Performance and reliability pitfalls of eBPF [video,pdf]

https://fosdem.org/2026/schedule/event/H3LM7G-performance_and_reliability_pitfalls_of_ebpf/
1•tanelpoder•33m ago•0 comments