Skip to main content

Agent

An Agent is an LLM system that includes memory, tools, and personality. The default option in the current version is basic_memory_agent.

Agent-related settings are under agent_config in conf.yaml.

Basic Memory Agent

Basic Memory Agent is the project's default, featuring short-term memory, conversation record storage/switching, and other capabilities.

basic_memory_agent:
# Basic AI agent, nothing special.
# Choose an LLM provider from llm_config
# and set the required parameters in the corresponding field
# Currently only openai_compatible_llm is supported
llm_provider: "openai_compatible_llm" # LLM solution used
# Whether to generate audio immediately upon encountering a comma in the first response to reduce initial delay (default: True)
faster_first_response: True

You can switch between different large language model backends by modifying llm_provider. The specific configuration items for each large language model (such as model selection, API Key, etc.) are located under the llm_configs configuration block.

For detailed configuration instructions for each large language model, please refer to Large Language Model Configuration.