Orion

io.github.GoPlasmatic由 GitHub 账号 GoPlasmatic 发布v1.1.0更新于 Oct 24, 2026

Build and operate declarative REST/Kafka services on Orion: 58 tools over the full admin API.

概览

AI 生成的概览

Orion 的 MCP 服务器开放 Orion 声明式服务运行时的管理 API,让助手起草、校验、部署并运维 REST/Kafka 服务。

可以做什么
通过管理 API 创建、校验、试运行、激活、按比例发布和回滚工作流、通道与连接器定义;草稿不承载流量,变更记入审计日志。管理把某个服务的定义打包在一起的 package,并让多个 package 在同一实例上并行运行。查看并操作运行时周边的基础设施,例如路由、入口防护、限流、重试、指标与追踪。对外暴露受治理的 HTTP 操作,供助手起草、试运行、激活和回滚。
适用场景
当你已运行 Orion 实例,并希望助手编写或运维其服务时使用:微服务与决策 API、Webhook 与数据接入服务、Kafka 消费者、定时任务,或基于 Orion 任务函数与 JSONLogic 的 AI 代理工具。它不是通用应用运行时,也不是持久化工作流引擎,长时间运行或需要任意代码的场景应另选运行时。
运行要求
在桌面机器上以本地进程运行(容器镜像 ghcr.io/goplasmatic/orion-cli,stdio 传输)。需要设置 ORION_SERVER_URL 环境变量指向要管理的 Orion 服务器;若服务器启用了管理认证,还需 ORION_API_KEY。Orion 服务器本身须已运行且可访问。
安装前请注意
该服务器管理完整的管理 API,助手因此可以创建、激活、发布和回滚线上服务并更改运行时配置。数据通道默认开放,除非声明认证或位于认证代理之后;部分生产控制项在本地开发下较为宽松或处于关闭状态,对外暴露实例前请先核对生产检查清单。API 密钥通过 ORION_API_KEY 以机密形式传入。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Orion,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[Orion logo]

Orion

Build services at AI speed on a consistent, governed foundation.

Define the business logic in JSON. Orion supplies the runtime around it.

[CI] [Crates.io] [License: Apache 2.0] [Rust] [Documentation] [GitHub Release]

Orion is a declarative services runtime. An Orion service consists of a workflow and a channel, with optional connectors to external systems. Post those definitions, activate them, and the service is live—without writing an application server, building a container for each service, or restarting the runtime.

Orion consistently handles the surrounding infrastructure: routing, ingress guards, rate limits, timeouts, retries, circuit breakers, connection pooling, version rollout, rollback, metrics, and tracing. Definitions can be written by a developer or proposed by an AI assistant; they follow the same draft, test, activation, and audit path.

[!NOTE] Orion is designed for request- and event-shaped work expressible as ordered task functions and JSONLogic. It is not a general-purpose application runtime or a durable workflow engine. See When Orion fits before choosing it for a project.

Quickstart

This tested path uses Docker, curl, and a POSIX-compatible shell. It starts a local Orion instance, deploys an order-processing workflow and channel, and calls the resulting API.

1. Start Orion

bash
docker run --name orion-quickstart -d -p 8080:8080 \  ghcr.io/goplasmatic/orion:latest
curl --retry 10 --retry-delay 1 --retry-connrefused \  http://localhost:8080/healthz

2. Inspect and deploy the example

bash
curl -fsSLo /tmp/orion-quickstart.sh \  https://raw.githubusercontent.com/GoPlasmatic/Orion/main/examples/quickstart.shless /tmp/orion-quickstart.shbash /tmp/orion-quickstart.sh

The script makes four administration calls: it creates and activates a workflow, then creates and activates its channel. It finishes with a test request and is safe to run again. From a cloned repository, run ./examples/quickstart.sh instead.

3. Call your service

bash
curl -fsS -X POST http://localhost:8080/api/v1/data/orders \  -H 'Content-Type: application/json' \  -d '{ "data": { "order_id": "ORD-0001", "total": 12500 } }'

The response contains the parsed order with "flagged": true. The workflow holds the business logic; the channel exposes it at POST /orders. Routing, validation, tracing, and lifecycle management are supplied by Orion.

For expected output, troubleshooting, Windows-friendly installation paths, and cleanup instructions, follow the complete quickstart.

The core model

mermaid
flowchart LR    Request["HTTP request, Kafka record, or schedule"] --> Channel    Channel["Channel<br/>route + ingress policy"] --> Workflow    Workflow["Workflow<br/>ordered business logic"] --> Connector    Connector["Connector<br/>external system"]    Workflow --> Response["Response or stored trace"]
PrimitivePurposeExample
ChannelReceives traffic and applies ingress policyPOST /orders, Kafka topic, 0 15 2 * * * order.placed
WorkflowRuns the business logic as an ordered task pipelineParse → validate → enrich → respond
ConnectorProvides a reusable connection to an external systemPostgreSQL, Redis, Kafka, REST API

The definitions belonging to one service can be shipped together as a package. One Orion instance can run many packages side by side, each with its own lifecycle and rollout.

How Orion works explains request execution, composition, deployment topology, and extension boundaries in one page.

What you can build

  • Microservice and decision APIs: expose transformations, validation, pricing, eligibility, and routing decisions over HTTP.
  • Webhook and data-ingestion services: normalize incoming payloads and read or write external systems through governed connectors.
  • Kafka consumers: process records, publish results, and route failed messages to a dead-letter topic.
  • AI-agent tools: expose governed HTTP operations that an assistant can draft, dry-run, activate, and roll back using the Orion CLI and agent skill.
  • Scheduled jobs: run a workflow on a cron expression instead of on a request, with every scheduled instant recorded as a durable occurrence.
  • Composable services: call another channel in-process with channel_call, while preserving the callee's guards and preventing cycles.

Choose a focused path in What are you building?, or deploy a tested package from examples/packages/.

Runtime capabilities

AreaIncluded capability
TrafficREST, plain HTTP, synchronous and asynchronous channels, Kafka ingress, cron schedules
SafetyPayload validation, API-key/HMAC/JWT channel auth, rate limiting, backpressure, CORS controls
ResilienceTimeouts, retries, circuit breakers, idempotency, response caching, dead-letter handling
DeliveryDrafts, immutable versions, dry-runs, percentage rollout, rollback, packages, WebAssembly plugins, ONNX models admitted before they serve
ObservabilityHealth and readiness endpoints, Prometheus metrics, structured logs, OpenTelemetry traces
DataPostgreSQL, MySQL, SQLite, MongoDB, Elasticsearch, Redis, Kafka, HTTP, SMTP, S3-compatible storage
OperationsEmbedded SQLite for one node; PostgreSQL/MySQL and Redis for clustered replicas

Configuration is explicit, and several production controls are permissive or disabled for local development. In particular, data channels are open unless they declare authentication or sit behind an authenticating proxy. Before exposing an instance, work through the production checklist.

Safe changes, including AI-generated ones

mermaid
flowchart LR    Author --> Draft --> Validate --> DryRun["Dry-run"] --> Activate --> Rollout --> Observe    Observe -->|problem| Rollback

Workflow, channel, and connector definitions use the same governed lifecycle regardless of who authored them. A draft serves no traffic. You can validate and dry-run it, approve the exact version, activate it without restarting the server, roll traffic out by percentage, and return to a previous immutable version. Administrative changes are recorded in the audit log.

For AI-assisted authoring, install the Orion agent skill or use the self-contained prompt pack. The Claude Code tutorial walks through a complete assisted workflow.

When Orion fits

Orion fits services whose work starts with an HTTP request or Kafka record, completes as a bounded pipeline, and can be expressed with Orion's task functions and JSONLogic. It is especially useful when many small services need the same operational and governance foundation.

Choose another runtime, or pair one with Orion, when:

  • work must survive restarts at an intermediate step or wait hours or days;
  • ingress requires gRPC, WebSockets, or streaming responses;
  • business logic requires arbitrary code with I/O, or a scripting runtime — a pure transformation ships as a sandboxed WebAssembly plugin, anything that has to reach another system does not;
  • image processing, GPU-class inference, or large in-memory joins sit on the hot path — a small ONNX graph runs in-process as a governed model, a large one does not; or
  • full OIDC flows or mutual TLS must terminate inside the data plane. JWT verification is built in; those flows require a gateway or service mesh.

Read Is Orion right for you? for detailed comparisons with durable execution engines, API gateways, automation platforms, rule engines, and embedded dataflow-rs.

Install

The current workspace release is 1.12.0 and requires Rust 1.98 when built from source. The server and CLI are released in lockstep; use matching versions.

bash
# Homebrew: macOS Apple Silicon and Linuxbrew install GoPlasmatic/tap/orion-serverbrew install GoPlasmatic/tap/orion-cli
# Server from sourcecargo install --git https://github.com/GoPlasmatic/Orion --locked orion-server
# Server and CLI from sourcecargo install --git https://github.com/GoPlasmatic/Orion --locked \  orion-server orion-cli

Release installers are also available for Linux, macOS Apple Silicon, and Windows. See Install & Run for every method, platform support, startup, and verification.

Useful local commands:

bash
orion-server validate-config -c config.tomlorion-server fmt ./definitionsorion-server lint workflow.jsonorion-server clippy ./definitionsorion-server dry-run -w workflow.json -i input.jsonorion-server test examples/workflow-testsorion-server compile ./definitions -o package.jsonorion-server package apply -s http://localhost:8080 -f package.json

The server command reference and Orion CLI reference list all commands and flags.

Performance

The published Orion 1.0.0 benchmark measured 5.1K–5.7K workflow requests per second on one Apple M2 Pro instance, with single-digit-millisecond average latency across the recorded workflow scenarios. These are release- and workload-specific results, not capacity guarantees. Review the benchmark record for hardware, scenarios, tail latency, cluster results, and reproduction steps.

Documentation

The full manual is at docs.goplasmatic.io.

GoalStart here
Try OrionQuickstart
Understand the modelHow Orion works
Build a complete serviceOrders API golden path
Find an exact schemaReference index
Deploy and operateOperate Orion
Secure productionProduction checklist
Upgrade safelyUpgrades
Check compatibilitySupport & compatibility

The documentation source lives in docs/src/. Edit that directory, not the generated docs/book/ output. See docs/STYLE_GUIDE.md for its structure and editorial conventions.

Project and community

Orion is built by Plasmatic and released under the Apache License 2.0.

来源:README.md,提交 9ff9b95

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.1.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分