Neurogrid Terminal Coding Agent NeuroGrid released nrgrd, a terminal user interface coding agent that connects to any OpenAI-compatible inference endpoint, including NeuroGrid Marketplace deployments, vLLM, Ollama, and LM Studio. The tool runs an iterative tool-use loop that reads, searches, edits, and runs commands in a repository, gates file writes, shell commands, and MCP tools behind approval, and stores API keys in the OS credential store rather than config.json. nrgrd requires Python 3.11 or newer and runs on macOS, Linux, and Windows, installed via `uv tool install nrgrd` or pipx. nrgrd is NeuroGrid https://neurogrid.cc 's Terminal User Interface TUI for interacting with AI models from your terminal, Claude Code style. Built on rich and prompt-toolkit , it points at any OpenAI-compatible inference endpoint — including a NeuroGrid Marketplace deployment the URL + API key of the host you rented — to chat, manage sessions, and run MCP tools. - Coding agent — An iterative tool-use loop nrgrd.agent that reads, searches, edits, and runs commands in your repository until the task is done. - Workspace aware — Detects git, language, package manager, and test framework at startup, so the agent doesn't waste turns rediscovering your project. - Interruptible — Ctrl+C stops generation or a running tool without corrupting the conversation, keeping whatever was produced. - Named sessions — Several conversations per project: list, resume, rename, delete. - CLI mode — nrgrd "fix the failing tests" runs headless on the same runtime, for scripts and CI. - Native tools — list files , read file , write file , edit file , search , shell , git status , git diff . - Permissions — Read-only tools run automatically; file writes, shell commands, and MCP tools ask for approval first or "always allow" for the session . - Immersive TUI — Rich-rendered panels, streaming output, and slash-command completion. - Persistent sessions — Saves conversation context and history locally. - Any compatible endpoint — Behind a ModelProvider abstraction: a NeuroGrid deployment, vLLM, Ollama, LM Studio, or anything else speaking the same API. All nrgrd needs is a URL, a key, and a model name. - Keys kept out of the config file — The API key lives in your OS credential store, and never appears in errors or logs. - Errors you can act on — Failures name the endpoint and model involved and say what to change. - Built-in MCP — Run and connect MCP servers straight from the terminal; their tools go through the same permission system. - CLI + TUI — Use nrgrd for the interactive interface or nrgrd-mcp for the MCP server. nrgrd runs on macOS, Linux and Windows, with Python 3.11 or newer. uv tool install nrgrd nrgrd uv tool install puts nrgrd on your PATH in its own environment, and downloads a suitable Python if you don't have one. Update with uv tool upgrade nrgrd . If you prefer pipx: pipx install nrgrd . Don't have uv? See installing uv https://docs.astral.sh/uv/getting-started/installation/ . git clone https://github.com/NeuroGrid-AI-exchange/neurogrid-tui.git cd neurogrid-tui uv sync uv run nrgrd nrgrd interactive TUI nrgrd "explain this repository" one prompt, then exit nrgrd --model qwen3-coder "fix the failing tests" nrgrd --yes "run the tests" approve gated tools automatically CI | Command | What it does | |---|---| | /help | List every command | | /config , /config edit | Show or change the connection | | /con , /models | Check the endpoint, list its models | | /tools , /permissions | Show tools and how each is gated | | /session list , /session new\|resume\|rename\|delete