<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/langchain/best-of/2024/07" -->

---
title: Best LangChain posts — July 2024 | daily.dev
description: The most upvoted LangChain posts from July 2024, curated by the daily.dev community.
canonical: https://daily.dev/sources/langchain/best-of/2024/07
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/langchain/best-of/2024/07
og:type: website
og:site_name: daily.dev
og:title: Best LangChain posts — July 2024 | daily.dev
og:description: The most upvoted LangChain posts from July 2024, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of LangChain — July 2024

1. 1  
[](https://daily.dev/posts/planning-for-agents-rzsmkgz6c "Planning for Agents")  
Article  
![Avatar of langchain](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0f4f2629e0724a849823f8cd0d913e13)LangChain · 2y  
Planning for Agents  
Developers face challenges in planning and reasoning when building agents with LLMs. Function calling, introduced by OpenAI in 2023, allows LLMs to make immediate decisions, but long-term planning remains complex. Improving planning involves ensuring the LLM has all necessary information and adjusting the cognitive architecture of applications. General-purpose and domain-specific cognitive architectures enhance reasoning, with domain-specific ones proving more practical. The future of planning involves smarter, faster models but will still require custom architectures for complex tasks. LangGraph focuses on controllability to build reliable custom cognitive architectures.  
40  
1
2. 2  
[](https://daily.dev/posts/few-shot-prompting-to-improve-tool-calling-performance-ukeuuwe2c "Few-shot prompting to improve tool-calling performance")  
Article  
![Avatar of langchain](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0f4f2629e0724a849823f8cd0d913e13)LangChain · 2y  
Few-shot prompting to improve tool-calling performance  
Improving LLM applications often involves enhancing tool-calling performance, and few-shot prompting is a key technique to achieve this. In recent experiments, various few-shot techniques were tested across multiple OpenAI and Anthropic models for tasks like query analysis and math problem-solving. Few-shot prompting significantly boosted performance, especially when examples were semantically similar to the task at hand. Results indicated that well-selected few-shot examples can rival the performance of larger models, and the format of prompts has a considerable impact on effectiveness.  
27
3. 3  
[](https://daily.dev/posts/what-is-a-cognitive-architecture--bwgbm4eyj "What is a "cognitive architecture"?")  
Article  
![Avatar of langchain](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0f4f2629e0724a849823f8cd0d913e13)LangChain · 2y  
What is a "cognitive architecture"?  
Cognitive architecture refers to the way a system processes user input to generate a response or perform actions, utilizing levels of autonomy from simple code to complex autonomous agents. Different architectures like single LLM calls, chains of LLM calls, routers, state machines, and fully autonomous agents are explored. Choosing a cognitive architecture depends on the task, with more flexibility and customization available through LangChain and LangGraph frameworks. Python and JavaScript are recommended for implementing these systems.  
21

[See all LangChain archives](/sources/langchain/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/langchain/best-of/2024/07#page","url":"https://daily.dev/sources/langchain/best-of/2024/07","name":"Best LangChain Posts — July 2024","description":"The most upvoted LangChain posts from July 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/langchain/best-of/2024/07#items","numberOfItems":3,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/planning-for-agents-rzsmkgz6c","name":"Planning for Agents"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/few-shot-prompting-to-improve-tool-calling-performance-ukeuuwe2c","name":"Few-shot prompting to improve tool-calling performance"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/what-is-a-cognitive-architecture--bwgbm4eyj","name":"What is a \"cognitive architecture\"?"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"LangChain","item":"https://daily.dev/sources/langchain"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/langchain/best-of"},{"@type":"ListItem","position":5,"name":"July 2024"}]}]}
```

