Windows-first coding agent with OpenAI-compatible model config, CLI approvals, and a local web frontend.
Project description
Pooh Code 2.0
pooh-code 是一个面向 Windows 用户的本地编码代理,支持:
pipx install后直接在终端使用- 通过 OpenAI 兼容接口接入自定义模型网关
- 本地 Web 前端工作台
- shell 命令执行前的终端审批
安装
pipx install pooh-code
如果需要更完整的文件处理能力:
pipx install "pooh-code[files,audio,image]"
首次配置
2.0 不再使用 ChatGPT OAuth。安装后先在你的项目目录里初始化配置:
cd D:\your-project
pooh-code init
需要填写的核心配置:
model_name = "Qwen3.5-397B-A17B"
openai_api_base = "http://127.0.0.1:3000/v1"
openai_api_key = "sk-xxxx"
配置文件默认写入:
workplace/runtime/config/settings.json
也可以检查配置是否完整:
pooh-code check
使用
CLI:
pooh-code
pooh-code chat
pooh-code sessions
Web 前端:
pooh-code web
或:
pooh-code-web
默认地址:
http://127.0.0.1:8787
Windows 行为
- shell 工具在 Windows 下默认使用
cmd.exe - agent 执行 shell 命令前会在终端弹出审批提示
- 若用户拒绝,命令不会执行
运行时目录
workplace/runtime/
workplace/output/
其中:
workplace/runtime/config/settings.json:模型与运行配置workplace/runtime/sessions/:会话记录workplace/output/<session_id>/:当前会话产物
开发
uv sync
uv run pooh-code --help
uv build
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pooh_code-2.0.0.tar.gz
(6.1 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pooh_code-2.0.0.tar.gz.
File metadata
- Download URL: pooh_code-2.0.0.tar.gz
- Upload date:
- Size: 6.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cc2eaa89d8bf8242817958db9e152ef085c8663d38021647480cf2702e0a791
|
|
| MD5 |
c10440721ab19a89e94ad9a8097df182
|
|
| BLAKE2b-256 |
b5d4eb5a429d85a6cbe2fcd62d905d583de95f1b4748f19719cc607673f77e13
|
File details
Details for the file pooh_code-2.0.0-py3-none-any.whl.
File metadata
- Download URL: pooh_code-2.0.0-py3-none-any.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c468c182e3a8715fdaa6f4a38e9643a0b2462e06a8b8cb5da1cd2596b785fde5
|
|
| MD5 |
2487f30a72bff3781deea3bcd6debddc
|
|
| BLAKE2b-256 |
3cbd0e6656ae10d84422a686979c8a57404ed56bacdaedc151f35371afcb04d8
|