Overview
Agents
- Camel.agents. types
- Camel.agents. utils
- Camel.agents.base
- Camel.agents.chat agent
- Camel.agents.critic agent
- Camel.agents.deductive reasoner agent
- Camel.agents.embodied agent
- Camel.agents.knowledge graph agent
- Camel.agents.mcp agent
- Camel.agents.programmed agent instruction
- Camel.agents.repo agent
- Camel.agents.role assignment agent
- Camel.agents.search agent
- Camel.agents.task agent
- Camel.agents.tool agents.base
- Camel.agents.tool agents.hugging face tool agent
Configs
- Camel.configs.aiml config
- Camel.configs.anthropic config
- Camel.configs.base config
- Camel.configs.bedrock config
- Camel.configs.cohere config
- Camel.configs.deepseek config
- Camel.configs.gemini config
- Camel.configs.groq config
- Camel.configs.internlm config
- Camel.configs.litellm config
- Camel.configs.lmstudio config
- Camel.configs.mistral config
- Camel.configs.modelscope config
- Camel.configs.moonshot config
- Camel.configs.netmind config
- Camel.configs.novita config
- Camel.configs.nvidia config
- Camel.configs.ollama config
- Camel.configs.openai config
- Camel.configs.openrouter config
- Camel.configs.ppio config
- Camel.configs.qwen config
- Camel.configs.reka config
- Camel.configs.samba config
- Camel.configs.sglang config
- Camel.configs.siliconflow config
- Camel.configs.togetherai config
- Camel.configs.vllm config
- Camel.configs.watsonx config
- Camel.configs.yi config
- Camel.configs.zhipuai config
Data Generation
- Camel.datagen.cot datagen
- Camel.datagen.self improving cot
- Camel.datagen.evol instruct.evol instruct
- Camel.datagen.evol instruct.scorer
- Camel.datagen.evol instruct.templates
- Camel.datagen.self instruct.self instruct
- Camel.datagen.source2synth.data processor
- Camel.datagen.source2synth.models
- Camel.datagen.source2synth.user data processor config
Datasets
Embeddings
- Camel.embeddings.azure embedding
- Camel.embeddings.base
- Camel.embeddings.gemini embedding
- Camel.embeddings.jina embedding
- Camel.embeddings.mistral embedding
- Camel.embeddings.openai compatible embedding
- Camel.embeddings.openai embedding
- Camel.embeddings.sentence transformers embeddings
- Camel.embeddings.together embedding
- Camel.embeddings.vlm embedding
Models
- Camel.models. utils
- Camel.models.aiml model
- Camel.models.anthropic model
- Camel.models.aws bedrock model
- Camel.models.azure openai model
- Camel.models.base audio model
- Camel.models.base model
- Camel.models.cohere model
- Camel.models.deepseek model
- Camel.models.fish audio model
- Camel.models.gemini model
- Camel.models.groq model
- Camel.models.internlm model
- Camel.models.litellm model
- Camel.models.lmstudio model
- Camel.models.mistral model
- Camel.models.model factory
- Camel.models.model manager
- Camel.models.modelscope model
- Camel.models.moonshot model
- Camel.models.nemotron model
- Camel.models.netmind model
- Camel.models.novita model
- Camel.models.nvidia model
- Camel.models.ollama model
- Camel.models.openai audio models
- Camel.models.openai compatible model
- Camel.models.openai model
- Camel.models.openrouter model
- Camel.models.ppio model
- Camel.models.qwen model
- Camel.models.reka model
- Camel.models.samba model
- Camel.models.sglang model
- Camel.models.siliconflow model
- Camel.models.stub model
- Camel.models.togetherai model
- Camel.models.vllm model
- Camel.models.volcano model
- Camel.models.watsonx model
- Camel.models.yi model
- Camel.models.zhipuai model
- Camel.models.reward.base reward model
- Camel.models.reward.evaluator
- Camel.models.reward.nemotron model
- Camel.models.reward.skywork model
Interpreters
Memory
Messages
Prompts
- Camel.prompts.ai society
- Camel.prompts.base
- Camel.prompts.code
- Camel.prompts.evaluation
- Camel.prompts.generate text embedding data
- Camel.prompts.image craft
- Camel.prompts.misalignment
- Camel.prompts.persona hub
- Camel.prompts.prompt templates
- Camel.prompts.role description prompt template
- Camel.prompts.solution extraction
- Camel.prompts.task prompt template
- Camel.prompts.translation
- Camel.prompts.video description prompt
Responses
Retrievers
Societies
- Camel.societies.babyagi playing
- Camel.societies.role playing
- Camel.societies.workforce.base
- Camel.societies.workforce.role playing worker
- Camel.societies.workforce.single agent worker
- Camel.societies.workforce.task channel
- Camel.societies.workforce.utils
- Camel.societies.workforce.worker
- Camel.societies.workforce.workforce
Storage
- Camel.storages.graph storages.base
- Camel.storages.graph storages.graph element
- Camel.storages.graph storages.nebula graph
- Camel.storages.graph storages.neo4j graph
- Camel.storages.key value storages.base
- Camel.storages.key value storages.in memory
- Camel.storages.key value storages.json
- Camel.storages.key value storages.mem0 cloud
- Camel.storages.key value storages.redis
- Camel.storages.object storages.amazon s3
- Camel.storages.object storages.azure blob
- Camel.storages.object storages.base
- Camel.storages.object storages.google cloud
- Camel.storages.vectordb storages.base
- Camel.storages.vectordb storages.faiss
- Camel.storages.vectordb storages.milvus
- Camel.storages.vectordb storages.oceanbase
- Camel.storages.vectordb storages.qdrant
- Camel.storages.vectordb storages.tidb
Tasks
Terminators
Toolkits
- Camel.toolkits.aci toolkit
- Camel.toolkits.arxiv toolkit
- Camel.toolkits.ask news toolkit
- Camel.toolkits.async browser toolkit
- Camel.toolkits.audio analysis toolkit
- Camel.toolkits.base
- Camel.toolkits.bohrium toolkit
- Camel.toolkits.browser toolkit
- Camel.toolkits.browser toolkit commons
- Camel.toolkits.code execution
- Camel.toolkits.dalle toolkit
- Camel.toolkits.dappier toolkit
- Camel.toolkits.data commons toolkit
- Camel.toolkits.excel toolkit
- Camel.toolkits.file write toolkit
- Camel.toolkits.function tool
- Camel.toolkits.github toolkit
- Camel.toolkits.google calendar toolkit
- Camel.toolkits.google maps toolkit
- Camel.toolkits.google scholar toolkit
- Camel.toolkits.human toolkit
- Camel.toolkits.image analysis toolkit
- Camel.toolkits.jina reranker toolkit
- Camel.toolkits.klavis toolkit
- Camel.toolkits.linkedin toolkit
- Camel.toolkits.math toolkit
- Camel.toolkits.mcp toolkit
- Camel.toolkits.memory toolkit
- Camel.toolkits.meshy toolkit
- Camel.toolkits.mineru toolkit
- Camel.toolkits.networkx toolkit
- Camel.toolkits.notion toolkit
- Camel.toolkits.open api toolkit
- Camel.toolkits.openai agent toolkit
- Camel.toolkits.openbb toolkit
- Camel.toolkits.playwright mcp toolkit
- Camel.toolkits.pptx toolkit
- Camel.toolkits.pubmed toolkit
- Camel.toolkits.pulse mcp search toolkit
- Camel.toolkits.pyautogui toolkit
- Camel.toolkits.reddit toolkit
- Camel.toolkits.retrieval toolkit
- Camel.toolkits.search toolkit
- Camel.toolkits.searxng toolkit
- Camel.toolkits.semantic scholar toolkit
- Camel.toolkits.slack toolkit
- Camel.toolkits.stripe toolkit
- Camel.toolkits.sympy toolkit
- Camel.toolkits.terminal toolkit
- Camel.toolkits.thinking toolkit
- Camel.toolkits.twitter toolkit
- Camel.toolkits.video analysis toolkit
- Camel.toolkits.video download toolkit
- Camel.toolkits.weather toolkit
- Camel.toolkits.whatsapp toolkit
- Camel.toolkits.wolfram alpha toolkit
- Camel.toolkits.zapier toolkit
Types
Verifiers
Bots
Runtime
Utilities
Environments
Benchmarks
Data Collector
Loaders
- Camel.loaders.apify reader
- Camel.loaders.base io
- Camel.loaders.chunkr reader
- Camel.loaders.crawl4ai reader
- Camel.loaders.firecrawl reader
- Camel.loaders.jina url reader
- Camel.loaders.markitdown
- Camel.loaders.mineru extractor
- Camel.loaders.mistral reader
- Camel.loaders.pandas reader
- Camel.loaders.scrapegraph reader
- Camel.loaders.unstructured io
Agents
Camel.agents. utils
generate_tool_prompt
def generate_tool_prompt(tool_schema_list: List[Dict[str, Any]]):
Returns:
str: A string representing the tool prompt.
extract_tool_call
def extract_tool_call(content: str):
Extract the tool call from the model response, if present.
Parameters:
- response (Any): The model’s response object.
Returns:
Optional[Dict[str, Any]]: The parsed tool call if present, otherwise None.
safe_model_dump
def safe_model_dump(obj):
Safely dump a Pydantic model to a dictionary.
This method attempts to use the model_dump
method if available,
otherwise it falls back to the dict
method.
convert_to_function_tool
def convert_to_function_tool(tool: Union[FunctionTool, Callable]):
Convert a tool to a FunctionTool from Callable.
convert_to_schema
def convert_to_schema(tool: Union[FunctionTool, Callable, Dict[str, Any]]):
Convert a tool to a schema from Callable or FunctionTool.
get_info_dict
def get_info_dict(
session_id: Optional[str],
usage: Optional[Dict[str, int]],
termination_reasons: List[str],
num_tokens: int,
tool_calls: List[ToolCallingRecord],
external_tool_call_requests: Optional[List[ToolCallRequest]] = None
):
Returns a dictionary containing information about the chat session.
Parameters:
- session_id (str, optional): The ID of the chat session.
- usage (Dict[str, int], optional): Information about the usage of the LLM.
- termination_reasons (List[str]): The reasons for the termination of the chat session.
- num_tokens (int): The number of tokens used in the chat session.
- tool_calls (List[ToolCallingRecord]): The list of function calling records, containing the information of called tools.
- external_tool_call_requests (Optional[List[ToolCallRequest]]): The requests for external tool calls.
Returns:
Dict[str, Any]: The chat session information.
handle_logprobs
def handle_logprobs(choice: Choice):
Assistant
Responses are generated using AI and may contain mistakes.