camel-ai
Use CAMEL-AI to build, configure, tool, remember, evaluate, and troubleshoot multi-agent Python systems with self-contained routing across agents, models, tools, RAG, and evaluation workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- camel-ai
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use CAMEL-AI to build, configure, tool, remember, evaluate, and troubleshoot multi-agent Python systems with self-contained routing across agents, models, tools, RAG, and evaluation workflows.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/package-overview.md2.3 KB
- 参考文档references/repo-provenance.md1.5 KB
- 参考文档references/repo-routing-metadata.json480 B
- 参考文档references/troubleshooting.md2.6 KB
- 脚本scripts/inspect_camel_install.py3.2 KB
03 SKILL.md 正文
CAMEL-AI Repo Skill
Use this repo skill when a task mentions CAMEL-AI, camel-ai, the camel Python package, ChatAgent, RolePlaying, Workforce, CAMEL toolkits, CAMEL model backends, CAMEL memory/RAG, or CAMEL benchmark/datagen/evaluation workflows.
First Checks
- Install the base package with
pip install camel-aifor core agents, models, messages, tools, and package imports. - Install only the optional extras needed for the chosen workflow, such as
camel-ai[model_platforms],camel-ai[rag],camel-ai[storage],camel-ai[document_tools],camel-ai[web_tools], orcamel-ai[dev_tools]. - Run scripts/inspect_camel_install.py for a no-network import, version, and route check.
- Read references/troubleshooting.md before installing broad extras, debugging provider credentials, or running network/Docker/browser/benchmark workflows.
Route By Task
| Task or signal | Read |
|---|---|
Build a ChatAgent, system/user/assistant messages, task tree, role-playing society, or Workforce |
sub-skills/agents-and-societies/SKILL.md |
Configure model providers, ModelFactory, ModelManager, provider enums, local/OpenAI-compatible endpoints, structured output, audio, or multimodal models |
sub-skills/models-and-configuration/SKILL.md |
Attach FunctionTool, built-in toolkits, MCP/OpenAPI tools, code execution, interpreters, runtimes, browser/Docker/terminal tools, or CAMEL services |
sub-skills/tools-runtimes-and-services/SKILL.md |
| Add memory, retrieval/RAG, embeddings, vector/key-value/object/graph stores, loaders, datahubs, or datasets | sub-skills/memory-rag-and-data/SKILL.md |
| Generate synthetic data, use data collectors, run verifiers/environments, or plan CAMEL benchmarks | sub-skills/datagen-evaluation-and-benchmarks/SKILL.md |
Cross-Cutting References
- references/package-overview.md summarizes package surfaces, optional extras, and support modules such as prompts, personas, schemas, responses, caches, parsers, configs, and utilities.
- references/troubleshooting.md covers install/import failures, optional dependencies, credentials, data/config validation, and workflow-specific escalation.
- references/repo-provenance.md records the source commit, package version, evidence paths, and dirty-state baseline used to create this skill.
- references/repo-routing-metadata.json is structured metadata for the managed
repo-skills-routerimport process.
Safety And Scope
- Start with credential-free inspection scripts and constructor/signature checks before calling models, services, datasets, browsers, Docker, or remote vector stores.
- Do not install
camel-ai[all]by default in automated environments; select extras by workflow to avoid heavyweight or unsupported optional dependencies. - Treat source examples and native tests as evidence; this skill is self-contained and does not require the original repository checkout at runtime.
- Keep API keys, service URLs with secrets, OAuth tokens, model credentials, and local data paths outside generated prompts and skill files.
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).