关于这个工具
CodexA 是一款开发者智能引擎,专注于语义代码搜索、AI 辅助理解和工作区工具。它面向开发者以及 AI 编码助手用户,提供 CLI、HTTP 和 MCP 三种集成方式,使 AI 代理能够调用其 13 个结构化工具。
核心能力
- 语义代码搜索:通过自然语言查询代码库,快速定位相关代码。
- AI 代理工具集成:通过 MCP、HTTP 桥接或 CLI 与 Copilot、Claude、Cursor 等 AI 编码助手集成。
- 多轮代码调查:支持多轮对话和调查链,深入理解代码逻辑。
- 代码库分析:提供调用图、依赖映射、质量指标和影响分析。
- AI 代码审查:自动审查代码变更,识别潜在问题。
使用方式
CodexA 提供 39 个 CLI 命令、13 个 AI 代理工具和 22 个插件钩子。您可以通过 codexa ask 提问、codexa chat 进行多轮对话、codexa review 执行 AI 代码审查。MCP 模式通过 codexa mcp --path /your/project 启动,所有 13 个工具均以 MCP 工具形式暴露。
配置要求
AI 驱动的分析需要配置 LLM 提供商,支持 openai、ollama(本地)和 mock(测试)。首次使用需运行 codexa init 初始化项目,codexa doctor 检查环境健康。
功能与使用场景
* llm Configure the LLM provider for AI-powered commands*"])incrementalbooltrueOnly re-index changed files You can also create a0 Benchmark-backed performance work and native integration0 Reliability, integration contracts, and critical-path testing0 Tool schemas: Auto-generated from CodexA's tool definitions Error handling: Typed errors with machine-readable codes Requirements The MCP SDK (mcp) is an optional dependency1:24842/tools/invoke \ -H "Content-Type: application/json" \ -d '{"tool_name": "semantic_search", "arguments": {"query": "auth"}}' # List tools curl http://1271:24842/tools/invoke directly1:24842/tools/list # SSE event stream curl http://1271:24842/tools/stream MCP (Model Context Protocol) bashcodexa mcp --path /your/project All 13 tools are exposed as MCP tools with proper schemas13 structured tools for AI agents2, "max_tokens": 2048 } } Supported providers: openai, ollama (local), mock (testing)39 CLI commands, 13 AI agent tools, 22 plugin hooks
快速事实
提供公开 API
集成与连接
GitHub