can4hou6joeng4/boss-agent-cli
π€ Local-assist BOSS Zhipin CLI for AI agents β search, welfare filtering, shortlist, JSON-envelope output; low-risk & compliant by default.
1,525 β
124 forksPythonUpdated 2d ago
What you need to know
BOSSη΄θ (Chinese job platform) job-search CLI designed for AI agents β keyword search with welfare filtering, a local candidate pool, and structured JSON envelopes, defaulting to a low-risk assisted mode (read-only, user-triggered) with an explicit Research Mode. README is primarily Chinese.
Install
uv tool install boss-agent-cli; patchright install chromium (browser kernel only used for user-initiated login / local export)
MCP: {"mcpServers":{"boss-agent":{"command":"uvx","args":["--from","boss-agent-cli[mcp]","boss-mcp"]}}}
Docker: BOSS_UID=$(id -u) BOSS_GID=$(id -g) docker compose run --rm boss-mcp (image ships without browser kernel; mount ~/.boss-agent after boss login)Usage
- β’boss doctor (env self-check) -> boss login -> boss status
- β’boss search "Golang" --city εΉΏε· --welfare "εδΌ,δΊι©δΈι" (welfare filter with AND matching, auto page-fetch)
- β’boss detail <security_id>; boss shortlist add <security_id> <job_id> --tags εη«―,θΏη¨; boss stats
- β’MCP hosts expose ~50 low-risk/local-task tools; boss schema is the capability source of truth (also --format openai-tools / anthropic-tools)
Key features
- βJob discovery with 8-dimension filtering plus welfare filtering (perl-space) and local match scoring (--sort score)
- βLocal candidate pool: shortlist, watch, preset, favorites, offline compare, funnel stats
- βAI job-search assistant: JD analysis, resume polish, targeted optimization, candidate matching, mock interview, chat coaching via OpenAI-compatible / Ollama / vLLM
- βSchema-driven JSON envelope output ({ok, data, pagination, error, hints}) on stdout; Python SDK (py.typed)
- βMulti-platform abstraction: zhipin (BOSSη΄θ), zhilian (ζΊθζθ), qiancheng (εη¨ζ εΏ§/51job placeholder)
- βRecruiter minimal loop: hr jobs list/online/offline
Best for
Chinese developers who want an AI agent to search BOSSη΄θ and curate a candidate pool without risking automation bans on proactive actions
Caveats
- β High-risk actions (greet/batch-greet, apply, exchange, chat, pipeline) are blocked by default and return COMPLIANCE_BLOCKED β must be done manually on the official site
- β Crawl/agent automation runs only in explicit Research Mode (boss config set operating_mode research) with budgets, checkpoints, and stop switches
- β qiancheng (51job) is a registered placeholder returning NOT_SUPPORTED until a read-only research bar is met
- β zhilian recruiter-side automation is V1 via browser/CDP agent; hr subcommands are BOSS-only
- β Local storage in ~/.boss-agent (encrypted login state, SQLite cache); data doesn't leave the machine except explicit API calls
Platforms: macOS Β· Linux Β· WindowsClients: Claude Desktop Β· Cursor Β· OpenCode Β· Any MCP host
Documentation βReviewed 2026-08-07
Topics
agent-skillagent-toolsai-agentboss-zhipinclaudeclicommand-linejob-huntingjob-searchmcpmodel-context-protocolpythonrecruiter-workflowrecruitmentresumezhipin
- Stars
- 1,525β
- Forks
- 124
- Language
- Python
- License
- MIT
- Created
- 2026-03-20
- Last push
- 2026-08-05