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 分