Invest In Crypto News
  • Home
  • Latest News
    • Bitcoin News
    • Altcoin News
    • Ethereum News
    • Blockchain News
    • Doge News
    • NFT News
    • Video
    • Market Analysis
    • Business
    • Finance
    • Politics
    • Mining
    • Regulation
    • Technology
  • Top 10 Cryptos
  • Market Cap List
  • IC DAO
  • Donations
  • Contact
  • Buy Crypto
  • BLOG
No Result
View All Result
Invest In Crypto News
  • Home
  • Latest News
    • Bitcoin News
    • Altcoin News
    • Ethereum News
    • Blockchain News
    • Doge News
    • NFT News
    • Video
    • Market Analysis
    • Business
    • Finance
    • Politics
    • Mining
    • Regulation
    • Technology
  • Top 10 Cryptos
  • Market Cap List
  • IC DAO
  • Donations
  • Contact
  • Buy Crypto
  • BLOG
No Result
View All Result
Invest In Crypto News
No Result
View All Result

Enhancing Agent Planning: Insights from LangChain

CryptoExpert by CryptoExpert
July 21, 2024
in Blockchain News
0
Factory Boosts Iteration Speed by 2x Using LangSmith for Feedback Loop Automation
  • Facebook
  • Twitter
  • Pinterest


You might also like

Confucius4-R2T2: Stable-Prefix ASR Model for Real-Time Transcription

Ciena (CIEN) Stock Price Prediction: Bearish momentum meets oversold conditions near support

Zcash Developers Propose 20-Second Blocks After NU7 Upgrade



Alvin Lang
Jul 21, 2024 04:57

LangChain explores the limitations and future of planning for agents with LLMs, highlighting cognitive architectures and current fixes.





According to a recent LangChain Blog post, planning for agents remains a critical challenge for developers working with large language models (LLMs). The article delves into the intricacies of planning and reasoning, current fixes, and future expectations for agent planning.

What Exactly Is Meant by Planning and Reasoning?

Planning and reasoning by an agent involve the LLM’s ability to decide on a series of actions based on available information. This includes both short-term and long-term steps. The LLM evaluates all available data and decides on the first step it should take immediately, followed by subsequent actions.

Most developers use function calling to enable LLMs to choose actions. Function calling, first introduced by OpenAI in June 2023, allows developers to provide JSON schemas for different functions, enabling the LLM to match its output with these schemas. While function calling helps in immediate actions, long-term planning remains a significant challenge due to the need for the LLM to think about a longer time horizon while managing short-term actions.

Current Fixes to Improve Planning by Agents

One of the simplest fixes is ensuring the LLM has all the necessary information to reason and plan appropriately. Often, the prompt passed into the LLM lacks sufficient information for reasonable decision-making. Adding a retrieval step or clarifying prompt instructions can significantly improve outcomes.

okex

Another recommendation is changing the cognitive architecture of the application. Cognitive architectures can be categorized into general-purpose and domain-specific architectures. General-purpose architectures, like the “plan and solve” and Reflexion architectures, provide a generic approach to better reasoning. However, these may be too general for practical use, leading to the preference for domain-specific cognitive architectures.

General Purpose vs. Domain Specific Cognitive Architectures

General-purpose cognitive architectures aim to improve reasoning generically and can be applied to any task. For example, the “plan and solve” architecture involves planning first and then executing each step. The Reflexion architecture includes a reflection step after task completion to evaluate correctness.

Domain-specific cognitive architectures, on the other hand, are tailored to specific tasks. These often include domain-specific classification, routing, and verification steps. The AlphaCodium paper demonstrates this with a flow engineering approach, specifying steps like coming up with tests, then a solution, and iterating on more tests. This method is highly specific to the problem at hand and may not be applicable to other tasks.

Why Are Domain Specific Cognitive Architectures So Helpful?

Domain-specific cognitive architectures help by providing explicit instructions, either through prompt instructions or hardcoded transitions in code. This method effectively removes some planning responsibilities from the LLM, allowing engineers to handle the planning aspect. For instance, in the AlphaCodium example, the steps are predefined, guiding the LLM through the process.

Nearly all advanced agents in production utilize highly domain-specific and custom cognitive architectures. LangChain makes building these custom architectures easier with LangGraph, designed for high controllability, which is essential for creating reliable custom cognitive architectures.

The Future of Planning and Reasoning

The LLM space has been evolving rapidly, and this trend is expected to continue. General-purpose reasoning is likely to become more integrated into the model layer, making models more intelligent and capable of handling larger contexts. However, there will always be a need to communicate specific instructions to the agent, whether through prompting or custom cognitive architectures.

LangChain remains optimistic about the future of LangGraph, believing that as LLMs improve, the need for custom architectures will persist, especially for task-specific agents. The company is committed to enhancing the controllability and reliability of these architectures.

Image source: Shutterstock



Source link

  • Facebook
  • Twitter
  • Pinterest
CryptoExpert

CryptoExpert

Recommended For You

Confucius4-R2T2: Stable-Prefix ASR Model for Real-Time Transcription

by CryptoExpert
November 10, 2026
0
Confucius4-R2T2: Stable-Prefix ASR Model for Real-Time Transcription

Home / Latest reporting News Confucius4-R2T2 introduces stable-prefix streaming ASR with high accuracy and low latency, enabling real-time transcription without output revisions. Ted Hisokawa...

Read more

Ciena (CIEN) Stock Price Prediction: Bearish momentum meets oversold conditions near support

by CryptoExpert
November 9, 2026
0
Ciena (CIEN) Stock Price Prediction: Bearish momentum meets oversold conditions near support

What happened and why it matters Ciena Stock changed hands at $244.77, down 0.14% over 24 hours, with a trading range of $236.86 to $248.54 and volume of...

Read more

Zcash Developers Propose 20-Second Blocks After NU7 Upgrade

by CryptoExpert
November 9, 2026
0
Cointelegraph

Zcash developers have proposed reducing the blockchain’s target block interval from 25 seconds to 20 seconds, seeking faster transaction confirmations days after activating the NU7 upgrade. On Sunday, developers...

Read more

SPCX Price Prediction: SpaceX valuation headlines meet a softer technical backdrop

by CryptoExpert
November 9, 2026
0
SPCX Price Prediction: SpaceX valuation headlines meet a softer technical backdrop

Home / Latest reporting Price Prediction SpaceX-linked pricing is still anchored by the company’s IPO valuation story, but SPCX is trading below its 20-day...

Read more

AMD Price Prediction: Momentum Is Still Soft Despite Better News Flow and Heavier Trading

by CryptoExpert
November 8, 2026
0
AMD Price Prediction: Momentum Is Still Soft Despite Better News Flow and Heavier Trading

Home / Latest reporting Price Prediction AMD Tokenized Stock is trading at $447.58, up 0.34% on the day, while Binance Futures activity shows a...

Read more
Next Post
Uniswap (UNI) Labs Enhances Bug Bounty Program with Cantina Partnership

Uniswap (UNI) Labs Enhances Bug Bounty Program with Cantina Partnership

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Browse by Category

  • Altcoin News
  • Bitcoin News
  • Blockchain News
  • Business
  • Doge News
  • Ethereum News
  • Finance
  • Market Analysis
  • Mining
  • NFT News
  • Politics
  • Regulation
  • Technology
  • Trending Cryptos
  • Video

Sitemap

  • Market Cap
  • Donations
  • Trading
  • Mining
  • Contact

Legal Information

  • Privacy Policy
  • Anti-Spam Policy
  • Copyright Notice
  • DMCA Compliance
  • Social Media Disclaimer
  • Terms Of Service

Categories

  • Altcoin News
  • Bitcoin News
  • Blockchain News
  • Business
  • Doge News
  • Ethereum News
  • Finance
  • Market Analysis
  • Mining
  • NFT News
  • Politics
  • Regulation
  • Technology
  • Trending Cryptos
  • Video

© Copyright 2024 InvestInCryptoNews.com

No Result
View All Result
  • Home
  • Latest News
    • Bitcoin News
    • Altcoin News
    • Ethereum News
    • Blockchain News
    • Doge News
    • NFT News
    • Video
    • Market Analysis
    • Business
    • Finance
    • Politics
    • Mining
    • Regulation
    • Technology
  • Top 10 Cryptos
  • Market Cap List
  • IC DAO
  • Donations
  • Contact
  • Buy Crypto
  • BLOG

© Copyright 2024 InvestInCryptoNews.com

This website is using cookies to improve the user-friendliness. You agree by using the website further.

Privacy policy
bitcoin
Bitcoin (BTC) $ 74,721.00
ethereum
Ethereum (ETH) $ 2,121.02
tether
Tether (USDT) $ 0.999015
bnb
BNB (BNB) $ 689.30
usd-coin
USDC (USDC) $ 0.999453
xrp
XRP (XRP) $ 1.10
solana
Solana (SOL) $ 86.00
tron
TRON (TRX) $ 0.317538
staked-ether
Lido Staked Ether (STETH) $ 2,265.05
figure-heloc
Figure Heloc (FIGR_HELOC) $ 1.04

Pin It on Pinterest

Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?