Skip to main content
डेवलपर्स · OMAZY PLUGIN SDK

Omazy पर बनाएं। हर workspace का विस्तार करें।

Omazy Plugin SDK आपको MCP-संगत plugins शिप करने देता है जिन्हें Omazy पर कोई भी व्यवसाय install कर सकता है — अपने internal tools जोड़ने के लिए, AI agents के सामने private APIs उजागर करने के लिए, या ऐसे workflow automate करने के लिए जो stock integration से मेल नहीं खाते।

ओपन SDK · MCP-संगत · Stripe Connect बिल्ड
भाषाएं
Python · Node
Component प्रकार
11
लाइसेंस
Apache 2.0

दो दर्शक

एक SDK। दो कारण।

चाहे आप हजारों workspaces में plugin शिप कर रहे हों या अपने व्यवसाय के लिए एक निजी बना रहे हों — एक ही SDK, एक ही runtime।

डेवलपर / विक्रेता

Marketplace में plugin शिप करें

एक बार बनाएं। हर Omazy workspace ग्राहक बन जाता है। Omazy auth, billing, signing, rate limits संभालता है।

  • MCP-संगत: tool server शिप करें, custom protocol नहीं
  • Stripe Connect billing — flat, per-call, या tiered
  • OAuth, webhooks, syncs, hooks SDK में native
  • Vendor-hosted: आपका runtime, आपकी scaling, आपके secrets
प्रारंभिक एक्सेस प्राप्त करें
व्यवसाय operator

बिना rewrite के अपना workspace बढ़ाएं

पहले से Omazy पर हैं लेकिन इसे अपने in-house CRM, ERP, या internal API से बात करवानी है? कुछ दिनों में एक private plugin बनाएं।

  • Internal APIs को अपने AI agents के सामने सुरक्षित रूप से उजागर करें
  • Capability-scoped: agents केवल वही कर सकते हैं जो आप अनुमति देते हैं
  • Integration backlog छोड़ें — आपकी dev team मालिक है
  • Omazy trace store में audit trail
Solutions engineer से बात करें

PLUGIN ANATOMY

Plugin क्या register कर सकता है

ग्यारह component प्रकार। जिनकी ज़रूरत हो चुनें — Python module पर decorators से declare करें।

01

Tools

Functions जिन्हें AI agent call करता है: shopify.search_products, crm.lookup_account.

02

Resources

Read-only addressable data: shopify://products/{id}.

03

System prompts

Plugin active होने पर agent system prompt में जुड़ने वाले text fragments.

04

Webhooks

@plugin.on_webhook — downstream system या Omazy core की events पर react करें।

05

Syncs

Cron-driven reconcile jobs। Product catalog pull, inventory reindex।

06

Hooks

Lifecycle: on_install, on_uninstall, on_activate। OAuth provision, defaults लिखें।

07

Actions

Workspace UI में buttons: 'Sync now', 'Reconnect'।

08

Automation templates

Plugin के साथ शिप होने वाले pre-built RFC 2202 chains।

5-MINUTE QUICKSTART

शून्य से एक काम करता plugin

एक plugin scaffold करें, एक tool register करें, locally चलाएं, dev-omazy CLI से hit करें।

  1. 01

    Step 1

    नया plugin scaffold करें

    uv run omazy-plugin new my-plugin
  2. 02

    Step 2

    एक tool declare करें

    from omazy_plugin_sdk import Plugin
    
    plugin = Plugin(slug="my-plugin", version="1.0.0", scopes=["my-plugin:read"])
    
    @plugin.tool(
        name="my.search",
        description="Search the customer's catalog",
        billable_meter="tool_call",
    )
    async def search(ctx, query: str, limit: int = 5) -> dict:
        return {"results": [...] }
    
    app = plugin.fastapi()
  3. 03

    Step 3

    Locally चलाएं

    docker compose up dev-omazy
    uv run --package omazy-plugin-my-plugin uvicorn my_plugin.main:app --port 8082
  4. 04

    Step 4

    dev CLI से call करें

    uv run dev-omazy call \
      --target http://localhost:8082/tools/call \
      --tool my.search \
      --args '{"query":"hello"}'

प्रकाशन के लिए तैयार होने पर, listing omazy.com/marketplace/submit पर submit करें। समीक्षा ~3 कार्य-दिवस लेती है।

प्रारंभिक एक्सेस प्राप्त करें →

RUNTIME ARCHITECTURE

Plugin call कैसे flow होती है

Omazy हर request sign करता है, हर event record करता है, हर scope लागू करता है।

  1. 01

    Workspace agent एक tool call trigger करता है

    intent → harness tool चुनता है → call enqueue

  2. 02

    MCP gateway sign करता है और forward करता है

    Per-vendor key से sign किया JWT · scope check · rate limit

  3. 03

    Vendor plugin call को handle करता है

    आपकी FastAPI app · vendor-stored creds · JSON return

  4. 04

    Usage event record, response stream back

    Billing meter बढ़ता है · trace store · agent जारी

Vendor-hosted

आप plugin अपने infra पर चलाते हैं। Omazy कभी vendor code execute नहीं करता।

Cred isolation

Downstream OAuth tokens (Shopify, आदि) आपके storage में रहते हैं, Omazy के नहीं।

Replayable

हर call Omazy trace store में है — customer ticket से debug करें, सिर्फ अपने logs से नहीं।

TRUST + BILLING

Built-in safety, transparent revenue

हर call पर signed JWTs

हर Omazy → plugin request एक per-vendor key से sign किया JWT रखती है।

Capability-scoped

Agent केवल वही tools call कर सकता है जिन्हें workspace ने स्पष्ट रूप से allowlist किया है।

Stripe Connect बिलिंग

Omazy billing, taxes, refunds और payouts संभालता है। आपके connected Stripe account में मासिक transfer।

Rate limit + circuit breaker

Per-vendor rate limits और एक circuit breaker दोनों पक्षों की रक्षा करते हैं।

OPERATOR USE CASES

व्यवसाय वास्तव में जो बनाते हैं

Plugins केवल marketplace के लिए नहीं हैं। वही SDK private plugins को भी power करता है।

Internal API

अपनी private API को AI agents के सामने उजागर करें

अपने internal /orders, /customers endpoints को plugin के रूप में wrap करें।

Custom CRM

कुछ दिनों में homegrown CRM connect करें

Salesforce / HubSpot stock हैं। आपका in-house CRM नहीं। 200-line plugin बनाएं।

Workflow automation

वो workflow automate करें जो किसी और के पास नहीं

Insurance claim triage, multi-warehouse inventory routing, in-house compliance check।

प्रारंभिक एक्सेस · बीटा

Plugin SDK में प्रारंभिक एक्सेस प्राप्त करें

अपना ईमेल दें और बताएं आप क्या बनाना चाहते हैं। पहले 50 plugin authors के लिए हम vendor onboarding, signing keys, और SDK team से सीधा संपर्क fast-track करेंगे।

आप सूची में हैं।

जब आपका एक्सेस तैयार होगा, हम ईमेल करेंगे।

जमा करके, आप हमारी सहमति देते हैं गोपनीयता नीति.