Deepy - Vibe coding for DeepSeek models in your terminal
Project description
Deepy
A cute terminal coding agent for DeepSeek models.
Read, edit, run tools, search the web, and keep project context in one terminal session.
Website · 中文文档 · Quick Start
What Is Deepy?
Deepy is a Python terminal coding agent built for DeepSeek's OpenAI-compatible models. It keeps the workflow inside your terminal: ask questions, inspect a project, edit files, run commands, search or fetch web content, and resume the same project session later.
Deepy is designed around DeepSeek V4 thinking mode, long context, cache-friendly prompting, and a Rich terminal interface that makes tool calls, diffs, usage, and context state visible while the agent works.
Highlights
- DeepSeek-first model setup with
deepseek-v4-pro, thinking enabled, andreasoning_effort=maxby default;/modelcan switch between V4 Pro and V4 Flash withnone,high, ormaxthinking strength. - OpenAI Agents SDK integration through
OpenAIChatCompletionsModel. - Project-aware coding tools for reading files, modifying files, running shell commands, and showing readable diffs.
- Web research tools for search and direct URL fetching when a task needs fresh information.
- Session history,
/resume,/new, automatic context tracking, and compacting for long project work. - TOML-only private configuration at
~/.deepy/config.toml. - Theme-aware terminal UI with Markdown rendering, DeepSeek thinking display, per-turn usage, context window status, and version update checks.
See It Work
Start In A Project
Deepy shows the current model, thinking settings, working directory, and the core commands directly on startup.
Build And Verify Code
Ask Deepy to implement a change, write tests, run the project test command, and summarize the result.
Deepy can also turn command output into a readable project summary, including files created, code snippets, and test coverage.
Research With Sources
Deepy includes WebSearch and WebFetch tools, so a terminal session can gather current information and fetch exact pages when a URL is provided.
Quick Start
Install from PyPI after the first release:
uv tool install deepy-cli
The installed command is still deepy.
Install the latest code from GitHub:
uv tool install git+https://github.com/kirineko/deepy.git
Configure your DeepSeek API key:
deepy config setup
Start Deepy in a project:
cd your-project
deepy
Configuration
Deepy only uses TOML configuration. JSON config files are intentionally rejected.
# ~/.deepy/config.toml
[model]
api_key = "sk-..."
name = "deepseek-v4-pro"
base_url = "https://api.deepseek.com"
thinking = true
reasoning_effort = "max" # high or max when thinking is enabled
[context]
window_tokens = 1048576
compact_trigger_ratio = 0.8
reserved_context_tokens = 50000
compact_preserve_recent_messages = 2
[ui]
theme = "auto" # auto, dark, or light
Supported interactive model choices are deepseek-v4-pro and
deepseek-v4-flash. In /model, thinking strength none saves
thinking = false; high and max save thinking = true with the matching
reasoning_effort.
WebSearch uses Deepy's hosted SearXNG endpoint by default. You can override it with your own SearXNG instance:
[tools.web_search]
searxng_url = "https://your-searxng.example/"
You can also initialize config non-interactively:
deepy config init --api-key sk-... --model deepseek-v4-pro
If your terminal uses a light background and parts of the UI look low contrast, set the UI theme explicitly:
deepy config theme light
Common Commands
deepy --version
deepy config setup
deepy config reset
deepy config theme
deepy config theme light
deepy doctor
deepy doctor --live --json
deepy status
deepy skills list
deepy sessions list
deepy sessions show <session-id>
deepy run "summarize this project"
Inside the interactive terminal:
/skills List available skills
/model Select model and thinking strength
/new Start a fresh conversation
/resume Pick a previous session
/compact Compact the active session context
/theme Show or change UI theme
/reset Delete config and run setup again
/ Open the command menu
Esc Interrupt the current model turn
Ctrl+D Press twice to quit
Project Rules And Skills
Deepy automatically loads project instructions from:
AGENTS.md.deepy/skills/*/SKILL.md
This lets each repository define local conventions, commands, review rules, and domain-specific skills without changing global config.
Development
uv sync --group dev
uv run pytest
uv run ruff check
uv run pyright
uv build
The Python package is built from src/deepy. GitHub Pages files and screenshot
assets live outside the package directory and are not included in the wheel.
Release Status
Deepy 0.1.10 is released through GitHub and PyPI. Standalone binaries and npm
wrappers can be added later, but the primary distribution is the Python CLI.
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
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 deepy_cli-0.1.10.tar.gz.
File metadata
- Download URL: deepy_cli-0.1.10.tar.gz
- Upload date:
- Size: 98.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
199cb592e2a070265e60e2e3eca9e563bcda941a34c72893c59afe69aa437775
|
|
| MD5 |
f04d32b8ab2b361310ae0d20c174ef5a
|
|
| BLAKE2b-256 |
7064938e4f02d4836fd679a2574c9eb21ae02bfbf3be069f6fe152c65eb0b897
|
File details
Details for the file deepy_cli-0.1.10-py3-none-any.whl.
File metadata
- Download URL: deepy_cli-0.1.10-py3-none-any.whl
- Upload date:
- Size: 123.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4b4e2a6f895004bd46ae990b3332fafa4eef071fbad81745a7264f8d7e1b1b7
|
|
| MD5 |
548f5971e80d393025823d930aa094f2
|
|
| BLAKE2b-256 |
f8965f6a349f06d4bbc201e4c94faaaa6f8dad31ebe98b16c41601634cec88f6
|