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

---

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