[FEATURE] Support interactive REPL/console sessions (e.g. bin/rails c, python, node)

Resolved 💬 1 comment Opened May 11, 2026 by vitaliesquare Closed Jun 10, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

First, a huge thank you to the Claude Code team, this tool has genuinely transformed how I work. The ability to have an AI collaborator that understands my codebase, runs commands, and iterates with me is incredible. You've built something special and it keeps getting better. 🙏

Feature request:
It would be amazing if Claude Code could open and interact with long-running interactive processes like REPLs and consoles — for example:

  • bin/rails c (Rails console)
  • python / ipython
  • node
  • psql, mysql
  • iex (Elixir), ghci (Haskell), etc.

When asking Claude to open bin/rails c, it correctly explains it can't because the Bash tool runs commands and waits for them to complete, which means an interactive session just hangs.

Proposed Solution

Desired behavior:
Claude should be able to spawn an interactive session, send commands into it, read the output, and continue the conversation, essentially acting as a pair programmer inside a live console.

Example use case

"Open a Rails console and help me figure out why User.where(active: true).count returns a different number than I expect."

Claude would open bin/rails c, run the query, inspect the results, maybe run a few follow-up queries, and explain what it finds — all without me having to copy/paste back and forth.

This would be an enormous quality-of-life improvement for backend developers. Thank you for considering it!

Alternative Solutions

_No response_

Priority

Critical - Blocking my work

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗