We use analytics and marketing cookies to understand how Grip OS is discovered and used. No data leaves your device without consent. Cookie Policy

Back to Grip OSDeveloper Reference

Architecture & Framework

Four tiers. 19 Swift modules. 100+ MCP tools.

Grip OS is organized into four dependency tiers — from the upstream OpenClaw gateway through infrastructure, framework, and application layers. The core framework, GriposSwift, provides 19 SPM modules for building AI agents in Swift 6.2 with strict concurrency.

Architecture

Four-tier dependency model

Each tier depends only on the tier above it. Applications never reach past their immediate dependencies.

UpstreamRead-only upstream dependencies
openclaw/openclaw
Gateway, multi-channel AI assistant
mattt/AnyLanguageModel
LLM provider abstraction (v0.6.0)
@modelcontextprotocol/sdk
MCP standard (^1.26.0)
InfrastructureFleet, security, and routing
gripos-fleet
Fleet monorepo (submodules + addons)
gripos-sentinel
Security policy enforcement
gripos-brace
Unified proxy routing (:9000)
FrameworkCore Swift framework and data layer
gripos-swift
19 Swift modules (AI agents + fleet integration)
gripos-control
Mission Control data layer + UI
gripos-kernel
Platform daemon (always-on shared services)
ApplicationsEnd-user macOS applications
gripos-station
macOS operator workstation (menu bar app)
gripos-mail
Native macOS AI email client
gripos.dev
Marketing site
GriposSwift

19 modules. One SPM package.

A production-grade Swift AI agent framework aligned with @mastra/core@1.9.0. Built on AnyLanguageModel for provider-agnostic LLM integration.

SPM Install
.package(url: "https://github.com/nelsojona/gripos-swift", from: "0.1.0")
Phase 1: Core FrameworkFully Implemented
MastraCoreCentral registry, config, model provider, errors, logging
MastraStorageKey-value storage, filesystem lifecycle, per-file write locking
MastraToolsTool protocol, registry, ToolProvider, built-in task tools
MastraObservabilityDistributed tracing (protocol stubs)
MastraVoiceTTS/STT provider protocols (stubs)
MastraEvalsScorers, Datasets, Experiments, ExperimentRunner
MastraRAGDocument chunking, embedding, vector store, RAG pipeline
MastraMemoryConversation memory (in-memory + storage-backed)
MastraMCPMCP client + MCPConfigStore for persisted server configs
MastraAgentAI agent with ReAct loop, tool selection, security policy
MastraWorkflowWorkflow engine — sequential, parallel, branch, loop steps
Phase 2: GatewayProtocol Stubs
GriposGatewayKitGateway WebSocket client protocol, frame types
GriposNodeKitNode identity, capability gate, command registry
Phase 3: MCP BridgeProtocol Stubs
GriposMCPKitGripos-specific MCP client, safety gate
MastraGriposBridgeUnified tool adapter between MCP and Mastra
Phase 4: Fleet ManagementFully Implemented
GriposFleetKitFleet client protocol, host/exec result models
GriposFleetMCPAdapterFleet operations as MCP tools
MastraFleetToolsPolicy-gated fleet tools for agents
MastraStarterAgentsPre-configured agents (GatewayOps, FleetOps, MemoryOps, EmailOps)
Brace Proxy

Unified ingress at :9000

A single port that routes to all backend services and bridges stdio MCP servers to HTTP/SSE. 100+ MCP tools across 7 servers.

RouteTargetProtocol
/griposGateway :18789WebSocket
/fleetFleet Gateway :18800WebSocket
/canvas/*Canvas :18793HTTP
/mcp/menubargripos-mcp (stdio)MCP bridge
/mcp/filesystemfilesystem serverMCP bridge
/mcp/githubGitHub MCPMCP bridge
/mcp/playwrightPlaywright MCPMCP bridge
/mcp/context7Context7 docsMCP bridge
/mcp/serenaSemantic codingMCP bridge
/mcp/sentryError trackingMCP bridge
7 MCP servers bridged — 117 total tools. Auth: Bearer token on all routes except /health.

Explore the product suite