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

# Stages

- [Overview](https://docs.chub.ai/docs/stages/overview.md)
- [Developing a Stage](https://docs.chub.ai/docs/stages/developing-a-stage.md): Overview and table of contents
- [Quickstart / Setup](https://docs.chub.ai/docs/stages/developing-a-stage/quickstart-setup.md): How to get up and running with the template stage project.
- [Concepts](https://docs.chub.ai/docs/stages/developing-a-stage/concepts.md): A high-level view of a stage project and how they fit in the context of a chat.
- [Config / Metadata](https://docs.chub.ai/docs/stages/developing-a-stage/config-metadata.md)
- [State](https://docs.chub.ai/docs/stages/developing-a-stage/state.md): An explanation of the three types of state in an extension, and when to use each.
- [Examples / Resources](https://docs.chub.ai/docs/stages/developing-a-stage/examples-resources.md): Example projects and useful links.
- [Future Directions](https://docs.chub.ai/docs/stages/developing-a-stage/future-directions.md)
- [Optional: GitHub Codespaces](https://docs.chub.ai/docs/stages/developing-a-stage/optional-github-codespaces.md): How to get up and running with the template stage project.
- [Using a Stage](https://docs.chub.ai/docs/stages/using-a-stage.md)


---

# 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 dynamically by asking a question.

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

```
GET https://docs.chub.ai/docs/stages.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.
