posit-dev / posit-dev/positron
Dedicated session for Assistant
Open
@seeM is already working on this.
Since Sep 8, 2026.
area: assistant
area: console
area: runtimes
enhancement
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 184
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 206
Description
Context
Related to https://github.com/posit-dev/positron/issues/14771
Currently Assistant shares a single console with the user. This makes it difficult to review and audit work written by hand vs. agent.
In an Agent/ Assistant first chat mode, this becomes more important for spot checking AI generated work so a user can decide what to merge into their work
AC
- When Assistant executes code, the user's console does not get flooded with the Assistant's code execution
- If the user wants to review a log of the Assistant's code execution, they can easily access it
Potential implementation
- Dedicated agent session - Agent gets its own console/kernel instance; user's interactive console stays untouched unless they explicitly pull agent output in.
- we'll need to reconcile environment changes i.e. package installs
- Shared kernel, separate execution log - Same underlying kernel/environment but the console view/history is partitioned by actor
- we'll need to tag each console entry as user/assistant
Open questions
- Are there startup and performance concerns with spinning up separate sessions
- Is this attractive for some of the customer asks around constraints or sandboxing of the Assistant R/Python session? Can we launch a session in a sandbox bubblewrap style or Landlock?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.