计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
server-extension-gradio【效率与协作】Operate LaVague Gradio demos, Chrome extension server workflows, lavague-serve, AgentServer, and DriverServer safely.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user wants to run or debug LaVague's interactive surfaces:
WebAgent.demo() and the optional lavague-gradio package.lavague-serve.AgentServer, AgentSession, and DriverServer.Do not start a persistent UI, websocket server, browser, provider API call, or public Gradio share link unless the user explicitly asks for a live run. Start with the safe probe:
python sub-skills/server-extension-gradio/scripts/lavague_ui_server_probe.py --check both --port 8000
| User intent | Use this path |
|---|---|
| "Check whether Gradio/server pieces are installed" | Run the safe probe script with --check gradio, --check server, or --check both. |
| "Show me how to launch the Gradio demo" | Use references/ui-and-server-workflows.md and optionally print the template with --print-gradio-template. |
| "Run the Chrome extension backend" | Confirm the target port, model credentials, and that the browser extension will connect; then use references/cli-reference.md. |
| "Customize the extension agent" | Use the AgentServer(create_agent) factory recipe in references/ui-and-server-workflows.md. Route provider selection to ../contexts-and-retrievers/. |
| "The extension cannot connect" | Follow references/troubleshooting.md. |
| "The browser driver itself fails" | Route to ../browser-drivers/. |
| "The WebAgent construction or run loop fails" | Route to ../core-web-agent/. |
LAVAGUE_TELEMETRY=NONE for checks and reproducible debugging.lavague-serve, not the stale lavague-server command spelling.from lavague.server.driver import DriverServer; do not use stale lavague.drivers.driverserver snippets.../contexts-and-retrievers/ and pass it into WorldModel.from_context(context) and ActionEngine.from_context(context, driver).