# Agents

### Overview

An Ostara agent is a worker installed in your environment. It plays a pivotal role in connecting Ostara to the services within your environment. By installing an agent, you enable Ostara to discover and monitor your applications automatically.

### Purpose of agents

The agent acts as a bridge between Ostara and the services running within your environment. It facilitates communication with actuator, and most importantly it runs service discovery in the environment. Once services are discovered, it adds them to your Ostara app and then starts retrieving metrics and data from those services, and relaying it back to Ostara for analysis and monitoring.


---

# 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/documentation/agents.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.
