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
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
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

Paul Ryan’s American Idea Foundation, Digital Asset Plan Canton Benefits Pilot

ATOM Price Prediction: Kissing the Upper Band at $1.56 — Rally Continuation or Bull Trap?

Optimism Redirects 546.9M OP Airdrop Allocation to Ecosystem Fund



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.

Betfury

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

Paul Ryan’s American Idea Foundation, Digital Asset Plan Canton Benefits Pilot

by CryptoExpert
August 21, 2026
0
Cointelegraph

Digital Asset, the creator of the Canton Network, and former US House Speaker Paul Ryan’s American Idea Foundation plan to pilot a blockchain-based system for distributing state-administered benefits...

Read more

ATOM Price Prediction: Kissing the Upper Band at $1.56 — Rally Continuation or Bull Trap?

by CryptoExpert
August 21, 2026
0
ATOM Price Prediction: Kissing the Upper Band at $1.56 — Rally Continuation or Bull Trap?

Caroline Bishop Aug 21, 2026 07:56 ATOM is pressing hard against its upper Bollinger Band at $1.56 after a sharp 5.27% intraday surge, but...

Read more

Optimism Redirects 546.9M OP Airdrop Allocation to Ecosystem Fund

by CryptoExpert
August 21, 2026
0
Cointelegraph

Blockchain Optimism’s governance has approved a proposal to repurpose 546.9 million OP tokens previously reserved for user airdrops to support ecosystem growth and institutional adoption.OP currently has a...

Read more

PLTR Price Prediction: Bears Are Fighting the Tape — $192 Magnet Incoming, But $177.64 Is the Line in the Sand

by CryptoExpert
August 20, 2026
0
PLTR Price Prediction: Blowout Earnings Meet Overbought Technicals — Brace for a $165–$195 Decision Point

Timothy Morano Aug 20, 2026 10:47 PLTR tokenized stock is trading at $174.57, pressing hard against immediate resistance at $177.64 while Wall Street's 36-analyst...

Read more

FASB Proposes Conditions for Stablecoins as Cash Equivalents

by CryptoExpert
August 20, 2026
0
Cointelegraph

The Financial Accounting Standards Board (FASB) has proposed guidance outlining when companies may classify certain stablecoins as cash equivalents under generally accepted accounting principles in the United States. On...

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

© 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) $ 78,559.00
ethereum
Ethereum (ETH) $ 2,538.96
tether
Tether (USDT) $ 0.999802
bnb
BNB (BNB) $ 688.79
xrp
XRP (XRP) $ 1.43
usd-coin
USDC (USDC) $ 0.999915
solana
Solana (SOL) $ 93.74
tron
TRON (TRX) $ 0.342252
staked-ether
Lido Staked Ether (STETH) $ 2,265.05
figure-heloc
Figure Heloc (FIGR_HELOC) $ 1.03

Pin It on Pinterest

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