# Beans

### Overview

Beans allows you to visualize your application's beans, as well as see the connections between your beans as a visual graph.&#x20;

### Usage

The basic table shows you a list of expandable beans, containing the bean's name, package and [scope](https://docs.spring.io/spring-framework/docs/3.0.0.M3/reference/html/ch04s04.html)

<figure><img src="https://141808391-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQIUN58YadwFHHtojkuQ5%2Fuploads%2F4ZSvwGoHMrF66FP4bXQN%2Fimage.png?alt=media&#x26;token=66a4bb9d-ea7e-4c59-9bef-28a84735f808" alt=""><figcaption></figcaption></figure>

Upon expanding a bean, you will be able to see its type, and, if relevant, a list of dependencies. Clicking on a dependency will take you to its position in the table.

<figure><img src="https://141808391-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQIUN58YadwFHHtojkuQ5%2Fuploads%2FvGYdv1hBQPp6TpD5RxzE%2F2023-04-02%2013.52.18.gif?alt=media&#x26;token=163eeeb5-a31c-4be8-bb64-4ef8d34c72ce" alt=""><figcaption></figcaption></figure>

By clicking on the icon on the right, you will open the dependency graph. \
The dependency graph shows the bean's dependent beans, as well as any beans that the bean requires or depends on.&#x20;

The principal bean will appear green, beans it depends on will appear yellow, and dependent beans will appear purple. The principal bean can be changed by clicking on another bean, and the selection can also be cleared to show all beans in the default color.

<figure><img src="https://141808391-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQIUN58YadwFHHtojkuQ5%2Fuploads%2FHDCbzfpAjO2XmN6LEX0B%2F2023-04-02%2013.59.03.gif?alt=media&#x26;token=08b11773-b85c-40be-822b-88d46672dc69" alt=""><figcaption></figcaption></figure>

### Required Abilities

* [Beans](https://docs.ostara.dev/features/abilities)


---

# 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.ostara.dev/features/instance-features/insights/beans.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.
