OA

omnara-ai/omnara

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

3455 stars 质量 75 趋势 33Apache-2.0

开源的托管代理平台。Claude 托管代理和 OpenAI 代理 API 的自托管替代方案。

概览

Claude Managed Agents 和 OpenAI Agents API 的自托管替代方案。 网站 ·快速入门 ·文档 ·API ·更新日志 ·Discord Omnara 是一个开源的托管代理平台。使用该 API 在任何模型和机器上运行 AI 代理,内置工具、秘密、权限和流媒体功能。可免费托管 Apache 2.0,或使用 Omnara 云。 登录时请在 app.omnara.com。你的第一个项目会有一个模型提供者(omnara-openrouter)和一个托管沙箱池(default-pool),所以这个配置可以按原样运行。保存为agent.yaml: 用CLI启动(Node.js 22或更高版本)。如果你没登录,第一个命令会打开浏览器登录。 在你的终端与客服聊天,使用NPX Omnara Agents聊天,或在仪表盘中打开它观看其工具调用和回复。

概述(AI 翻译)

开源托管代理平台

Claude Managed Agents 和 OpenAI Agents API 的自托管替代方案。

网站 · 快速入门 · 文档 · API · 更新日志· Discord

Omnara 是一个开源的托管代理平台。使用 API 来运行 AI 代理 在任何型号和机器上,使用工具、秘密、权限和流媒体 内置的。你可以在Apache 2.0下免费自托管,或者使用 奥姆纳拉云。

快速开始

奥姆纳拉云

请在 app.omnara.com 签到。你的第一个项目来了 配备模型提供者(omnara-openrouter)和一个托管沙盒池 (default-pool),所以这个配置按原样运行。保存为agent.yaml:

用CLI(Node.js 22或更新版本)启动它。如果你没有登录,那 第一个命令打开浏览器登录。

在你的终端里与npx omnara agents chat 的客服聊天, 或者在仪表盘中打开它,观看其工具调用和回复。

用 TypeScript SDK 从你的代码启动它

在仪表盘创建一个API密钥,导出为OMNARA_TOKEN,安装 SDK,使用 npm install @omnara/sdk,并使用组织和项目 ID npx omnara config 打印:

快速启动显示了相同的流程,且

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

The open-source managed agent platform

The open-source, self-hostable alternative to Claude Managed Agents and OpenAI’s Agents API.

Website · Quickstart · Docs · API · Changelog · Discord

Omnara is an open-source managed agent platform. Use the API to run AI agents on any model and any machine, with tools, secrets, permissions, and streaming built in. Self-host it for free under Apache 2.0, or use Omnara Cloud.

Quickstart

Omnara Cloud

Sign in at app.omnara.com. Your first project comes with a model provider (omnara-openrouter) and a pool of managed sandboxes (default-pool), so this config runs as is. Save it as agent.yaml:

version: v1
instruction: |
  You are an engineering assistant. Use your machine to run commands.
model:
  provider_config: omnara-openrouter
  name: anthropic/claude-fable-5.2
machine_sources:
  - machine_pool_name: default-pool

Launch it with the CLI (Node.js 22 or newer). If you’re not logged in, the first command opens your browser to sign in.

npx omnara agents launch --file agent.yaml \
  --name "Machine assistant" \
  --message "Report this machine's operating system and free disk space."

Chat with the agent in your terminal with npx omnara agents chat , or open it in the dashboard to watch its tool calls and reply.

Create an API key in the dashboard and export it as OMNARA_TOKEN, install the SDK with npm install @omnara/sdk, and use the org and project IDs that npx omnara config prints:

import { readFile } from 'node:fs/promises'
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add omnara-ai/omnara
新手?先看 mcpskill.org 教程 →