Know a great AI tool or AI news source? Submit it to AiByts

langchain

280 stories

Stories

  • AI Agent Retries: Why Tool Calls Loop Forever

    AI agent retries: In the ReAct loop the model can call the same failing tool again and again, and every call resends the whole conversation. You decide the limit: 3, 5 or 10 calls.

    Balaji Chippada
  • LangChain Middleware: Which Errors Can Your Agent Fix?

    LangChain middleware: ToolNode only turns argument validation errors into a message the model can fix. City not found, timeouts and crashes still propagate, and that is what middleware is for.

    Balaji Chippada
  • AI Agent Failures: 6 Problems Middleware Solves

    AI agent failures: Wrong address, traffic jam, demolished house, gated community, circling the block, dispatcher down: six agent failures and who fixes each one, the model, your retry code, or nobody.

    Balaji Chippada
  • Mastering Context Engineering: Retrieval, Hard Filters, and Multi-Turn Memory

    Learn how context engineering, hybrid search, and conversational memory work together when building production-ready AI agents. In this video, I walk through a practical shopping assistant architecture to explain how to select, retrieve, and assemble the right information for an AI model's context…

    Aishwarya Srinivasan
  • AI Agent Security: Prevent Secret-Key Exfiltration

    AI agent security: With a plain read-file tool and an email tool, the agent read a secret file and emailed the key. Resolving the path and refusing anything outside the workspace folder stops it: path escapes workspace, nothing sent.

    Balaji Chippada
  • Prompt Injection in AI Agents: Why Allowlists Matter

    prompt injection in AI agents: Indirect prompt injection: a note the agent reads with cat contains instructions to delete itself. GPT-4o ignored it this time, but models sometimes obey, so the real protection is that rm is not on the allowlist.

    Balaji Chippada
  • AI Agent Security: Block Dangerous Shell Commands

    AI agent security: A shell tool with no limits lets the agent run rm and delete a file, as the LangSmith trace shows. An allowlist of trusted commands (pwd, date, ls, cat) blocks everything else, so the same request leaves the file alone.

    Balaji Chippada
  • AI Agent Sandboxing: Stop Secret Files From Leaking

    AI agent sandboxing: The LLM picks the tool, but your code runs it on your laptop, so one cat on a secrets file sends your passwords to the model. Sandboxing gives the agent a box it cannot leave, like a child told never to cross into the highway.

    Balaji Chippada
  • Goal Engineering

    The future of agents is them taking on open ended goals and driving towards completion of those goals. Learn more.

    LangChain Blog5 min read
  • From tasks to goals

    LangChain CEO and Co-founder Harrison Chase shares how we're moving from task-specific agents to goal-focused agents. Learn more.

    LangChain Blog5 min read
  • LangChain Raises $300M Series C at $3B Valuation

    LangChain raises $300M Series C at a $3B valuation, led by CapitalG, to help every company own its intelligence with LangSmith, the agent engineering platform.

    LangChain Blog3 min read
  • Why we rebuilt LangSmith around the agent

    We reorganized LangSmith around a single agent record. Build, run, improve, and govern every agent from one place, on any framework or runtime.

    LangChain Blog7 min read
  • AI Agent Duplicate Emails: How a Ledger Fixes Retries

    AI agent duplicate emails: A live demo: a 'send a backup copy' prompt makes the agent email twice. With an idempotent send_email tool, the second call returns skipped_duplicate from the ledger.

    Balaji Chippada
  • AI Agent Idempotency: Prevent Duplicate Actions

    AI agent idempotency: Hash the fields that make a task unique (to + body for an email, order ID + date + price + status for a refund), keep a ledger, and skip anything already done. Deterministic code controls a probabilistic LLM.

    Balaji Chippada
  • AI Agent Idempotency: Stop Duplicate Refunds

    AI agent idempotency: Calling a search tool five times is harmless; calling a refund tool twice costs real money. Tool idempotency means the same task never runs twice, and you decide which tools need it.

    Balaji Chippada
  • AI Agent Latency: Is the LLM or Tool Slow?

    AI agent latency: LangSmith traces show where the time goes: in one run the LLM took 2.78 s and the tool 0.14 s; in another, the web search tool was the 2.77 s bottleneck.

    Balaji Chippada
  • The No AI Slop Manifesto

    November 13, 2026 — AIE speakers unite to lay out how to fight slop.

    Latent Space16 min read

Showing 18 of 280 stories

Load more stories
AiByts Weekly Brief

Get the top AI news and tools straight to your inbox every week.

Weekly · AI news

Join 15,000+ AI enthusiasts