Use Cases + Implementation

How do you build sales agents with an OpenAI-Compatible API?

An OpenAI-compatible API lets sales engineering teams add agent features without a new platform: keep the SDK, point it at api.plugsky.com, and use chat completions with JSON mode for structured CRM updates and drafting. Function calling is live for CRM lookups, and 30+ models behind one endpoint let you route cheap research steps and stronger drafting separately.

Key facts

API compatibilityDrop-in /v1/chat/completions with streaming, JSON mode and function calling (live)
Structured outputJSON mode for CRM field suggestions and draft objects
Models30+ models behind one endpoint, route research and drafting separately
MigrationBase URL and model-name change; CRM integrations stay unchanged
PricingFlat monthly plans with unlimited fair-use usage on self-serve
ControlsScoped keys per integration with RBAC and SSO/SCIM
ApprovalsDrafts routed to reps; no autonomous sends
Free tierplugsky-micro and plugsky-lite on the free plan, no card required

TL;DR

  • Keep the SDK and CRM integrations; change the base URL and model names.
  • Use JSON mode to return CRM updates as typed fields your systems can validate.
  • Wrap CRM lookups and suppression checks in function-call tools.
  • Keep the send button with reps; the agent drafts and enriches only.
  • Shadow-run drafts against rep-written messages before rollout.

How it works, step by step

  1. Centralise the model client so base URL, key and model names come from configuration.
  2. Define JSON schemas for each output: account brief, draft message, CRM field suggestions.
  3. Set the base URL to https://api.plugsky.com/v1 with scoped keys, mapping research and drafting to different models.
  4. Expose CRM reads, suppression checks and task creation as function-call tools with least-privilege scopes.
  5. Route drafts to reps for edit and approval, and log the facts and citations each draft used.
  6. Shadow-run against rep-written outreach and compare edit distance and reply outcomes.
  7. Cut over behind a flag, keep the previous provider path in configuration, and review traces weekly.
1Centralise themodel client sobase URL, key and2Define JSON schemasfor each output:account brief,3Set the base URL tohttps://api.plugsky.com/v1with scoped keys,4Expose CRM reads,suppression checksand task creation5Route drafts toreps for edit andapproval, and log6Shadow-run againstrep-writtenoutreach and

Try it yourself

Open the function calling schema generator →

What compatibility changes for sales tooling

Sales stacks are integration-heavy: CRM, sequencing, enrichment and analytics all have their own APIs. Adding an agent should not add another platform. An OpenAI-compatible endpoint slots in as a model provider: one client, one key, standard request shapes, and your existing integrations remain untouched.

Streaming, JSON mode and function calling are live on Plugsky. Managed conveniences such as batch and assistants-style endpoints are coming soon, so scheduling and sequence state stay in your tooling — where deliverability and suppression rules already live.

Structured CRM updates and drafting

Two output shapes matter. CRM updates should be typed: field, proposed value, confidence and the evidence behind it, validated before writing. Drafts should be objects too: subject, body, personalisation facts used and a suggested next step, so the rep interface can present and edit them consistently.

  • Validation: reject CRM suggestions with missing evidence rather than writing guesses.
  • Suppression: check opt-outs and do-not-contact rules in tools before drafting.
  • Citations: drafts reference the content or CRM facts they used.
  • Idempotency: key CRM writes so retries do not duplicate tasks or notes.

Approvals, keys and rollout

Keep the boundary crisp: the agent researches, summarises and drafts; reps approve and send. That protects compliance and keeps accountability with a person. Use scoped keys per integration so a drafting service cannot read the entire CRM, and log tool calls, drafts and approvals for review.

Measure rep time saved, edit distance between draft and sent message, reply and meeting rates, and CRM completeness. If edit distance stays high, improve retrieval and prompts before expanding scope. Because the API is OpenAI-compatible, changing providers or rolling back is a configuration deploy. For customer data restrictions, pin the workspace to a region-locked plane or run VPC, on-prem or air-gapped with the same code.

Honest comparison

AspectPlugskyStaying on OpenAISales AI point tool
Client changeBase URL and model namesNoneNew vendor integration
Structured outputJSON mode for CRM and draftsAvailableVendor schema
Tool callsFunction calling for CRM readsSame patternVendor connectors
PricingFlat monthly with unlimited fair use on self-servePer-tokenSeat-based
ResidencyRegion choice, VPC, on-prem, air-gappedLimited optionsUsually cloud-only

Frequently asked questions

Will our CRM integration change?

No. Your tools and integrations keep their existing APIs; only the model client configuration changes. Tool schemas and approval flows stay as they are.

Why JSON mode for CRM updates?

Typed field suggestions can be validated before writing, so bad data never reaches the CRM. Free-text suggestions would require parsing and guesswork.

Can the agent send sequences?

No. Keep sending in your sequencing tool with rep approval. The agent drafts and enriches; deliverability and compliance remain where they belong.

How do we prevent duplicates?

Key CRM write tools on a stable identifier and make them idempotent, so retries update rather than duplicate records.

Is function calling live?

Yes. Function calling and streaming are live on chat completions, which covers CRM lookups, suppression checks and task creation.

How do we evaluate quality?

Compare drafts against rep-written messages on edit distance and outcomes, and track time saved and CRM completeness. High edit distance means retrieval or prompts need work.

Can it run on-prem?

Yes. Plugsky supports region-locked cloud planes plus VPC, on-prem and air-gapped deployment, so customer data can remain inside your network.