workforce-workflows
Guides OWL Workforce and CAMEL multi-agent workflows, provider selection, model configuration, worker/tool composition, and safe task execution planning.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- workforce-workflows
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Guides OWL Workforce and CAMEL multi-agent workflows, provider selection, model configuration, worker/tool composition, and safe task execution planning.
- disable-model-invocation
- true
02 资源文件 6
- 参考文档references/provider-recipes.md3.4 KB
- 参考文档references/role-playing-api.md2.9 KB
- 参考文档references/toolkit-composition.md2.9 KB
- 参考文档references/troubleshooting.md2.5 KB
- 脚本scripts/scaffold_workforce.py2.0 KB
- 脚本scripts/validate_provider_config.py3.0 KB
03 SKILL.md 正文
OWL Workforce Workflows
Use this route when the task is to configure or run OWL's hierarchical CAMEL Workforce, select a remote model provider, assemble specialist workers, or understand the custom role-playing loop. It covers the provider-backed runtime; it does not claim that a model call or browser session is available.
Start here
- Install OWL in an isolated Python 3.10–3.12 environment and run the root environment check before constructing a model.
- Choose one provider in provider-recipes.md. Keep provider credentials separate from optional search, crawling, or document-service credentials.
- Validate a non-secret environment file with
validate_provider_config.py before
calling CAMEL's
ModelFactory. - Read toolkit-composition.md when the task needs browser, search, code, spreadsheet, file, image, or document tools.
- Use scaffold_workforce.py when a safe, non-executing configuration skeleton is more useful than copying a credentialed example.
- Build the Workforce and pass a
camel.tasks.Taskcontaining the complete user request. Use role-playing-api.md only when the task needs OWL's custom two-agent loop or GAIA mode.
Canonical workflow
- Create provider-specific model backends with
camel.models.ModelFactory. - Construct specialist models for web, document, reasoning, image, browsing, and planning roles as needed. A model that cannot call tools is not a valid substitute for a tool-intensive worker.
- Create toolkit instances, wrap individual methods with
FunctionToolwhen required, and add toolkit tools to the appropriateChatAgent. - Add worker agents to a
camel.societies.Workforcewith descriptions that make their boundaries discoverable. Add a task and callworkforce.process_task. - Pass a user question as the first command-line argument to a provider example
rather than editing a credential into code. For a reusable starting point,
generate a non-executing skeleton with
scaffold_workforce.py. - For local files, route document-specific behavior to document-processing. For the Gradio front end or Docker, route to web-ui-and-deployment.
Safety and limits
Remote provider calls, search, Firecrawl, browser automation, and code
execution can incur cost or perform external side effects. Confirm credentials,
network access, browser policy, and output paths before execution. Keep
CodeExecutionToolkit in its intended sandbox and do not expose unrestricted
file or terminal tools to untrusted tasks. A CPU import check proves only that
OWL and CAMEL import; it does not prove provider tool calling or multimodal
quality.
Read troubleshooting.md when import errors, missing keys, endpoint failures, stale example names, or tool capability mismatches appear. The source examples are evidence for this skill, not files a future agent must reopen or execute from the original checkout.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).