Codev
Collection
Co-Dev with Agent via Terminal β’ 1 item β’ Updated
search_images flag that routes to SearXNG while Tavily handles general search; ImageShowTool downloads URLs to temp files and passes them to timg by path, fixes kitty protocol concurrency corruption (in-band sequences are now non-concurrent), and computes dimensions from terminal height with aspect-ratio-aware width.next_page_token (up to 60); photo limits removed./voice now uses Groq Whisper API (cloud whisper-large-v3, no Python needed) and node-edge-tts for TTS, matching Friend's stack./friend start launches a Tauri desktop VRM companion app with full-screen mode, real-time TTS/STT, and inter-process communication./goal command with prompt input footsider and lastline display for real-time goal tracking.real-time audio/video, avatar & background image upload, edge glow effect on transcript, and localStorage persistence./login opencode freemodel exit; subagent creation now works without API key in free mode./model list with life-free model display, and auto-refresh. Introduced ctx_line context tracking with online persistence. Better collapsing fetch results and auto-compact documentation polish. Merged PR #6 for Tavily search backend migration./sandbox with sandbox-runtime @0.0.44. Project renamed to codev. OpenRouter β Local model switching, auto-refresh TUI, Telegram /login local model transition./telegram command, interactive commands, message receiving in TUI, chatId overflow fixed. /buddy companion mode; recent activity in individual directories./login system (OpenRouter + local models), /model search & UI, free OpenRouter model auto-load, onboarding flow. Local model filesystem-based provider./resume session./evolve autonomous evolution, /compact context compression, LaTeX paper template, main.pdf compilation. Chrome-based research v1.0./paper and /code commands, 4-step research + autoresearch, ANN vector index, hybrid retrieval with semantic cache, external memory, token-budgeted evidence pipeline, IncompleteRead retry, long-term index cache. Workflows engine, /resume session toggle, CLI UI refresh.# script install
curl -fsSL https://huggingface.co/chenbhao/codev/raw/main/install.sh | bash
# source install
git clone https://huggingface.co/chenbhao/codev && cd codev && bun install && bun run build && codev
# if want global use bin file
# cp dist/codev ~/.local/bin
ln -sf dist/codev ~/.local/bin/codev
# then can use Codev in everywhere after `/login`
Asset files (images, screenshots) are tracked via Git LFS. Install the git-xet custom transfer agent to replace the standard LFS protocol with Xet's chunk-dedup transport for much faster push/pull:
curl --proto '=https' --tlsv1.2 -sSf \
https://raw.githubusercontent.com/huggingface/xet-core/refs/heads/main/git_xet/install.sh | sh
git xet install
After setup, use normal git workflow β git-xet automatically handles LFS objects:
git lfs pull # download all large files
If you no need
auto-compact / dream / control context-windowandwebsearchfeature. you can no configuration anythingif you no need free
local-websearchyou can skip configsearxng`` and just setTAVILY_API_KEY` in env
# Maximum_Context_Window = min(CLAUDE_CODE_MAX_CONTEXT_TOKENS, CLAUDE_CODE_AUTO_COMPACT_WINDOW) - 20000
# set 200k env in ~/.claude/settings.json or terminal
# the 20k is used to compact as buffer band
# set tool_search env
# set agentteam in tmux
{
"env": {
"USER_TYPE": "ant",
"CLAUDE_CODE_MAX_CONTEXT_TOKENS": "200000",
"CLAUDE_CODE_AUTO_COMPACT_WINDOW": "200000",
"ENABLE_TOOL_SEARCH": "true",
"TAVILY_API_KEY": "",
# "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "0", default 1
"teammateMode": "tmux", # or in-process
"groqApiKey": "gsk_" # https://console.groq.com
# map locationtool
"AMAP_API_KEY": "b_",
"GOOGLE_MAPS_API_KEY": "AI_"
}
# set auto-dream config
"autoMemoryEnabled": true,
"autoDreamEnabled": true,
# stt-tts support zh-CN
# TW girl voice
"voiceLanguage": "zh-TW",
"voiceTTSVoice": "zh-TW-HsiaoChenNeural"
# CN girl voice
"voiceLanguage": "zh-CN",
"voiceTTSVoice": "zh-CN-XiaoxiaoNeural"
}
# Config SearXNG
# 1. docker configuration
# local config search engine - searxng in archlinux
# make sure have install docker and docker-compose
sudo pacman -S docker-compose && docker
docker --version && docker compose version
sudo usermod -aG docker $USER
# make sure open pc and now start docker daemon
sudo systemctl enable --now docker
# 2. docker-compose pull
# use VersperSearch a pre-build docker config in https://github.com/chenbhao/VersperSearch
# or install searxng in docker-compose by yourself
curl -fsSL \
-O https://raw.githubusercontent.com/searxng/searxng/master/container/docker-compose.yml \
-O https://raw.githubusercontent.com/searxng/searxng/master/container/.env.example
# add json source in formats behind html - jsonl in 87 lines
cd searxng/core-config/ && sudo nvim settings.yml
# start searxng engine
docker compose up -d
# 3. check search feature
# check in every browser
firefox http://localhost:8080
# test
HTTP_PROXY=http://127.0.0.1:8888 HTTPS_PROXY=http://127.0.0.1:8888 <commands>
mitmproxy -p 8888
# /voice
"voiceTTSVoice": "zh-TW-HsiaoChenNeural",
"voiceLanguage": "zh-TW",
# /imageshow
sudo pacman -S timg
# node-edge-tts
# local whisper-stt
uv venv
uv pip install faster-whisper edge-tts voxcpm
hf download Systran/faster-whisper-base \
--local-dir ~/.cache/huggingface/hub/models--Systran--faster-whisper-base
![]() |
![]() |
| SubAgent Type | Core Responsibility |
|---|---|
| π‘οΈ General-Purpose | Orchestrates routing, high-level user interaction, and dispatching. |
| π Explore | Conducts deep semantic search and autonomous tool discovery. |
| π Plan | Handles multi-step chain-of-thought strategy and task decomposition. |
| π§ͺ Verification | Executes automated runtime validation, assertion checks, and fault tolerance. |
![]() |
![]() |
![]() |
![]() |