Skip to content

Next Term: The missing MCP
for the terminal Every tab can orchestrate and talk to the others, whether it runs Claude Code, Codex or another agent.

A native macOS terminal and code editor for running AI coding agents side by side. Switch from your IDE or terminal in one click, with your shortcuts, settings and recent projects. Claude Code, Codex, Gemini CLI and the rest each get a tab, and every tab shows whether its agent is working, done, or waiting on you.

Install in a minute lightweight, only 39 MB

curl -fsSL https://nxtrm.mishuk.me/install.sh | bash
  • Verified against a signed checksum
  • No sudo
  • No first-launch prompt
  • Read the script

Free and open source (MIT)macOS 13 or laterApple Silicon and IntelVersion 0.11.83

Next Term with a Python project tree on the left, search.py in the editor, terminal and Codex tabs beside it, and the open-project list expanded on the right.
A Python project in Next Term: files, editor, terminal, and the open-project list on the right.

Five agents, five tabs. Which one needs you?

Running agents in parallel is fast until you lose track of them. One is still thinking, one finished ten minutes ago, one has been waiting for your “yes” the whole time. A plain terminal shows five identical tabs.

Next Term marks each agent’s tab: a spinner while it works, a green check when it is done, an amber “!” when it is asking you something. When an agent finishes or needs you, a notification says so and takes you to the tab.

A row of terminal tabs: two plain shells, then a green check, a red cross, an amber exclamation mark and a blue spinner.

Know which agent needs you

  • Status in step with the agent

    A spinner while an agent is working, read from its own screen for Claude Code, Codex, Command Code and Gemini CLI, so it stops the moment they stop; other agents go by output timing. Plain commands end with a check or a red cross. Start the agent however you like: directly, through an alias, with npx, or as cd app && claude.

  • Decisions come to you

    When an agent finishes or needs you, a notification says so, and quotes the question when Claude Code or Codex asks for permission. Click it to land on that tab, or press ⇧⌘U for the agent that has waited longest, in any window. The Dock badge counts the tabs that finished or need you and that you haven’t looked at yet.

  • How full its context is

    Claude Code and Codex tabs show a small ring after their title, filled as far as the agent’s context is used, orange from 80%. Hover it for “Context 84k of 200k (42%)”, and Codex’s limits.

  • Where each agent works

    When a local agent works in another worktree than the window shows, or its branch was switched under its chat, its tab gets a hollow branch mark. The tooltip says where the agent is and who switched; the mark never turns red or blinks.

How agent status works

  • Claude Code’s IDE link, built in

    Select lines and Claude gets them with your next prompt (“⧉ 10 lines selected”). Nothing to install or configure.

  • Edits you approve

    Claude’s proposed changes open as a side-by-side diff. Accept with ⌘↩︎, or Reject. Gemini CLI, Qwen Code and GitHub Copilot CLI work the same way.

  • Send to Agent, for every agent

    ⌥⌘K types your selection or files into the agent’s prompt in its own syntax: @app/User.php#L10-20 for Claude, app/User.php:10-20 for Codex. It never presses Return for you.

  • A box for longer prompts

    ⇧⌘I puts a native text box under the agent’s terminal. Write several lines, drop in files, and Return sends it whole; the agent keeps its own screen.

  • Read an agent’s session as a chat

    ⇧⌘J shows a Claude Code, Codex or Command Code tab’s live session as a chat: its prompts, replies and folded tool output, edits that open in the diff, and questions as cards with the agent’s own choices. What you type goes into its prompt. The agent keeps running in its terminal, and one click brings the terminal back. Agent sessions Next Term starts can open as a chat too, OpenCode, Cursor’s agent and the other ACP agents among them, with replies streaming in and permission requests as cards.

The IDE link and Send to Agent

Two lines selected in the editor, and Claude Code in the terminal below showing “2 lines selected” in its prompt.

One agent can run the others

Next Term is an MCP server. Ask Claude Code, Codex or any agent that speaks MCP to open your projects, start other agents in new tabs, on your Mac or on your servers, give them their tasks, wait for them and read what they did. Through it, an agent can also edit files and commit, and each of those changes waits for you to approve it on the Mac. You watch every tab, and step in whenever you like.

You ask your agent

Open ~/Code/api and ~/Code/web. Start Claude Code in api and Codex in web, give each its task, wait for both, and tell me what each one changed.

  • Sees every tab

    Every project and tab, with each agent’s state and its question for you, and your editor: the selection, open files, search and git changes, secrets left out.

  • Acts as you would

    Opens projects, starts agents in new tabs or split panes, types prompts, waits until an agent stops, reads its screen, answers its questions, edits files, stages and commits.

  • Typed into the wrong agent?

    Say so, and it goes where you meant. Tell the agent “wrong tab, that was for the cs tab”: Next Term finds that session in any window, or reopens a closed Claude Code or Codex one, and types your prompts there, with a note on where they came from. It types only into an agent that is idle, and asks you on the Mac when more than one could match.

  • Set up for you

    In Claude Code, Codex, Gemini CLI, Qwen Code, Cursor Agent, OpenCode, Copilot CLI, Amp, Junie, Command Code and the Claude and ChatGPT desktop apps. Only its own entry is written, comments kept.

  • Changes wait for you

    The 16 tools listed below for edits, commits, commands you run, panes, the layout, settings and tasks change nothing until you click Approve (Run for a command) on the Mac, and no answer is a no; propose_edit opens as a diff to Accept or Reject. Opening, typing into and closing tabs and answering an agent are marked destructive, so agents ask first, and none can type into its own tab.

  • Private

    A socket only you can open, and no network port. Settings turns it off and removes the entries.

24 tools to see and drive the projects, tabs, editor and Settings on your Mac

  • list_tabs
  • read_tab
  • wait_for_tab
  • list_projects
  • get_editor_selection
  • get_open_files
  • read_file
  • find_in_files
  • git_status
  • get_diff
  • open_project
  • new_tab
  • send_to_tab
  • press_keys
  • answer_agent
  • show_tab
  • close_tab
  • rename_tab
  • start_agent
  • open_in_editor
  • list_shortcuts
  • show_settings
  • list_agent_clis
  • forward_prompt

16 that edit files, commit, run a command for you, arrange panes and add tasks, each change approved on your Mac

  • propose_edit
  • write_file
  • create_file
  • stage
  • commit
  • run_command
  • focus_tab
  • split_pane
  • close_pane
  • zoom_pane
  • set_layout
  • settings_get
  • settings_set
  • apply_setup
  • reopen_before_update
  • add_task

4 for your agents’ skills

  • list_skills
  • get_skill
  • install_skill
  • remove_skill

4 to bring your settings over, each import applied by you on your Mac

  • list_import_sources
  • preview_import
  • apply_import
  • undo_import

2 to connect MCP servers once for every agent, each one approved on your Mac

  • list_mcp_servers
  • add_mcp_server

and 3 every agent uses to reach those servers, with a bar in its window when one needs you to sign in or reconnect

  • mcp_servers
  • mcp_tools
  • mcp_call

9 more for your servers

  • list_hosts
  • add_host
  • remove_host
  • edit_host
  • check_host
  • new_remote_tab
  • host_sessions
  • end_session
  • host_changes

5 more to use and import your stored keys by name. None returns a key’s value.

  • list_secrets
  • request_secret
  • store_secret
  • run_with_secrets
  • import_secrets

Orchestrate agents (MCP)

Skills, reviewed before they install

Window › Skills installs agent skills from any public GitHub repository, or from a Featured list of twelve by Anthropic and OpenAI. Every file is shown first, and nothing is written until you click Install.

  • Checked, then shown

    Each skill folder is checked against its commit on GitHub, then shown file by file, hidden characters spelled out, with what it may do, what looks risky, and any plugins or MCP servers it brings.

  • One shared copy

    A skill goes into ~/.agents/skills with a link for Claude Code, so one copy reaches it and every agent that reads that folder, Codex and Command Code among them. Settings › Skills shows what Claude Code, Codex and Command Code each load, with Update…, Remove… and Undo.

  • Agents ask, you decide

    Over MCP, an agent can list your skills and ask to install or remove one. A window names the tab that asked and its reason, and nothing is fetched until you choose Fetch and Review…

Skills from GitHub · Agents asking for skills

Your agents ask by name. You decide when a key is used.

Secrets keeps your API keys and MCP keys sealed on your Mac. Agents use them by name, no MCP tool returns a value, and a key is used only after you approve with Touch ID or your password.

  • A panel shows who asks, which keys, the command and its folder, before Touch ID or your password approves.
  • Import From moves keys out of your MCP configs, with Undo, and copies them in from .env files and password managers.
  • A key set to Never show this key is never shown or copied again, and stored keys are masked, best effort, in what agents read through Next Term.

A command you approve gets the key and can send it on, and Secrets can’t stop malware already running as you.

Bring your keys in. Rotate them from one place.

Import keys from .env files, JSON and YAML configs, or your own 1Password and Bitwarden CLI, a ticked row at a time. A key can keep a link to its provider’s page, so Rotate… opens that page and the paste field together.

  • Import From › A File… copies keys from .env, JSON, TOML, YAML and CSV files and password-manager exports. It changes no file, except an MCP config you move keys out of.
  • Your own 1Password and Bitwarden CLIs run in a tab you can see. You unlock them there, and the keys go by pipe, never onto the screen.
  • Rotate… opens the key’s page, keeps the old key masked for 30 days, and can remind you when a key gets old.

Next Term doesn’t rotate keys through providers’ APIs: you make the new key on the provider’s page.

Bring keys in · Rotate a key

Secrets · What Secrets protects, and what it doesn’t

Agents on your own servers

File › New Remote Tab… (⌥⌘T) opens a tab on any server you reach with ssh. Start Claude Code or Codex there, close the lid, and with tmux or herdr on the server the agent keeps working; open the Mac again and the tab is back where it was.

  • Your ssh, as you set it up

    Your ~/.ssh/config, keys, ProxyJump and key agents such as 1Password apply. Tabs on one server share a connection, so you log in once.

  • Kept running

    With tmux or herdr, a session outlives a sleeping Mac or a dropped network. The tab reconnects by itself, and comes back once a window opens after the next launch.

  • The same marks

    Agents on a server get the spinner, the check, and the amber “!” (with the question, for Claude Code and Codex), and your agents can open tabs there through MCP.

Remote tabs on your servers

Tab at the prompt

Press ⇥ at a zsh prompt and a list opens at the cursor: zsh’s own completions when your zsh loads them, folders and files when it doesn’t. Type to narrow it; ↩︎ puts the name on the line, quoted. Nothing runs.

  • Your shell as it was

    Your zsh config, theme and key bindings work as before, and agent CLIs keep their own input. Where fzf-tab or zsh-autocomplete owns ⇥, Next Term asks once which to use.

  • On your servers too

    In a remote tab the list reads the server’s folders and files over the tab’s own connection. For zsh’s own completions there, a small hook is written only after you choose Allow…

  • Suggest a Command

    Off until you choose who answers: your Claude Code, run with no tools and no MCP, or Apple’s on-device model (Apple Intelligence, macOS 26 and later). ⌃⌘K turns a sentence into one command on the line, never run.

Tab completion and Suggest a Command

An editor where the agents work

  • A real code editor

    Above the terminal: colours from 112 grammars, soft wrap, ⌘P to go to a file, ⌘/ to comment, ⌘L to go to a line, ⌃⌘↑ and ⌃⌘↓ to move a line. When an agent changes an open file, the editor follows, and a save never writes over the agent’s change without asking. Markdown opens in Live Preview, styled as you type.

  • Every change, like a pull request

    ⌃⌘G opens Git Diff: everything a branch changed, its files as a tree with their +/−, each diff side by side or unified, changed words marked. Stage, unstage or roll back uncommitted work one hunk at a time; each action checks the file first, so an agent’s edit is never overwritten. Comment on lines as you read, then Review sends every comment to the agent as one prompt.

  • Git at a glance

    The project sidebar colours changed files and shows +12 −3 per file and folder, like a pull request, with the branch and ahead/behind at the top. In the editor’s gutter, a bar marks each added or changed line as you or an agent type.

  • Paths in the output open

    ⌘-click src/app.ts:42:7, or a Python traceback’s File "graph.py", line 42, and the file opens at that line. pytest and ruff lines work too.

  • Find and Replace in Files

    ⇧⌘F and ⇧⌘R across the project, with regular expressions, file masks and a preview of every replacement.

The editor · Diffs · Projects and git

A side-by-side diff of diff.txt against HEAD, with All Changes, Unstaged and Staged views, +2 −2, and a Revert Hunk button.

Git, from branch to blame

  • The branch popup

    Click the branch, or press ⌥⌘B: one search over branches and actions. Update Project, Commit… and Push… each show what they would do (↓3, +41 −10, ↑2).

  • Nothing behind an agent’s back

    It asks before changing files under a working agent, keeps your uncommitted changes in a named stash when you switch, and every deleted branch has Undo.

  • Commits you can read

    Commit… shows exactly what goes in and calls out files that look like secrets. Write with Agent drafts the message with your own agent, for you to edit, and Let Agent Commit hands the commit over instead.

  • The Git Log

    ⌥⌘L opens the history as a graph in a tab, with branch, author, date and path filters, each commit in full, and its changes side by side.

  • Blame in the editor

    View › Diffs & Blame › Annotate with Git Blame shows who last changed each line, and when, beside the line numbers, the newest work brightest. Click one for its commit in the Git Log.

  • Every command written down

    Git › Git Commands lists each git command Next Term ran for you, exactly as it would be typed.

Branches · Git Log · Git blame

Notebooks, data and databases

  • Jupyter notebooks

    An .ipynb opens as cells with their saved outputs: Markdown laid out, code coloured, images shown, errors in red. Nothing runs, and Open as JSON is one click away.

  • Large data files

    A JSON Lines, CSV or TSV file over 2 MB opens in a head view: its first 1,000 rows as a table, as quickly for a 2 GB file as for a small one.

  • Prompts read as prompts

    {context} placeholders and {{ question }} templates inside Python strings get their own colour, and Prompty, Mermaid and Cypher files have grammars of their own.

  • Your project’s databases

    The databases a project names in its own files (DB_* keys, DATABASE_URL, Prisma, Drizzle, Supabase, SQLite files) sit in the sidebar, local or remote, password masked, and their badges open each provider’s page.

  • SQLite, read-only until you say

    A SQLite file opens in a tab: its tables, 1,000 rows a page, a cell’s whole value beside them, Copy As CSV, JSON or Markdown, and Send to Agent. Allow Editing… lets you change a value, one checked save at a time.

  • Hand-offs

    Open in TablePlus, or mysql and psql in a new tab for a local database. The password goes through a private file that is deleted at once, never the command line.

Notebooks · Large data files · Databases

Your project’s services, one click away

Next Term reads your project’s files and lists the services it uses: AI models, vector stores, tracing, agents and dev servers. Click a badge to open its page in your browser.

  • Database badges are links

    The Neon, Supabase and Herd badges on database rows open each provider’s page: Neon’s console, Supabase’s dashboard, or the site Herd serves.

  • On the port your files set

    Qdrant, LangGraph Studio or Vite opens on the port your project’s files set, or the tool’s default.

  • Keys by name only

    To tell which services a project uses, Next Term reads API keys and tokens by name only: their values never reach the sidebar or a link.

A local link shows where the tool should run, from your project’s files; if the tool is not running there, the page does not load.

Services · Databases · What Next Term reads

Made to fit how you work

  • Split panes, pinned tabs

    ⌘D splits a tab right (outside the editor), ⇧⌘D down; ⌥⌘ and the arrows move between panes, and the tab shows the mark of the pane that most needs you. Pin the agent or dev server that runs all day: it stays first, Close Other Tabs leaves it, ⌘W asks before closing it, and an agent can’t close it without your yes.

  • Go to File, run a task

    ⌘P and a few letters: usrctl finds UserController.php. Add :42 for the line. Your project’s own tasks sit in the sidebar’s Run group: npm scripts, make, just, uv, cargo, Gradle. ▶ runs one in its own tab; type “run” in ⌘P to find it.

  • Switch projects from the keyboard

    Press ⌘O and type. Open projects come first, marked with a dot and counted, then the ones you used last, however they were opened; ↩︎ takes you there. Every open window has a row, with its agents’ marks. ⌘1–⌘9 jump to the first nine rows, and ⌘↩︎ opens a project in a new window. Projects an agent, a worktree or a restore opened are listed too. The list keeps your last 50 projects; Open Recent shows 10. With two or more windows open, a column at each window’s edge shows them all, with a dot on the one that needs you; a click on its badge goes there.

  • Your layout

    The terminal below, beside or above the editor; its tabs on top or in a list down its side; the sidebar on the left or right.

  • nxtrm in any terminal

    nxtrm . opens a project; nxtrm app/User.php:42 opens a file at a line.

  • Your keys

    Change any menu command’s shortcut, and the keys of the project sidebar’s, the Git lists’ and the branch popup’s commands, in Settings (⌘,), or keep the keys you know from another editor.

  • Bring your settings over

    From VS Code and the editors built on it (Cursor, Windsurf, Kiro, Trae, Antigravity and more), a JetBrains IDE, Zed, iTerm2, Ghostty, kitty, Alacritty, WezTerm, cmux or Terminal: your shortcuts and settings, fonts, terminal colours, cursor and scrollback, and recent projects. You see each change first, and one click undoes it. Or ask your agent: it opens the same window with the rows ticked, and nothing changes until you click Apply.

  • Pick up any conversation

    The Welcome window lists the sessions eight agents kept for each project, Claude Code, Codex, Gemini CLI, OpenCode, Cursor Agent and Copilot CLI among them. Resume or Fork one in a tab, or go to the tab it is open in; ⌥⌘O and the sidebar do it in a project window.

  • Tabs that serve

    A tab running npm run dev, uvicorn or langgraph dev shows its port, such as “app · :5173”, and File › Open Served URL opens it.

  • Updates that keep your tabs

    Signed with the release key and checked before anything is replaced, the new app’s code signature included. After an update or a quit, your windows, tabs, splits and scrollback come back; Claude Code, Codex and Qwen Code resume their conversations, and other agents’ resume commands wait on the line for ↩︎. An agent held back says why, and one held by something that clears by itself is checked again on its own.

The Welcome window · Switching to Next Term

Works with the agents you already use

Next Term brings no AI of its own and needs no account. It runs the agent command-line tools you install, and anything else you run in a terminal: tests, dev servers, ssh.

Connected as their IDE

Status, live selection, proposed edits as diffs (not OpenCode’s), MCP tools, Send to Agent

  • Claude Code
  • Gemini CLI
  • Qwen Code
  • GitHub Copilot CLI
  • OpenCode

Recognised by name

Status on the tab, a notification when it finishes or needs you, Send to Agent; MCP tools set up for Codex, Cursor Agent, Amp, Junie and Command Code

  • Codex
  • Command Code
  • Junie
  • Aider
  • Amp
  • Cursor Agent
  • Goose
  • Crush
  • Droid
  • Kiro
  • Amazon Q
  • Kimi
  • Plandex
  • Cline
  • Auggie

Local by design

  • Your code stays on your Mac

    The agent links listen on 127.0.0.1 only and refuse browsers; the MCP server uses a private socket, with no network port.

  • A fresh token every launch

    A new 256-bit secret each time Next Term starts. .env files and keys are never shared.

  • No account, no telemetry

    On its own, Next Term only checks GitHub for updates once a day and fetches from your projects’ own git remotes. You can turn off either. Next Term never syncs or uploads your keys.

  • Databases stay put

    Found by reading the project’s files, never by running its code. Passwords are never shown, logged, copied or handed to an agent.

  • Your servers, your ssh

    Host keys are never accepted silently, no password is stored, and nothing on a server can reach back to Next Term.

  • Open source, MIT

    Read every line on GitHub. Releases are built from it by GitHub Actions, with a SHA-256 checksum for every download.

Security and privacy in detail

Or install from the disk image

The one-line installer at the top does steps 1 to 3 for you, and checks the download’s signature too. By hand:

  1. Download NextTerm.dmg, the latest version (0.11.83), straight from its release on GitHub.
  2. Open it and drag Next Term to Applications.
  3. Allow the first launch. Next Term is not notarized. On macOS 15 and later, open Next Term once, then go to System Settings → Privacy & Security and click Open Anyway. On macOS 13 and 14, right-click the app, choose Open, then Open again.
  4. Pick a project in the Welcome window, or open a folder. Next time, it can bring back your windows and tabs where you left off.

Optional: download its checksum next to it and check it with shasum -a 256 -c NextTerm.dmg.sha256. After this, Next Term updates itself.

The full install guide

What comes next

  • Coming later A server’s files in the editor and sidebar, next to its remote tabs, and then dev containers.
  • Coming later Remote access to the MCP server for agents that do not run on your Mac, such as ChatGPT and Claude on the web, through a secure link.

Questions

Is Next Term free?

Yes. It is free and open source under the MIT licence, with no account and no paid tier. The source is on GitHub.

Does it come with its own AI?

No. Next Term runs the agent command-line tools you already use, such as Claude Code, Codex and Gemini CLI, signed in the way each of them normally is.

Does Next Term send my code anywhere?

No. The agent links listen only on your Mac, with a fresh token each launch, and never share .env files or keys. On its own, Next Term makes only a daily update check to GitHub and background fetches from your projects’ own git remotes, and you can turn off either.

Can one agent control the others?

Yes. Next Term is an MCP server, set up for you in Claude Code, Codex, Gemini CLI, eight other agents and the Claude and ChatGPT desktop apps. An orchestrator can list every tab with its agent’s state, start agents, send them prompts, wait for them and read their screens. Next Term’s own tools for editing files and committing wait for your Approve on the Mac. It works only on your Mac, and Settings turns it off.

Does Secrets protect my keys from malware?

No. Secrets can’t stop malware already running as you. It keeps keys out of config files and tab environments, each value is sealed on disk, and no MCP tool returns a key’s value. A command you approve gets the key, and that command can be an agent. While it runs, any program running as you can read its environment.

Can my agents run on a server?

Yes. File › New Remote Tab… (⌥⌘T) opens a tab on any server you reach with your own ssh. With tmux or herdr, the session keeps running while your Mac sleeps, the tab reconnects by itself, and its agent gets the same marks as one on your Mac.

Why does macOS ask me to allow the first launch?

Next Term is not notarized by Apple. Allow it once with Open Anyway in System Settings → Privacy & Security (macOS 15 and later), or right-click › Open (macOS 13 and 14).

All questions and answers

Run your agents side by side

Version 0.11.83 for macOS 13 or later. Free, open source, about a minute to install.