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
20082026
-
…"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
comment by Acacian · 2026-04-02 · in Show HN: I tested 11 AI frameworks for basic security – none passed -
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
comment by ashishb · 2025-04-19 · in 15,000 lines of verified cryptography now in Python -
…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...
comment by zh2408 · 2025-03-20 · in LLM Agents Are Simply Graph – Tutorial for Dummies -
…//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…
comment by zh2408 · 2025-03-19 · in LLM Agents Are Simply Graph – Tutorial for Dummies -
This might help you: https://github.com/langchain-ai/langchain/blob/master/cookbo...
comment by prsdm · 2024-12-04 · in Show HN: Open-Source Colab Notebooks to Implement Advanced RAG Techniques -
…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
comment by jackmpcollins · 2024-08-18 · in Show HN: AdalFlow: The library to build and auto-optimize any LLM task pipeline -
…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...
comment by navbaker · 2024-08-01 · in Show HN: Turn any website into a knowledge base for LLMs -
…against RAPTOR, which does summarisation and clustering. https://github.com/profintegra/raptor-rag https://github.com/langchain-ai/langchain/blob/master/cookbo...
comment by bashtoni · 2024-05-02 · in Show HN: SpRAG – Open-source RAG implementation for challenging real-world tasks -
…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...
comment by devstein · 2024-04-10 · in Aider: AI pair programming in your terminal -
…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 -
…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 -
…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
comment by rlt · 2023-11-30 · in Llamafile lets you distribute and run LLMs with a single file -
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 -
> 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…
comment by wokwokwok · 2023-11-01 · in New: LangChain templates – fastest way to build a production-ready LLM app -
…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…
comment by wokwokwok · 2023-11-01 · in New: LangChain templates – fastest way to build a production-ready LLM app -
…| 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) -
…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)…
comment by thedayisntgray · 2023-09-18 · in Create AI Agents in Ruby: Implementing the ReAct Approach -
…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 -
…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 -
…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 -
Like this? https://github.com/hwchase17/langchain/blob/master/langchain...
comment by neuronexmachina · 2023-06-15 · in Native JSON Output from GPT-4 -
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 -
…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 -
…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…
comment by ndr_ · 2023-05-01 · in Ask HN: Bypassing GPT-4 8k tokens limit -
…[2]: https://www.amazon.com/Six-Thinking-Hats-Edward-Bono/dp/0316... [3]: https://github.com/hwchase17/langchain
comment by vivegi · 2023-04-22 · in Ask HN: Has anybody else struggled to find any legitimate use cases for LLMs? -
…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 -
…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 -
Could someone in the know compare this with LangChain ( https://github.com/hwchase17/langchain )?
comment by j0e1 · 2023-04-03 · in Introducing Agents in Haystack: Make LLMs resolve complex tasks -
…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 -
…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…
comment by BoorishBears · 2023-04-02 · in Show HN: SiteGPT – Create ChatGPT-like chatbots trained on your website content -
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 -
https://github.com/hwchase17/langchain/tree/master/langchain... Model would probably take that description and write python code to compute the answer.
comment by computerex · 2023-03-30 · in Cerebras-GPT vs. LLaMA AI Model Performance Comparison -
Prompt engineering is more prompt chaining which is actively being researched so it is a thing. https://github.com/hwchase17/langchain
comment by cameronfraser · 2023-03-29 · in $335,000 Pay for ‘AI Whisperer’ Jobs Appears in Red-Hot Market -
…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 -
Maybe this would make more sense if integrated into something like LangChain ( https://github.com/hwchase17/langchain ).
comment by gandalfgeek · 2023-03-26 · in Let ChatGPT run free on random webpages and do what it likes -
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 -
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 -
…see the following repos for tools in this area: https://github.com/jerryjliu/llama_index and/or https://github.com/hwchase17/langchain
comment by wantsanagent · 2023-03-17 · in Show HN: GPT Repo Loader – load entire code repos into GPT prompts -
…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 -
…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…
comment by LawTalkingGuy · 2023-03-12 · in Large language models are having their Stable Diffusion moment -
I think you mean here: https://github.com/hwchase17/langchain/blob/master/langchain...
comment by LastTrain · 2023-03-10 · in Visual ChatGPT -
…m/microsoft/visual-chatgpt/blob/main/visual... With that of the LangChain ReAct conversational agent: https://github.com/hwchase17/langchain/blob/master/langchain... Also it seems appropriate to cite the original ReAct paper (from Google…
comment by iandanforth · 2023-03-10 · in Visual ChatGPT -
Hadn't heard of langchain, here's a link: https://github.com/hwchase17/langchain
comment by metadat · 2023-02-23 · in Show HN: Graph-based AI for longform writing -
…I’m sure you could pretty easily add a way for it to communicate with a human expert, too. [0]: https://github.com/hwchase17/langchain
comment by HellsMaddy · 2023-02-09 · in A GPT in 60 Lines of NumPy -
Langchain has been a good project in the area: https://github.com/hwchase17/langchain
comment by amrb · 2023-01-21 · in General technology for enabling AI capabilities with LLMs and Generative models -
https://github.com/hwchase17/langchain Building applications with LLMs through composability
comment by tikkun · 2023-01-18 · in Compiling a list of tools for building LLM apps -
…on top of GPT-3 to answer questions specifically from that database. PS: not tried myself. [1] https://github.com/hwchase17/langchain
comment by mandliya · 2023-01-16 · in GPT-3 is the best journal I’ve used -
…NOT using it like an index, and feeding each document as part of the context into the LLM. [1] https://github.com/hwchase17/langchain
comment by localhost · 2022-12-30 · in 2022 Letter -
Libraries such as https://github.com/hwchase17/langchain allow for easy programmatic pipelines of GPT "programs". So you could imagine taking a few hundred of these programs written by humans for various tasks, as are sure to come into…
comment by gamegoblin · 2022-12-10 · in Talking About Large Language Models