animecode
v0.1.0
Published
animecode —— 前端无关的 AI coding agent CLI(TUI)。多 provider、工具、权限、会话与守护进程。
Maintainers
Readme
animecode
前端无关的 AI coding agent,终端界面(TUI)。多 provider、工具调用、权限门、会话持久化与守护进程,可接入 MCP。
安装
npm install -g animecode装好后命令名是 animecode(也提供别名 agentx):
animecode --version
animecode --list-providers # 查看内置 provider 与凭证状态
animecode --list-models # 查看内置模型目录(含免费/本地)使用
# 零网络调试(无需 API key,离线流式 echo + 真实工具链路)
animecode --model debug/demo
# Anthropic
export ANTHROPIC_API_KEY=...
animecode --model anthropic/<model-id>
# 任意 OpenAI 兼容端点 / 本地模型
animecode --model openai/<model-id>
animecode --model ollama/qwen3TUI 内命令:/model 选模型 · /sessions 列会话 · /resume <id> 续接 · /new [标题] · /help。
运行中 Enter 追加指令、Esc 中断;授权提示 y 允许 / a 允许并记住 / n 拒绝。
说明
本包是自包含产物:core / shared / TUI 的源码已打包进单个 dist/cli.js,
运行时仅依赖 ink / react / @anthropic-ai/sdk / openai。需要 Node ≥ 18。
源码与完整文档:https://github.com/anton6202527/agentx
