# AsyncBaseTracer

> **Class** in `langchain_core`

📖 [View in docs](https://reference.langchain.com/python/langchain-core/tracers/base/AsyncBaseTracer)

Async base interface for tracers.

## Signature

```python
AsyncBaseTracer(
    self,
    *,
    _schema_format: Literal['original', 'streaming_events', 'original+chat'] = 'original',
    run_map: dict[str, Run] | None = None,
    order_map: dict[UUID, tuple[UUID, str]] | None = None,
    _external_run_ids: dict[str, int] | None = None,
    **kwargs: Any = {},
)
```

## Extends

- `_TracerCore`
- `AsyncCallbackHandler`
- `ABC`

## Methods

- [`on_chat_model_start()`](https://reference.langchain.com/python/langchain-core/tracers/base/AsyncBaseTracer/on_chat_model_start)
- [`on_llm_start()`](https://reference.langchain.com/python/langchain-core/tracers/base/AsyncBaseTracer/on_llm_start)
- [`on_llm_new_token()`](https://reference.langchain.com/python/langchain-core/tracers/base/AsyncBaseTracer/on_llm_new_token)
- [`on_retry()`](https://reference.langchain.com/python/langchain-core/tracers/base/AsyncBaseTracer/on_retry)
- [`on_llm_end()`](https://reference.langchain.com/python/langchain-core/tracers/base/AsyncBaseTracer/on_llm_end)
- [`on_llm_error()`](https://reference.langchain.com/python/langchain-core/tracers/base/AsyncBaseTracer/on_llm_error)
- [`on_chain_start()`](https://reference.langchain.com/python/langchain-core/tracers/base/AsyncBaseTracer/on_chain_start)
- [`on_chain_end()`](https://reference.langchain.com/python/langchain-core/tracers/base/AsyncBaseTracer/on_chain_end)
- [`on_chain_error()`](https://reference.langchain.com/python/langchain-core/tracers/base/AsyncBaseTracer/on_chain_error)
- [`on_tool_start()`](https://reference.langchain.com/python/langchain-core/tracers/base/AsyncBaseTracer/on_tool_start)
- [`on_tool_end()`](https://reference.langchain.com/python/langchain-core/tracers/base/AsyncBaseTracer/on_tool_end)
- [`on_tool_error()`](https://reference.langchain.com/python/langchain-core/tracers/base/AsyncBaseTracer/on_tool_error)
- [`on_retriever_start()`](https://reference.langchain.com/python/langchain-core/tracers/base/AsyncBaseTracer/on_retriever_start)
- [`on_retriever_error()`](https://reference.langchain.com/python/langchain-core/tracers/base/AsyncBaseTracer/on_retriever_error)
- [`on_retriever_end()`](https://reference.langchain.com/python/langchain-core/tracers/base/AsyncBaseTracer/on_retriever_end)

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/311675a517f51ec6c77454124293c58df517e952/libs/core/langchain_core/tracers/base.py#L551)