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
View on GitHub β†—
Stars
1,525β˜…
Forks
124
Language
Python
License
MIT
Created
2026-03-20
Last push
2026-08-05