# Khan

Khan is Arvo's thread-runner module. Its main purpose is to provide an interface for running [threads](/urbit-os/base/threads.md) that can be used by Urbit apps, Arvo itself, or external applications using a Unix socket.

At this stage, Khan's external interface is still experimental and there are not yet proper libraries for other languages that can make use of it. Therefore, the current documentation only touches on Khan's internal interface for the rest of Arvo. Khan's internal interface provides a more ergonomic way for Arvo and Urbit apps to run threads than using [Spider](/urbit-os/base/threads/api.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.urbit.org/urbit-os/kernel/khan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
