Skip to content

SakuttoWorks/agent-commerce-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏴‍☠️ Agent-Commerce-Gateway (Edge Layer)

Status Platform License Compliance

High-performance MCP-SSE proxy and Data Normalization Layer for Project GHOST SHIP.

Agent-Commerce-Gateway is the secure "Edge Layer" (Layer A) of the Project GHOST SHIP infrastructure. Running on Cloudflare Workers, it acts as the protocol translator and governance point that converts raw web data into LLM-optimized Markdown and structured JSON.


🛡️ Role in Infrastructure

We employ a Zero-Trust Hybrid Architecture to ensure speed, security, and scalability.

graph LR
    A[🤖 AI Agent] -->|MCP Protocol| B(Layer A: Edge Gateway)
    B -->|Auth & Quota| P{Polar.sh}
    B -->|Sanitized Request| C[Layer B: Core Engine]
    C -->|Fetch| W[🌐 Public Web]
    C -->|Normalize| G[Gemini 3 Flash]
    G -->|Clean Markdown| A
Loading
  • Protocol Routing: Aggregates MCP-over-SSE and REST requests into a unified stream.
  • Data Normalization: Filters out web noise (ads, tracking) before data reaches the agent.
  • API Governance: Manages usage quotas via Polar.sh (Metered Billing).

🛠️ Tech Stack (Edge Specifications)

  • Runtime: Cloudflare Workers (TypeScript)
  • Framework: Hono - Fast, lightweight web standard.
  • Protocol: MCP (Model Context Protocol) over SSE.
  • Security: Strict CORS & Headers (X-Internal-Secret) for Layer B communication.

⚡ Quick Start

Install dependencies

npm install

Local development

npm run dev

Deploy to production

npx wrangler deploy --env production

🤖 Discovery for Agents


⚖️ Legal & Compliance

This service is a pure data processing infrastructure, NOT an advisory service.
Please read our LEGAL.md carefully.

  • We do NOT provide analytical predictions, automated decision-making, or specialized advisory.
  • We do NOT maintain proprietary databases or closed-source intelligence feeds.
  • The "Commerce" in our name refers strictly to our API Metered Billing Infrastructure for developers.

🔗 Architecture Links

  • agent-commerce-core - The Normalization Engine (Layer B).
  • Polar.sh - Subscription & Quota Management.

© 2026 Sakutto Works - Enabling Secure Data Governance for AI.

About

Secure Edge Proxy and Governance Layer for Project GHOST SHIP. Handles request sanitization, protocol routing (MCP-SSE), and API quota management.

Topics

Resources

License

Stars

Watchers

Forks

Contributors