# 企业网页流程自动化 Agent 系统 Resume name: 企业网页流程自动化 Agent 系统(browser-use / Tool Calling / Human-in-loop) ## What It Is This is a safe enterprise web workflow browser-agent project. Recruiting portals are the first demo scenario because they are immediately useful, but the system design is transferable to OA, CRM, supplier portals, internal dashboards, and repetitive web operations. The resume target is not "I made a LangChain demo"; it is: - browser/computer-use agent - tool calling with safety gates - JD extraction and fit scoring - human-in-the-loop application preparation - repeatable evaluations ## Reference - Main reference: `../../reference/browser-use` - Architecture references: - `../02-finmemory-research-agent` - `../../reference/open_deep_research` ## Why This Project Is Resume-Grade It demonstrates capabilities that ordinary LangChain demos do not: - Browser automation with a real action space. - Tool calling with domain allowlists. - Persistent browser profile and login-session reuse. - Human-in-the-loop approval before risky actions. - Application form dry-run filling without writing to a live webpage. - Policy engine for read-only, draft-fill, upload, submit, authorization, payment, and destructive actions. - Screenshot/action trace logging. - Failure recovery for navigation, page changes, missing fields, and timeouts. - Evaluation on repeatable browser tasks and multi-portal offline benchmarks. ## Current MVP Implemented now: - local candidate profile: `candidate_profile.yml` - local JD parser: `parse_job_text` - mock enterprise web page: `mock_pages/ai_agent_platform_job.html` - structured HTML extractor: `extract_job_from_html_file` - deterministic web workflow: observe -> extract -> safety -> score - action policy engine: read_only / fill_draft / upload_file / submit / authorization / payment / destructive - application form dry-run planner: field mapping, confidence, manual-review flags, blocked actions - multi-portal offline benchmark over Bilibili, ByteDance, Meituan, Ctrip, and Alibaba fixtures - run artifact directory: `runs/-/` - JSON action trace: `trace.json` - action replay log: `actions.jsonl` - extracted page summary: `page_text.txt` - source page snapshot: `page_snapshot.html` - generated screenshot for vision smoke tests: `screenshot.png` - Qwen-VL screenshot smoke command: `jobpilot qwen-vision-smoke` - normalized visual safety evidence: `vision_safety` - read-only real browser observation: `jobpilot browser-observe` - visible job-card extraction from observed pages: `jobpilot browser-extract-list` - read-only real job-detail extraction and scoring: `jobpilot browser-observe-detail` - deterministic real-detail regression eval: `jobpilot eval-detail` - rule-based fit scorer: `score_job` - recruiting-domain allowlist - submit/apply action detector - CLI: - `jobpilot score` - `jobpilot safety` - `jobpilot action-policy` - `jobpilot form-dry-run` - `jobpilot mock-run` - `jobpilot eval` - `jobpilot benchmark-portals` - `jobpilot qwen-preflight` - `jobpilot qwen-vision-smoke` - `jobpilot browser-observe` - `jobpilot browser-extract-list` - `jobpilot browser-observe-detail` - `jobpilot eval-detail` - pytest smoke tests Browser-use integration is intentionally gated behind API keys and a human approval flow. Real application submission is not automated. ## Run Locally ```bash cd /mnt/c/Users/86191/Desktop/ai-agent-projects/projects/01-jobpilot-browser-agent uv run pytest uv run jobpilot score --jd-file samples/bilibili_llm_agent_jd.md uv run jobpilot score --jd-file samples/bilibili_llm_agent_jd.md --json uv run jobpilot safety uv run jobpilot action-policy --action "click 立即投递" uv run jobpilot form-dry-run --html-file mock_pages/application_form_dry_run.html uv run jobpilot mock-run uv run jobpilot eval uv run jobpilot benchmark-portals uv run jobpilot qwen-preflight uv run jobpilot qwen-vision-smoke uv run jobpilot browser-observe --url "https://jobs.bilibili.com/campus/positions?type=0" --task lab10_bilibili_observe uv run jobpilot browser-extract-list --run-dir runs/-lab10-bilibili-observe uv run jobpilot browser-observe-detail --url "https://jobs.bilibili.com/campus/positions?type=0" --keyword "推荐算法实习生-LLM Agent" --task lab12_bilibili_llm_agent_detail uv run jobpilot eval-detail ``` Expected sample result: ```text score: 4.7/5 recommendation: strong matched skills: agent orchestration, tool calling, rag, evaluation, llm engineering, python engineering ``` Expected mock workflow result: ```text Extracted: 星河智能 Enterprise AI Platform - AI Agent 应用开发实习生 Score: 4.5/5, recommendation: strong Blocked actions: click submit application Workflow eval: 1/1, accuracy 1.0 ``` Each `mock-run` writes a replayable run directory: ```text runs/-/ trace.json actions.jsonl page_text.txt page_snapshot.html ``` Vision smoke runs write: ```text runs/-/ screenshot.png prompt.txt qwen_vision_response.json ``` Read-only real browser observation writes: ```text runs/-/ trace.json observation.json page_text.txt page_snapshot.html screenshot.png ``` Visible list extraction adds: ```text runs/-/ job_cards.json ``` Read-only detail extraction writes: ```text runs/-/ trace.json observation.json detail_text.txt detail_snapshot.html detail_screenshot.png detail_job.json fit_score.json ``` Form dry-run writes: ```text reports/form-dry-run/form_fill_plan.json ``` Portal benchmark writes: ```text reports/portal-benchmark/portal_benchmark_report.json reports/portal-benchmark/portal_benchmark_report.md ``` ## Next Build Steps 1. Add browser-use extraction for allowlisted recruiting portals. 2. Add durable storage for form-fill drafts and human approval decisions. 3. Expand deterministic evals with more portal-specific form variants. 4. Add metrics: extraction success rate, latency, manual-intervention count. 5. Add a trace dashboard section for policy decisions and draft-fill review fields. ## Resume Angle Use wording like: - Built a browser-use based recruiting portal agent with domain allowlists, persistent sessions, screenshot/action traces, action policy gates, and human approval before risky operations. - Added dry-run application form filling with field confidence, manual-review flags, and blocked submit/upload actions. - Designed repeatable browser-task and multi-portal evaluations covering JD extraction, form-field detection, risk recall, timeout recovery, and application package preparation.