WritingmateWritingmate
Writingmate×Melaya logo
Model Provider Integration
AI Agents & Automation

Use Writingmate Models Inside Melaya

Connect your Writingmate Developer Key to power Melaya visual agent workflows with 350+ chat models. Run multi-step agent loops on Android apps with interactive human approvals.

Setup Guide

Connect Melaya in four simple steps

Set up Writingmate as a custom OpenAI-compatible provider inside your Melaya workspace.

Step 01

Create a Writingmate Developer Key

Open Profile Settings in Writingmate and click API Keys. Generate a new Developer Key and copy the token.

wm_v2.<key-id>.<secret>.<signature>
Step 02

Add Writingmate as a provider in Melaya

In your Melaya workspace, go to Model Providers and choose Custom / OpenAI-compatible provider. Set the base URL and paste your Developer Key.

https://writingmate.ai/api/openai/v1
Step 03

Select your chat models

Pick from available models in your plan, such as anthropic/claude-sonnet-5, google/gemini-3.8-flash, or openai/gpt-5.5. Melaya routes prompts directly to Writingmate.

Step 04

Build and run agent workflows

Assemble visual agent loops in Melaya. When agents execute sensitive steps or phone actions via Device Control, Melaya asks for your confirmation.

Need developer endpoint details?

Review authentication headers, model slugs, and OpenAI SDK drop-in examples.

OpenAPI Documentation
Scope & Limits

What is supported and what is separate

Clear technical boundaries so you know exactly how plan limits and accounts work.

Supported today

Included in this integration

  • OpenAI-compatible chat completions (/chat/completions) across 350+ models
  • Model discovery (/models) for selecting active models in your plan
  • Personal Developer Key authentication with bearer tokens
  • Plan-based credit consumption with no separate per-model API bills
  • Device Control execution in Melaya with interactive approval gates

Important limits

Not included or subject to terms

  • Melaya subscription (separate accounts and billing)
  • Unlimited model generation (bounded by your Writingmate plan credits)
  • Commercial customer-facing SaaS resale (requires a custom agreement)
  • Direct model fine-tuning or raw provider weight access
Workflows

Three ways to use Writingmate + Melaya

Practical handoffs between model drafting and autonomous device execution.

01
Content & Evaluation

Model Compare & Select

Test prompt variations across models inside Writingmate chat. Once you pick the best output, point your Melaya agent node at that model.

Writingmate: Run parallel outputs across top models and choose the best quality.
Melaya: Trigger the multi-step distribution workflow using the chosen prompt.
02
Information & Ops

Research & Verify

Extract structured data from documents with long-context models in Writingmate, then hand JSON steps to Melaya for live device verification.

Writingmate: Gather source facts, extract structured JSON, and check references.
Melaya: Perform verification actions across external web tools and phone apps.
03
Workflow Automation

Brief to Action

Turn unstructured notes into a clean checklist in Writingmate, then run the tasks through Melaya with approval gates.

Writingmate: Parse messy meeting notes into categorized, ordered action items.
Melaya: Execute steps one by one on connected mobile apps with human approval.
FAQ

Frequently Asked Questions

Key facts about Developer Keys, rate limits, and verification requirements.

Get Started

Ready to connect your models to Melaya?

Generate your Developer Key in Writingmate settings and configure your custom provider in Melaya.