Earlier this week we announced Devin in your terminal. Now Devin is inside your shell. Hit Ctrl+G and it sees what you see to instantly help you out. try it: `devin shell setup` https://t.co/CWFuy02GyZ
Cognition Integrates Devin Into the Shell for Real Time Terminal Context
· Updated
Cognition, an applied AI lab building autonomous software agents, launched a shell integration feature for its recently released Devin for Terminal. The update wraps Bash, Zsh, or Fish sessions, allowing the agent to monitor command-line activity and capture the output of executed commands in real-time.
- Supported shells
- Bash, Zsh, Fish
- Supported OS
- macOS, Linux, WSL
- Trigger shortcut
- Ctrl+G (configurable)
- Zsh-only feature
- Comment syntax (#)
- Visibility
- Command history and output
This shift moves the agent from a standalone tool into a persistent observer of the developer's environment. While standard coding assistants require manual context, this integration mirrors the agent-native terminal automation trend by giving the agent direct visibility into system errors and environment states as they occur.
You can enable the feature by running devin shell setup on macOS, Linux, or WSL. Once configured, hitting Ctrl+G triggers the agent with your current command line as context, while Zsh users can prompt the agent directly using # comment syntax. The feature is currently in preview.
Cognition
@cognition
14retweets153likes
View on XStill wondering? A few quick answers below.
Devin shell integration is a feature preview that wraps your existing terminal session so the AI agent runs alongside your work. It allows Devin to observe your command line activity in real time, providing the agent with visibility into your recent shell history and the specific outputs of the commands you have executed during your session.
To install the integration, you must run the devin shell setup command in your terminal. This process adds managed blocks to your shell configuration files, such as your zshrc or bashrc. After running the command, you need to restart your terminal or source the configuration file for the changes to take effect and enable the agent.
The feature is currently available on macOS, Linux, and the Windows Subsystem for Linux. It supports Bash, Zsh, and Fish shells, though Zsh is recommended for the best experience. It is not yet supported on native Windows environments like PowerShell or CMD, although the standard Devin for Terminal tool can still run on those systems.
When you invoke Devin through the shell integration, the agent gains automatic visibility into your recent shell commands and their corresponding outputs. This context allows the agent to understand exactly what you have been doing and the specific errors you may have encountered, enabling it to provide relevant help without requiring manual explanations or copy-pasting.
You can trigger the agent by hitting the Ctrl+G keyboard shortcut anywhere in your shell, which passes your current command line to Devin as context. Additionally, Zsh users can start a line with a hash symbol followed by a message and press Enter to send a natural language prompt directly to the agent for immediate assistance.

