Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SealGate

banner

Command-line interface for SealGate, the agentic data firewall

Key FeaturesArchitectureQuick StartAgent SkillsCredits

Rust Version GitHub repo size GitHub Actions Workflow Status


Key Features

sealg is a thin MCP client to the SealGate gateway: list and call forward tools/list / tools/call to the per-user gateway endpoint, where all policy and enforcement live.

Feature Tech Stack
Core engine crate - env-resolved gateway config + hand-rolled MCP client (no transport deps)
CLI sealg binary - list / call / doctor
Transport MCP Streamable HTTP to the gateway's /mcp/{api_key}/ endpoint
Logging tracing + redaction layer
Packaging cargo-dist (binaries + installers)
Package Manager Bun
Formatting Biome + cargo fmt

Architecture

        ┌──────────────────────────────────────────────────────────┐
        │  TRANSPORT  (crates/cli - one binary `sealg`)            │
        │                                                          │
        │   sealg list                         tools/list          │
        │   sealg call <tool> --args '{...}'   tools/call          │
        │   sealg doctor                       local env facts     │
        └───────────────────────────┬──────────────────────────────┘
                                    │  engine::gateway (MCP over HTTP)
        ┌───────────────────────────▼──────────────────────────────┐
        │  crates/engine  - the service core (no transport deps)   │
        │    GatewayConfig  - coordinates resolved from the env    │
        │    GatewayClient  - initialize / tools/list / tools/call │
        │    doctor / types - env facts + stable result contract   │
        └───────────────────────────┬──────────────────────────────┘
                                    │  HTTPS
        ┌───────────────────────────▼──────────────────────────────┐
        │  SealGate gateway  - per-user MCP endpoint; owns ALL     │
        │  policy, trifecta, and PII enforcement                   │
        └──────────────────────────────────────────────────────────┘
  • crates/engine/ - the gateway client + config, doctor env facts, and the shared result contract. No transport dependency.
  • crates/cli/ - the sealg binary. The cli surface (doctor) is a cargo feature.

Quick Start

# 1. Build + test the workspace
cargo build --workspace
cargo test --workspace

# 2. Point at a gateway and drive it (coordinates come from the environment)
export SEALGATE_URL=http://localhost:3000
cargo run -p sealg -- list
cargo run -p sealg -- call some_tool --args '{"query": "hello"}'

# ...or override the gateway per-invocation
cargo run -p sealg -- list --gateway-url https://dashboard.sealgate.ai

Agent Skills

Claude Code skills live in .claude/skills/. Invoke them with /skill-name (run /onboarding, /update-backend, /code-quality, /cleanup, and more).

Credits

This software uses the following tools:

About the Core Contributors

Made with contrib.rocks.

About

CLI interface for sealgate.ai

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages