产品

你的 AI Agent 应得的运行时

Alius专为在生产环境中运行 AI Agent 而构建。每个功能都旨在让 Agent 更可靠、更可观测、更可控。

随处安装

几秒钟即可上手。选择你喜欢的安装方式。

curl (macOS / Linux)

curl -fsSL https://alius.tech/install | sh

npm

npm i -g @alius-tech/alius

Homebrew

brew install alius
执行模型

Session · Run · Trace

三层执行模型是 Alius的核心。Session 提供持久化上下文,Run 执行结构化计划,Trace 记录每个细节。

  • 带有上下文持久化的有状态 Session 管理
  • 带有步骤级追踪的结构化计划执行
  • 每个 Agent 操作的完整审计追踪
// alius.config.toml
[session]
persist = true
max_runs = 100
[run]
timeout = "5m"
retry_on_failure = true
[trace]
level = "full"
export = ["json", "otel"]
LLM 提供商
OpenAI, Anthropic, 本地模型
工具接口
Shell, File, HTTP, 自定义
记忆接口
Context, Episodic, Semantic
协议接口

即插即用设计

协议接口将你的 Agent 逻辑与具体提供商解耦。切换 LLM 提供商、工具后端或记忆系统,无需更改 Agent 代码。

  • 与提供商无关的 LLM 集成
  • 可扩展的工具和能力系统
  • 支持自定义协议实现
安全

Shell Gate

并非每个操作都应该自主运行。Shell Gate 是人在环的安全层,要求对 Shell 命令、文件写入和网络请求等敏感操作进行明确审批。

  • 按操作类型的精细权限控制
  • 可信任操作的自动审批规则
  • 所有审批和拒绝的完整审计日志
shell gate
⚡ Shell Gate: Approval Required
Command: rm -rf /tmp/build-cache
Risk: MEDIUM
Agent: deploy-agent
✓ Approve ✗ Deny ⏳ Auto (5m)
3
Contexts
12
Episodes
47
Facts
ctx project-layout 2h ago
epi debug-auth-flow 1d ago
fac uses-postgres-15 3d ago
记忆系统

有记忆的 Agent

Alius Agent 通过三层记忆系统在会话间持久化知识:Context(工作记忆)、Episodic(经验记忆)和 Semantic(事实记忆)。

  • Context:每个 Session 的短期工作记忆
  • Episodic:从过去的 Run 中学习的经验
  • Semantic:提取的事实和知识库