# Agent Client Protocol (ACP)

## **What is ACP?**

ACP is a standardized protocol that enables AI agents to integrate directly with code editors like Zed, providing seamless AI-powered development assistance.

### **What ACP Offers with Stakpak?**

* **Real-time AI Chat** - Natural language conversations with context-aware AI assistance
* **Live Code Analysis** - AI can read, understand, and modify your codebase in real-time
* **Tool Execution** - AI can run commands, edit files, search code, and perform development tasks
* **Session Persistence** - Maintains conversation context across editor sessions
* **Streaming Responses** - Real-time AI responses with live progress updates
* **Agent Plans** - Visual task breakdown and progress tracking

### Supported with ACP:

* Zed IDE
  * [Install Stakpak in Zed IDE](/docs/tutorial/install-stakpak-in-zed-ide.md)


---

# 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://stakpak.gitbook.io/docs/how-it-works/agent-client-protocol-acp.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.
