# ReActTextWorldAgent

> **Class** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/agents/react/base/ReActTextWorldAgent)

Agent for the ReAct TextWorld chain.

## Signature

```python
ReActTextWorldAgent()
```

## Extends

- `ReActDocstoreAgent`

## Methods

- [`create_prompt()`](https://reference.langchain.com/python/langchain-classic/agents/react/base/ReActTextWorldAgent/create_prompt)

## ⚠️ Deprecated

Deprecated since version 0.1.0. Will be removed in version 2.0.0.

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/c2f4036e4c6ca45a8da8a42d8e07a25d2ea48b8f/libs/langchain/langchain_classic/agents/react/base.py#L138)