# xagent **Repository Path**: xinligg/xagent ## Basic Information - **Project Name**: xagent - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-04-22 - **Last Updated**: 2026-04-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # XAgent 模块化 C++ AI Agent 框架,支持 Function Calling 工具调用、多 LLM 提供商和 Skill 技能插件系统。 ## 快速开始 ```bash # 安装依赖 sudo apt install libcurl4-openssl-dev libreadline-dev # 构建 mkdir build && cd build cmake .. -DCMAKE_BUILD_TYPE=Release cmake --build . # 运行 export OPENAI_API_KEY=sk-your-key ./xagent ``` ## 功能 - **多 LLM**: OpenAI / DeepSeek / Anthropic / Ollama - **Function Calling**: 内置文件读写、搜索、命令执行等工具 - **交互式 REPL**: `/connect` 热切换 LLM,↑/↓ 历史命令 - **配置持久化**: 运行时修改退出自动保存到 `~/.config/xagent/config.json` - **Skill 技能系统**: 基于 Markdown 的提示词插件 - **MCP 客户端**: 支持 STDIO/HTTP 模式连接 MCP 服务器 详细文档见 [docs/user_guide.md](docs/user_guide.md)。