Metadata-Version: 2.4
Name: llama-index-agent-lats
Version: 0.3.2
Summary: llama-index agent lats integration
Author-email: Your Name <you@example.com>
License-Expression: MIT
License-File: LICENSE
Requires-Python: <4.0,>=3.9
Requires-Dist: llama-index-core<0.13,>=0.12.41
Description-Content-Type: text/markdown

# 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`.

```python
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(...)
```
