Skip to main content

Language Agent Tree Search (LATS) Agent

This agent integration implements the Language Agent Tree Search method introduced in the paper titled "Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models" by Zhou et al. 2023.

Check out the source paper: https://arxiv.org/pdf/2310.04406.pdf

Usage

LATS is implemented as a BaseAgentWorker and as such is used with an AgentRunner.

from llama_index.agent.lats import LATSAgentWorker
from llama_index.core.agent import AgentRunner

tools = ...
llm = ...
agent_worker = LATSAgentWorker(tools=tools, llm=llm)
agent = AgentRunner(agent_worker)

agent.chat(...)

Release files for llama-index-agent-lats 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-index-agent-lats 0.3.2
File Size Uploaded
llama_index_agent_lats-0.3.2.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-agent-lats 0.3.2
File Interpreter ABI Platform
llama_index_agent_lats-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 14.8 kB

Release files / llama_index_agent_lats-0.3.2.tar.gz

Download URL llama_index_agent_lats-0.3.2.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b8236b24d3be76b4102a95154e6c5b687b736a0803b8a69a244ce3baf39b2bb7
BLAKE2b-256 checksum
How to use checksums
bb10fa4f4a91d4fe964f570ccae27a59fa102c07ffda5eab64094845d3b142f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.16

Release files / llama_index_agent_lats-0.3.2-py3-none-any.whl

Download URL llama_index_agent_lats-0.3.2-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ee96ecba823bb691aa016e66ef4d1dd2ff74b11b81090a5ab62861f31566820
BLAKE2b-256 checksum
How to use checksums
4f78163eee67e6f7b35efb16c5d51f2fc25afdf69129b3a03003eb547698d826
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.16

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page