# Agent API

The built-in Agent API provides a way for you to build powerful web interfaces for your Agents.  Through this API you can create conversations, query your agents, search message history and customize your agents. &#x20;

[Read the API Documentation for more details.](/api/agent-api.md)

### Disabling the Agent API

The API (and any web based components) will automatically disable when you enable CLI mode for your agents.  In the event you aren't enabling CLI mode but still want to disable the API, you can add the following your `application.properties`&#x20;

```
 spring.main.web-application-type=none
```


---

# 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.peoplelogic.dev/guides/getting-started-with-the-talent-agent-sdk/agents-in-the-flow-of-work/agent-api.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.
