> For the complete documentation index, see [llms.txt](https://bdi.gitbook.io/bdi-public-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bdi.gitbook.io/bdi-public-documentation/readme/introduction/stack-and-kits.md).

# Stack and KITs

## 1. BDI Stack and KITs

To assist the creation of applications according to the architectural principles, BDI defines a set of *building blocks.* Each building block provides tools and guidelines to implement parts of the required functionality. The building blocks are shown in the BDI stack:

<figure><img src="https://3597641792-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEsnYrgeqsPPZtbALTQAj%2Fuploads%2Fgjq4Mckmt3mqgep73lFj%2F20241022%20BDI%20building%20blocks%20stack_2.jpg?alt=media&amp;token=ff279ff0-9fe0-493d-91fa-b6c18c396ba5" alt=""><figcaption><p>Building blocks of BDI</p></figcaption></figure>

Implementation of the principles by means of parts of the stack is aided by the definition of **KITs**. A KIT is a subset of the BDI stack that forms a coherent capability. Implementing a KIT makes it easier to start with a minimal viable subset and add additional functionality later as the need for it arises.


---

# 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://bdi.gitbook.io/bdi-public-documentation/readme/introduction/stack-and-kits.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.
