Skip to content

About

Shared APIs and integrations for building on Moguri.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Moguri SDK

License: MIT Platform: macOS arm64 Status: alpha

@moguri-dev/sdk is the shared foundation of Moguri, a model-agnostic AI harness for engineering work. It contains the typed SDK, the local control-plane service that owns every session, and the service's model, tool, MCP, terminal, document and SSH workers. The Moguri desktop app and terminal UI are clients of this package.

Note

This is an alpha for macOS on Apple silicon (Node.js 26). The source, releases and package are public. GitHub Packages still needs a token to install any npm package, and nothing is on npmjs yet.

Install

The package lives on the GitHub Packages npm registry, which always needs a classic token with read:packages:

echo "@moguri-dev:registry=https://npm.pkg.github.com" >> .npmrc
npm install --save-exact @moguri-dev/sdk@0.32.0

Put the token in your user ~/.npmrc (//npm.pkg.github.com/:_authToken=...) or NODE_AUTH_TOKEN, never in a committed file.

Use

import { MoguriSdk } from "@moguri-dev/sdk";            // browser-safe client
import { connectMoguri, createRuntime } from "@moguri-dev/sdk/node";
import { useMoguri } from "@moguri-dev/sdk/react";       // optional React bindings
import { createGatewayMcpServer } from "@moguri-dev/sdk/mcp";

SSH hosts run the versioned worker bridge with the moguri-worker command (moguri-worker --stdio). The SDK reference documents every API.

Documentation

Contributing, security and license

See CONTRIBUTING.md, SECURITY.md and the Code of Conduct. Moguri's own code is MIT licensed (LICENSE.md); bundled third-party code keeps its own licenses, listed in dist/THIRD_PARTY_NOTICES.md.

About

Shared APIs and integrations for building on Moguri.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages