# Attach a second terminal to a running Framework session

> Framework hosts serve live sessions on a private local socket, so another process of the same user can list, watch, send to and cancel them.

Source: <https://everruns.com/docs/changelog/2026-11-09-attach-running-sessions/>

Date: 2026-11-09
Products: Framework
Category: Feature
Available: In 0.52.0

A Framework host can now let a second process drive its live sessions. With the `control` feature, the host registers sessions in a `ControlRegistry` and starts a `ControlServer`; another terminal run by the same user lists them, streams their output, sends input and cancels the running turn with a `ControlClient`.

```rust
// everruns = { features = ["control", "openai"] }
use everruns::control::{ControlClient, default_dir};


async fn stop_it() -> Result<(), everruns::control::ControlClientError> {
    let client = ControlClient::new(default_dir("myagent"));
    client.cancel("main").await?;
    Ok(())
}
```

Access is limited to the same OS user and a token that rotates and can be revoked. See [Attach to a Running Session](https://everruns.com/docs/framework/attach-control/) and the `attached-cli` example.