# Adapter Layer

To support diverse user environments and enable interaction from both human operators and AI agents, RoboStack introduces a flexible adapter layer designed to accommodate various request types across platforms. For example, HTTP endpoints support integration with traditional services, A2A communication is optimized for AI agents, and MCP is tailored for interactions with LLMs.

This adaptable framework empowers not only human users to control robots, but also enables agents to access robot status, retrieve sensor data, and even train or control robots autonomously – laying the foundation for intelligent, real-time robotic applications.


---

# 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://robostack-1.gitbook.io/robostack/adapter-layer.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.
