# RouterChain

> **Class** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/chains/router/base/RouterChain)

Chain that outputs the name of a destination chain and the inputs to it.

## Signature

```python
RouterChain()
```

## Extends

- `Chain`
- `ABC`

## Properties

- `output_keys`

## Methods

- [`route()`](https://reference.langchain.com/python/langchain-classic/chains/router/base/RouterChain/route)
- [`aroute()`](https://reference.langchain.com/python/langchain-classic/chains/router/base/RouterChain/aroute)

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/8fec4e7ceee2c368b068c49f9fed453276e210e7/libs/langchain/langchain_classic/chains/router/base.py#L27)