protocol Class info¶ 🛈 DocStrings¶ ACP v2 protocol layer: connection to an agent, session state and prompt building. Nothing in here imports Textual, so it can be tested and reused without a UI.