Hacker GitHub

← All repos

langchain-ai/langchain

View on GitHub ↗ ★ 148,875 Python

The agent engineering platform.

69 mentions on Hacker News by 61 people: 19 stories, 50 comments · first 2022-11-06 · latest 2026-04-02

Mentions per year 69 mentions · busiest year 2023 (51)
20082026
  1. …"078-05-1120" can split across chunks, so regex won't catch it without the full buffer. Context: https://github.com/langchain-ai/langchain/issues/35011 Source: https://github.com/Acacian/aegis
  2. ▲ 2
    Show HN: MCPS – Cryptographic identity and message signing for MCP agents
    story by AskCarX · 2026-03-13 · 0 comments
  3. Yeah. Even patch version upgrade from 3.12.3 to 3.12.4 broke a lot of packages. https://github.com/langchain-ai/langchain/issues/22692
  4. …Pydantic Agents: https://github.com/pydantic/pydantic-ai/blob/4c0f384a0626299... Langchain: https://github.com/langchain-ai/langchain/blob/4d1d726e61ed5... LangGraph: https://github.com/langchain-ai/langgraph/blob/24f7d7c4399e2...
  5. …//github.com/pydantic/pydantic-ai/blob/4c0f384a0626299... Langchain: demonstrates the loop structure: https://github.com/langchain-ai/langchain/blob/4d1d726e61ed5... If all the hype has been confusing, this guide shows how they actually…
  6. This might help you: https://github.com/langchain-ai/langchain/blob/master/cookbo...
  7. …magentic [2] (package I've created, narrower in scope). [0] https://github.com/stanfordnlp/dspy [1] https://github.com/langchain-ai/langchain [2] https://github.com/jackmpcollins/magentic
  8. …pull in your documents, chunk them, and store them for RAG. See here for a good example notebook: https://github.com/langchain-ai/langchain/blob/master/cookbo...
  9. …against RAPTOR, which does summarisation and clustering. https://github.com/profintegra/raptor-rag https://github.com/langchain-ai/langchain/blob/master/cookbo...
  10. …as a tool for Dosu https://dosu.dev/ to help it navigate and modify a codebase on issues like this https://github.com/langchain-ai/langchain/issues/8263#issuec...
  11. …errors - which makes me skeptical that this prompt has been optimized or tested. Fixed in https://github.com/langchain-ai/langchain/commit/7c6009b76f0...
    comment by david_allison · 2024-02-15 · in Show me the prompt
  12. …no standard format, and the popular ones are essentually inefficient bespoke system prompts: https://github.com/langchain-ai/langchain/blob/master/libs/l...
    comment by minimaxir · 2024-02-08 · in OpenAI compatibility
  13. ▲ 3
    Use WASM as a cross-platform LLM backend for LangChain: Any LLMs on any device
    story by 3Sophons · 2024-01-04 · 1 comment
  14. …prompt injections, but possibly more complex ones) Here's one example I found with a quick search: https://github.com/langchain-ai/langchain/issues/5872
  15. It looks like the two instances I was thinking of have been fixed: https://github.com/langchain-ai/langchain/blob/master/libs/l... https://github.com/langchain-ai/langchain/blob/master/libs/l...
    comment by rahimnathwani · 2023-11-28 · in Agency: Pure Go LangChain Alternative
  16. ▲ 1
    Computation resources that help you build AI applications with LLM
    story by vissidarte_choi · 2023-11-02 · 0 comments
  17. > it's all based on old GPT-2/3 models Are you sure? There are examples of using mistral eg. https://github.com/langchain-ai/langchain/blob/master/templa... This is exactly what I’m talking about. How can you say that when there is…
  18. …the cost of implementing those parts themselves might be. I personally think these templates (like https://github.com/langchain-ai/langchain/blob/master/templa... ) don’t offer any meaningful value, lack documentation and context and fail…
  19. …| Full Time Maintaining you're code should be easier than writing it. Checkout Dosu in action: https://github.com/langchain-ai/langchain/issues/11371#issue... https://github.com/run-llama/llama_index/issues/7684#issueco...…
    comment by devstein · 2023-11-01 · in Ask HN: Who is hiring? (November 2023)
  20. ▲ 137
    New: LangChain templates – fastest way to build a production-ready LLM app
    story by johhns4 · 2023-11-01 · 69 comments
  21. …for reference: https://arxiv.org/abs/2210.03629 Notice how the prompt used in Langchain (python) https://github.com/langchain-ai/langchain/blob/d21a494a27639... Is the same as it is in Langchain.rb (ruby)…
  22. ▲ 2
    ReAct – Implemented in Ruby (wink) – English is the new programming language
    story by thedayisntgray · 2023-09-18 · 2 comments
  23. ▲ 1
    LangChain – Some quick, high level thoughts on improvements/changes
    story by bcjordan · 2023-07-18 · 0 comments
  24. …notes and the garbage fire of unrelated nonsense getting added and got to skip even installing it. https://github.com/hwchase17/langchain/releases At this point Langchain is almost required to accept any PR. They raised money, and now…
    comment by BoorishBears · 2023-07-15 · in The Problem with LangChain
  25. …there though, I think langchain is expecting "Human:" and "AI:", but Claude uses "Assistant:". https://github.com/hwchase17/langchain/issues/2638
    comment by politelemon · 2023-07-14 · in Claude 2 Internal API Client and CLI
  26. …But sure, the main insight I remember is this, take a look at their MULTI_PROMPT_ROUTER_TEMPLATE: https://github.com/hwchase17/langchain/blob/560c4dfc98287da1... It's a lot of instructions for an LLM, they seem to forget an LLM is an…
    comment by rchaves · 2023-07-10 · in Langchain Is Pointless
  27. Like this? https://github.com/hwchase17/langchain/blob/master/langchain...
    comment by neuronexmachina · 2023-06-15 · in Native JSON Output from GPT-4
  28. Langchain added support for `function_call` args yesterday: * https://github.com/hwchase17/langchain/pull/6099/files * https://github.com/hwchase17/langchain/issues/6104 IMHO, this should make Langchain much easier and less chaotic to use.
    comment by neuronexmachina · 2023-06-14 · in Native JSON Output from GPT-4
  29. …In this case it appears to be using RetrievalQA from LangChain, which I think is this prompt here: https://github.com/hwchase17/langchain/blob/v0.0.176/langcha... Use the following pieces of context to answer the question at the end. If…
    comment by simonw · 2023-05-21 · in PrivateGPT
  30. …with this, GPT-4 support with it‘s larger context size was not there yet. I have landed https://github.com/hwchase17/langchain/pull/1778 , but I never wound up submitting another, yet similar patch (to llama_index? Don‘t remember). Make…
  31. ▲ 6
    Why it finally makes sense to build, not buy, a workplace search product
    story by jasonwcfan · 2023-04-26 · 5 comments
  32. …[2]: https://www.amazon.com/Six-Thinking-Hats-Edward-Bono/dp/0316... [3]: https://github.com/hwchase17/langchain
  33. ▲ 3
    Show HN: LangTool – create semantic tools from Python functions and classes
    story by aadityaubhat · 2023-04-19 · 0 comments
  34. ▲ 11
    Ask HN: Is anyone training GPT on the Linux kernel mailing list?
    story by ldelossa · 2023-04-07 · 1 comment
  35. …fast; I remember we started to help out with our team after we saw the first Weaviate pull request https://github.com/hwchase17/langchain/pull/261
    comment by bobvanluijt · 2023-04-05 · in LangChain Announces 10M Seed Round
  36. …you qualify a "real goal"? [1] https://www.neelnanda.io/mechanistic-interpretability/othell... [2] https://github.com/hwchase17/langchain
    comment by FeepingCreature · 2023-04-04 · in Saying Goodbye to GitHub
  37. Could someone in the know compare this with LangChain ( https://github.com/hwchase17/langchain )?
  38. …an API to get their performance history in the last 6 months. - Compare. - Return the answer. [0] https://github.com/hwchase17/langchain
    comment by Oras · 2023-04-02 · in Show HN: Prompt Engineering Jobs
  39. …and get a summary of each page. Then embed a site map in your system prompt and use langchain ( https://github.com/hwchase17/langchain ) to allow GPT to query for a specific page's summary. - The point of this isn't to say that's how OP…
  40. LLMs certainly can “will” and “do things” when provided with the right interface like LangChain: https://github.com/hwchase17/langchain See also the ARC paper where the model was capable of recruiting and convincing a TaskRabbit worker to…
    comment by joefourier · 2023-03-30 · in Pause Giant AI Experiments: An Open Letter
  41. https://github.com/hwchase17/langchain/tree/master/langchain... Model would probably take that description and write python code to compute the answer.
  42. Prompt engineering is more prompt chaining which is actively being researched so it is a thing. https://github.com/hwchase17/langchain
  43. …integrate with vector db's + ChatGPT Retrieval Plugin - Submitted a Retrieval PR to langchain here: https://github.com/hwchase17/langchain/pull/2014 - would love to explore further integrations as a plugin in any outer agent system
    comment by freezed88 · 2023-03-27 · in Retrieval in LangChain
  44. Maybe this would make more sense if integrated into something like LangChain ( https://github.com/hwchase17/langchain ).
  45. This is the "Composability" concept being pushed by the people behind LangChain. https://github.com/hwchase17/langchain
    comment by heliophobicdude · 2023-03-23 · in ChatGPT can now call Wolfram Alpha
  46. Agree, will make the landing page better. Would recommend checking out this LangChain notebook: https://github.com/hwchase17/langchain/blob/master/docs/modu...
    comment by mikeknoop · 2023-03-22 · in Show HN: Zapier's first API
  47. ▲ 235
    Show HN: Zapier's first API
    story by mikeknoop · 2023-03-22 · 32 comments
  48. …see the following repos for tools in this area: https://github.com/jerryjliu/llama_index and/or https://github.com/hwchase17/langchain
  49. …limitation and work with even larger codebases like https://github.com/jerryjliu/llama_index and https://github.com/hwchase17/langchain .
    comment by int_is_compress · 2023-03-14 · in GPT4 is up to 6 times more expensive than GPT3.5
  50. …approach. It comes with constructs for working memory, factual lookup / calculation agents, etc. https://github.com/hwchase17/langchain The general (non-technical) guideline is that the LLMs can "answer" anything you just gave them the…