Search by

melaya / sdk

melaya-labs

Official SDK for Melaya Agent Builder and Mobile Device Control. Includes preview Melaya Trading namespaces that are not yet generally available.

Package info

github.com/melaya-labs/melaya

Homepage

Documentation

Language:Python

pkg:composer/melaya/sdk

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 7

Open Issues: 28

v0.4.0 2026-09-28 19:38 UTC

This package is auto-updated.

Last update: 2026-10-16 16:56:18 UTC


README

Melaya

Governed AI agents that actually do the work

Melaya is a governed platform for AI agents that do real work — in the cloud or on your own machine — across your business systems, your browser, and real mobile apps.

Website · Documentation · MCP Server · Agent Skill · Discord

SDKs Tools Subagents AI providers MCP Agent Skill License

This public repository contains the official SDKs and public developer documentation. The hosted platform, agent runtime, Device Control service and Browser Control service are proprietary and are not included here.

Looking for the remote MCP server? It lives at melaya-labs/melaya-mcp — one endpoint, https://api.melaya.org/mcp.

The products

Melaya Agents — available now
A visual builder for high-trust AI workflows: tools, models, memory, subagents, knowledge, evaluations, schedules, cost limits and human approvals, composed as a pipeline.
Melaya Agents product page · Docs
Melaya Assistant — available now
Work across your approved business systems in natural language, with permissions, execution and approvals still under your control.
Melaya Assistant product page
Device Control — flagship, available now
Let an AI operate real Android apps the way a person does: tapping, typing, swiping and navigating through the visible interface. No vendor API, no integration. Per-app permissions and approval before sensitive actions.
Device Control product page · Docs
Browser Control — available now
The same governed execution in real browser tabs, with live visibility and a human stop control. Ships as a browser extension for Chrome, Edge, Brave, Opera and Firefox.
Browser Control product page · Firefox add-on
MCP Server — available now
Give Claude, Codex, Cursor, ChatGPT or any compatible client access to Melaya's execution layer through one remote endpoint. 88 scoped tools across 9 permission domains, OAuth 2.1 + PKCE, no API key to paste.
MCP Server product page · Repo · Docs · Agent Skill
Melaya Marketing — available now
One AI-native marketing cockpit. Connects your ads, search consoles, analytics, DNS and site, reads your real numbers server-side, and runs actions that do the work — SEO and page-speed audits, DNS hardening, wasted-spend cleanup — pausing for your approval before anything touches real money or your live site.
Melaya Marketing product page

The catalog

8,222 103 48
scoped tools specialized subagents AI providers
88 9 9
MCP tools official SDKs MCP permission domains

Runtime catalog endpoints remain the source of truth; the numbers above move as the catalog grows.

Bring your own model

48 providers, chosen per agent. Credentials stay in encrypted Connectors, never in prompts or pipeline JSON.

Local and self-hosted

Models on your own machine or your own server, reached through the Melaya runner. The data never leaves your network.

Ollama
Ollama
LM Studio
LM Studio
OpenAI-Compatible
OpenAI-Compatible
LiteLLM Proxy
LiteLLM Proxy

CLIs on your runner

Use the AI subscription you already pay for: the runner drives the official command-line tool on your machine.

Claude Code
Claude Code
Codex
Codex
GitHub Copilot
GitHub Copilot

Cloud

Frontier labs, open-model hosts and gateways. Bring your key, or use Melaya AI with no key at all.

Melaya AI
Melaya AI
Amazon Bedrock
Amazon Bedrock
Anthropic
Anthropic
Avis
Avis
Azure AI Foundry
Azure AI Foundry
Baseten
Baseten
Braintrust AI Gateway
Braintrust AI Gateway
Cerebras
Cerebras
Chutes
Chutes
Cohere
Cohere
DeepInfra
DeepInfra
DeepSeek
DeepSeek
Featherless
Featherless
Fireworks AI
Fireworks AI
FriendliAI
FriendliAI
Gonka
Gonka
Google Gemini
Google Gemini
Grok (xAI)
Grok (xAI)
Groq
Groq
Hugging Face
Hugging Face
MiniMax
MiniMax
Mistral AI
Mistral AI
ModelRush
ModelRush
Moonshot
Moonshot
Nebius Token Factory
Nebius Token Factory
Novita AI
Novita AI
NVIDIA NIM
NVIDIA NIM
OpenAI
OpenAI
OpenRouter
OpenRouter
Portkey
Portkey
Qwen (Alibaba)
Qwen (Alibaba)
Reka AI
Reka AI
Requesty
Requesty
SambaNova
SambaNova
Scaleway Generative APIs
Scaleway Generative APIs
SiliconFlow
SiliconFlow
Together AI
Together AI
Upstage Solar
Upstage Solar
Vercel AI Gateway
Vercel AI Gateway
Writingmate
Writingmate
Zhipu AI
Zhipu AI

Why teams use Melaya

  • Minimum-tool agent permissions instead of an unlimited toolbox
  • Encrypted Connectors instead of credentials in prompts or pipeline JSON
  • Tenant-scoped projects and API keys
  • Human approval for consequential actions, enforced server-side
  • Run status, traces, costs, evaluations, outputs and cancellation
  • Cloud execution or a user-controlled local runner
  • Mobile and browser workflows for products that expose no suitable API
  • Nine official SDKs over the same public lifecycle

Quick start: pair a phone

import { Melaya } from "@melaya/sdk";

const melaya = new Melaya({
  apiKey: process.env.MELAYA_API_KEY!
});

const { code, expiresInSeconds } =
  await melaya.agents.phone.pair();

console.log({ code, expiresInSeconds });

const devices = await melaya.agents.phone.listDevices();
const apps = await melaya.agents.phone.listApps();

await melaya.agents.phone.setAllowedApps([
  "com.android.chrome"
]);

A Melaya platform key is required. "No app API required" means Device Control operates the target app through its user interface; it does not mean the Melaya SDK is unauthenticated.

Quick start: connect over MCP

No SDK, no key to paste. Add the endpoint to any compatible client and approve the scopes you want:

claude mcp add --transport http melaya https://api.melaya.org/mcp
# or
codex mcp add melaya --url https://api.melaya.org/mcp

Setup for Claude, ChatGPT, Cursor, VS Code, Le Chat, Gemini CLI, Zed, Cline, Goose and more: melaya-labs/melaya-mcp.

Agent Skill: teach any AI to run Melaya

The MCP server gives your assistant the tools. The Melaya skill gives it the method: connecting services, building and validating pipelines on real runs, triggers and approvals, reading results and handing work over. A free, open playbook your assistant reads before it acts, so it gets things right the first time.

Any assistant (ChatGPT, Gemini, Cursor, …): paste this line.

Install the Melaya skill from https://github.com/melaya-labs/melaya-mcp/tree/main/skills/melaya and use it whenever I ask you to work with Melaya.

Claude Code: copy it into your skills folder, then restart. It loads on its own when you mention Melaya.

git clone --depth 1 https://github.com/melaya-labs/melaya-mcp /tmp/melaya-mcp && cp -r /tmp/melaya-mcp/skills/melaya ~/.claude/skills/

Claude.ai and Claude Desktop: download skills/melaya as a .zip and upload it under Settings → Capabilities → Skills. Anywhere else, add SKILL.md as a project instruction or rules file.

The skill is one short router with the rules that always apply, plus eleven modules the assistant opens only when the task needs them:

quickstart
Plain-language journeys for non-technical users
discovery
Finding the right tools, templates and connected services
runners-models
The runner and models: Claude Code, Codex, Copilot, Ollama, LM Studio, cloud
projects-templates
Projects, teams and starting from a validated template
pipeline-authoring
Pipeline configs that generate and run correctly
agentic-systems
Complete multi-pipeline systems, designed end to end
data-spine
Google Sheets data stores, bulk scoring, clean records
automation-governance
Schedules, event triggers, approvals and cost limits
validate-debug
Proving a pipeline on real runs and fixing what fails
client-handover
Documentation and handover for the people who will use it
devices-browser
Agents that use a phone or a browser like a person

Official SDKs

Language Package
Python melaya
TypeScript / JavaScript @melaya/sdk
Go melaya-go
Rust melaya
Java org.melaya:melaya-sdk
Kotlin org.melaya:melaya-sdk-kotlin
C# / .NET Melaya.SDK
Ruby melaya
PHP melaya/sdk

The supported public surface includes authentication, projects, Connectors (personal and project-shared), credentials, connector tool calls (discover and call the tools your connected services unlock, with an in-app approval for writes), pipelines with run inputs and file uploads, pipeline documents (static context and RAG), templates, Agent Builder tools, the tool-call audit log, Device Control management, HITL, evaluations, events, billing, account operations, runner management, team management, MFA, the assistant, bug reports and agent memory.

What the SDKs drive: Melaya Agents pipelines and runs, the Melaya Assistant, Device Control on real Android apps, Browser Control, and the same execution layer behind the MCP Server and Melaya Marketing.

Internal operator APIs are intentionally absent.

Security rules for SDK users

  • Keep MELAYA_API_KEY in a secret manager or server environment.
  • Store model and external-service credentials in Connectors.
  • Do not put secrets in source, prompts, RAG documents, artifacts, or env_overrides.
  • Give agents the smallest practical tool and app allowlists.
  • Require human approval for consequential writes.
  • Validate errors and final state before reporting success.
  • Revoke unused platform keys and paired devices.
  • Redact credentials from proxy, APM, and WebSocket query logs.

See Security and trust.

Documentation

Full product documentation and interactive API reference: melaya.org/documentation.

Where to find us

Melaya is listed across the MCP registries and the product directories below. Every link was fetched and confirmed live on 2026-09-21.

Product directories

Product Hunt AlternativeTo SaaSHub SourceForge Slashdot Indie Hackers

AI agent directories

AI Agents Directory AgentLocker AI Tool Seekers

MCP ecosystem

MCP Registry Glama mcp.so Smithery mcpserver.dev MCP Market Cursor Directory

Also on LaunchKiwi · MakerHunt · LaunchNest · FoundrList · Launchpadly · LaunchIgniter · Launch Llama · The SaaS Dir · ProjectRadar · TopBusinessSoftware · HackerNoon

License

The SDK code and public documentation are licensed under Apache-2.0. The hosted platform and engines are proprietary and are not included in this repository.

Third-party names and logos are used only for identification and do not imply endorsement.



Melaya Labs · melaya.org · Discord