> For the complete documentation index, see [llms.txt](https://docs.podtorrent.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.podtorrent.com/readme.md).

# Welcome

PodTorrent is a network of independent machines that run AI models. You send an ordinary OpenAI-style request. We pick a machine that serves the model, send it the request, and stream the answer back to you.

There are two ways to take part:

* **Use the API.** You have an app that needs a language model. Point any OpenAI SDK at `https://api.podtorrent.com/v1` and use a PodTorrent API key.
* **Run a node.** You have GPUs and an inference engine (vLLM, SGLang, llama.cpp server, Ollama and so on). Run the small PodTorrent agent next to it, set your price, and the network sends you work.

## Where to start

| I want to…                   | Read                                                                             |
| ---------------------------- | -------------------------------------------------------------------------------- |
| Understand the moving parts  | [How PodTorrent works](/getting-started/how-it-works.md)                         |
| Call a model from my code    | [Quickstart: send your first request](/getting-started/quickstart.md)            |
| Connect my hardware          | [Quickstart: connect a node](/getting-started/node-quickstart.md)                |
| Look up an endpoint or field | [API reference](/reference/api.md), [Manifest reference](/reference/manifest.md) |

{% hint style="info" %}
PodTorrent is young and changing quickly. Pages marked **preview** describe features that are built but not generally available yet.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.podtorrent.com/readme.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
