星期五, 13 6 月, 2025
ZKE News
  • Home
  • Live Crypto Prices
  • Crypto News
    • Bitcoin
    • Altcoins
  • NFT News
  • Blockchain
  • Regulations
  • Scams
No Result
View All Result
  • Home
  • Live Crypto Prices
  • Crypto News
    • Bitcoin
    • Altcoins
  • NFT News
  • Blockchain
  • Regulations
  • Scams
No Result
View All Result
ZKE News
No Result
View All Result

Enhancing Agent Planning: Insights from LangChain

by NZU
21 7 月, 2024
in Blockchain
0
Enhancing Agent Planning: Insights from LangChain

Related articles

OpenSea Records Increased NFT Users Ahead Of $SEA Airdrop

OpenSea Records Increased NFT Users Ahead Of $SEA Airdrop

12 6 月, 2025
Bitcoin Selling Pressure Will Drop Once BTC Hits $130K: Bitwise

Bitcoin Selling Pressure Will Drop Once BTC Hits $130K: Bitwise

12 6 月, 2025


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.

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


Credit: Source link

Previous Post

Here’s Why Dogecoin And Shiba Inu Price Surged

Next Post

NVIDIA Advances AI-Driven 6G Innovation with AI-RAN Alliance, 3GPP, and O-RAN

Related Posts

OpenSea Records Increased NFT Users Ahead Of $SEA Airdrop

OpenSea Records Increased NFT Users Ahead Of $SEA Airdrop

12 6 月, 2025

Join Our Telegram ch...

Bitcoin Selling Pressure Will Drop Once BTC Hits $130K: Bitwise

Bitcoin Selling Pressure Will Drop Once BTC Hits $130K: Bitwise

12 6 月, 2025

Join Our Telegram ch...

NVIDIA Unveils TensorRT for RTX to Boost AI Application Performance

NVIDIA Unveils TensorRT for RTX to Boost AI Application Performance

12 6 月, 2025

Al...

BNB Chain to Host Super Meetup in New York City

BNB Chain to Host Super Meetup in New York City

12 6 月, 2025

Ir...

NVIDIA Unveils Holoscan Sensor Bridge for Real-Time Data Processing

NVIDIA Unveils Holoscan Sensor Bridge for Real-Time Data Processing

12 6 月, 2025

Jo...

Load More

发表回复 取消回复

您的邮箱地址不会被公开。 必填项已用 * 标注

NVIDIA’s JUPITER Becomes Europe’s Fastest Supercomputer, Boosting AI and HPC

NVIDIA’s JUPITER Becomes Europe’s Fastest Supercomputer, Boosting AI and HPC

10 6 月, 2025
Bitcoin Miner Inflows Hit Record While Others Keep Building

Bitcoin Miner Inflows Hit Record While Others Keep Building

7 6 月, 2025
Virtuals Protocol to Launch First AI Agent I.R.I.S. on Ethereum

Virtuals Protocol to Launch First AI Agent I.R.I.S. on Ethereum

11 6 月, 2025
Ethereum Continues To Outperform BTC In Q2 – Is A Bullish Run Brewing?

Ethereum Continues To Outperform BTC In Q2 – Is A Bullish Run Brewing?

12 6 月, 2025
Has Ethereum’s bullish breakout hit a roadblock at the supply zone?

Has Ethereum’s bullish breakout hit a roadblock at the supply zone?

12 6 月, 2025

ZKE NEWS

ZKE News is an online news source that provides the latest updates on crypto news, including Bitcoin, Altcoin, Blockchain, NFT news, crypto regulation, scams, and much more.

Categories

  • Altcoins
  • Bitcoin
  • Blockchain
  • Crypto News
  • NFT News
  • Regulations
  • Scams

Tags

Altcoins Bitcoin Blockchain Crypto News NFT News Regulations Scams
  • Contact Us
  • Privacy Policy
  • Terms of Use
  • DMCA

© 2023 - news.zke.us - All Rights Reserved!

No Result
View All Result
  • Home
  • Live Crypto Prices
  • Crypto News
    • Bitcoin
    • Altcoins
  • NFT News
  • Blockchain
  • Regulations
  • Scams

© 2018 JNews by Jegtheme.

  • bitcoinBitcoin(BTC)$57,792.00-0.07%
  • ethereumEthereum(ETH)$3,102.631.60%
  • tetherTether(USDT)$1.00-0.06%
  • binancecoinBNB(BNB)$522.791.33%
  • solanaSolana(SOL)$141.960.36%
  • usd-coinUSDC(USDC)$1.000.04%
  • staked-etherLido Staked Ether(STETH)$3,109.901.85%
  • rippleXRP(XRP)$0.4379300.51%
  • ToncoinToncoin(TON)$7.21-1.35%
  • dogecoinDogecoin(DOGE)$0.1074050.22%
  • cardanoCardano(ADA)$0.3837042.22%
  • tronTRON(TRX)$0.1312550.99%
  • avalanche-2Avalanche(AVAX)$25.71-1.89%
  • shiba-inuShiba Inu(SHIB)$0.0000160.46%
  • wrapped-bitcoinWrapped Bitcoin(WBTC)$57,635.00-0.37%
  • polkadotPolkadot(DOT)$6.120.47%
  • chainlinkChainlink(LINK)$12.75-0.39%
  • bitcoin-cashBitcoin Cash(BCH)$337.722.22%
  • uniswapUniswap(UNI)$8.060.22%
  • leo-tokenLEO Token(LEO)$5.82-0.47%
  • daiDai(DAI)$1.00-0.17%
  • nearNEAR Protocol(NEAR)$4.601.94%
  • litecoinLitecoin(LTC)$66.672.01%
  • matic-networkPolygon(MATIC)$0.512.19%
  • Wrapped eETHWrapped eETH(WEETH)$3,226.781.47%
  • KaspaKaspa(KAS)$0.170006-0.24%
  • PepePepe(PEPE)$0.0000091.70%
  • Ethena USDeEthena USDe(USDE)$1.000.08%
  • internet-computerInternet Computer(ICP)$7.18-0.70%
  • Renzo Restaked ETHRenzo Restaked ETH(EZETH)$3,141.781.50%
  • ethereum-classicEthereum Classic(ETC)$20.921.45%
  • fetch-aiArtificial Superintelligence Alliance(FET)$1.19-0.56%
  • moneroMonero(XMR)$156.200.91%
  • AptosAptos(APT)$6.111.91%
  • stellarStellar(XLM)$0.087154-0.62%
  • render-tokenRender(RNDR)$6.491.31%
  • hedera-hashgraphHedera(HBAR)$0.065939-3.04%
  • cosmosCosmos Hub(ATOM)$6.031.74%
  • ArbitrumArbitrum(ARB)$0.711.89%
  • crypto-com-chainCronos(CRO)$0.084440-1.84%
  • filecoinFilecoin(FIL)$3.961.20%
  • blockstackStacks(STX)$1.5311.41%
  • MantleMantle(MNT)$0.695.02%
  • okbOKB(OKB)$36.790.61%
  • makerMaker(MKR)$2,306.631.51%
  • vechainVeChain(VET)$0.0258250.28%
  • injective-protocolInjective(INJ)$20.54-0.30%
  • First Digital USDFirst Digital USD(FDUSD)$1.00-0.03%
  • immutable-xImmutable(IMX)$1.25-1.34%
  • optimismOptimism(OP)$1.664.89%
  • BittensorBittensor(TAO)$260.472.91%
  • SuiSui(SUI)$0.73-1.44%
  • the-graphThe Graph(GRT)$0.1857292.27%
  • BonkBonk(BONK)$0.0000263.40%
  • Rocket Pool ETHRocket Pool ETH(RETH)$3,463.321.46%
  • NotcoinNotcoin(NOT)$0.015896-3.20%
  • dogwifhatdogwifhat(WIF)$1.62-3.51%
  • Mantle Staked EtherMantle Staked Ether(METH)$3,217.261.40%
  • lido-daoLido DAO(LDO)$1.675.99%
  • arweaveArweave(AR)$22.490.58%
  • Bitget TokenBitget Token(BGB)$1.040.87%
  • FLOKIFLOKI(FLOKI)$0.0001493.91%
  • OndoOndo(ONDO)$0.984.71%
  • WhiteBIT CoinWhiteBIT Coin(WBT)$9.570.50%
  • theta-tokenTheta Network(THETA)$1.361.96%
  • CelestiaCelestia(TIA)$6.80-4.62%
  • aaveAave(AAVE)$90.175.14%
  • fantomFantom(FTM)$0.4687043.51%
  • thorchainTHORChain(RUNE)$3.612.50%
  • jasmycoinJasmyCoin(JASMY)$0.0247126.62%
  • BrettBrett(BRETT)$0.118640-0.80%
  • algorandAlgorand(ALGO)$0.138571-0.33%
  • ether.fi Staked ETHether.fi Staked ETH(EETH)$3,090.241.21%
  • Pyth NetworkPyth Network(PYTH)$0.3017931.24%
  • JupiterJupiter(JUP)$0.78-1.73%
  • quant-networkQuant(QNT)$70.02-1.87%
  • elrond-erd-2MultiversX(EGLD)$37.221.39%
  • SeiSei(SEI)$0.328578-3.83%
  • CoreCore(CORE)$1.103.06%
  • gatechain-tokenGate(GT)$6.941.56%
  • ethereum-name-serviceEthereum Name Service(ENS)$27.130.86%
  • akash-networkAkash Network(AKT)$3.54-0.39%
  • kucoin-sharesKuCoin(KCS)$8.94-1.67%
  • FlareFlare(FLR)$0.019127-1.31%
  • flowFlow(FLOW)$0.551.29%
  • dYdXdYdX(DYDX)$1.321.96%
  • mantra-daoMANTRA(OM)$0.960.88%
  • Kelp DAO Restaked ETHKelp DAO Restaked ETH(RSETH)$3,139.661.41%
  • axie-infinityAxie Infinity(AXS)$5.361.33%
  • galaGALA(GALA)$0.021604-0.81%
  • eosEOS(EOS)$0.520.36%
  • Tokenize XchangeTokenize Xchange(TKX)$9.640.57%
  • StarknetStarknet(STRK)$0.59-0.68%
  • bittorrentBitTorrent(BTT)$0.0000011.27%
  • msolMarinade Staked SOL(MSOL)$169.76-0.40%
  • BeamBeam(BEAM)$0.0148692.24%
  • FasttokenFasttoken(FTN)$2.340.62%
  • bitcoin-cash-svBitcoin SV(BSV)$38.061.96%
  • usddUSDD(USDD)$1.000.40%
  • tezosTezos(XTZ)$0.74-0.96%