#

Pythinker Code
### *Your terminal-native AI engineering agent.*
**Read code. Edit files. Run commands. Search the web. Plug into your IDE.**
**All from the shell you already live in.**
[](https://pypi.org/project/pythinker-code/)
[](pyproject.toml)
[](LICENSE)
[](https://github.com/mohamed-elkholy95/Pythinker-Code/actions/workflows/ci-pythinker-cli.yml)
[](https://docs.astral.sh/ruff/)
[](https://github.com/agentclientprotocol/agent-client-protocol)
[](https://modelcontextprotocol.io/)
[](https://pythinker.com)
๐ Website ยท
โก Quick Start ยท
โจ Features ยท
๐งฉ IDE Integration ยท
๐ MCP ยท
๐ Privacy ยท
๐ ๏ธ Develop
---
## ๐ก What is Pythinker?
**Pythinker Code** is an open-source AI coding agent that lives in your terminal. Unlike chat-based assistants stuck behind a browser tab, Pythinker can **read your repo, edit files, run shell commands, browse the web, and call MCP tools** โ all in a single iterative loop driven by the model of your choice.
It speaks the [**Agent Client Protocol (ACP)**](https://github.com/agentclientprotocol/agent-client-protocol), so it slots cleanly into ACP-aware editors like Zed and JetBrains. It loads [**Model Context Protocol (MCP)**](https://modelcontextprotocol.io/) servers, so the same tools your other agents use just work. And it's hackable: subagents, skills, hooks, and plugins are all first-class extension points.
> ๐ฏ **One agent, one shell, one workflow.** No tab-switching. No context loss. No magic.
---
## โจ Features
|
### ๐ฅ๏ธ Terminal-First
Plan, edit, run, and verify without leaving your shell. Every action is visible, scriptable, and auditable.
|
### โก Shell Command Mode
Press `Ctrl-X` to drop into a direct shell prompt inside the agent. Run commands, then snap back into AI mode with full context preserved.
|
|
### ๐งฉ ACP IDE Integration
Run `pythinker acp` and any [Agent Client Protocol](https://github.com/agentclientprotocol/agent-client-protocol) editor โ Zed, JetBrains, and more โ gets a full Pythinker session inline.
|
### ๐ MCP Tool Loading
Manage stdio and HTTP MCP servers with `pythinker mcp`. OAuth-backed servers, persistent config, ad-hoc files โ all supported.
|
|
### ๐ค Subagents & Skills
Delegate focused work to built-in subagents. Load reusable instructions via `/skill:` and bundled prompt flows via `/flow:`.
|
### ๐ช Hooks & Plugins
Observe or block tool execution with hook events. Install community extensions with `pythinker plugin`.
|
|
### ๐ Web & Visualization UIs
Optional web frontend and visualization frontend ship alongside the CLI for richer inspection workflows.
|
### ๐ค Bring Your Own Model
Swap providers and models per-session: `--model openai/gpt-5.5`, hosted Pythinker models, or your own keys.
|
> [!NOTE]
> Built-in shell commands such as `cd` are not yet supported in shell command mode.