posit-dev / posit-dev/positron

Dedicated session for Assistant

Open
#14,780 4 comments 0 reactions 1 assignee View on GitHub

@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

  1. When Assistant executes code, the user's console does not get flooded with the Assistant's code execution
  2. If the user wants to review a log of the Assistant's code execution, they can easily access it

Potential implementation

  1. 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
  1. 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

  1. Are there startup and performance concerns with spinning up separate sessions
  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.