Clone SDK · React + headless

The next prompt, already in your composer.

Add contextual suggestions to the editor your users already know. They review, edit, or accept with Tab.

No charge at card registration. Usage is billed monthly. Explore the free sandbox.

Your product / Launch planComposer example

Draft an announcement for our launch.

Here’s a short launch announcement. It introduces the product and invites people to try it.

Make it more concise and add a clear call to action.

Suggestion ready

Illustrative local demo. No API calls or usage charges.

Keep your composer.

Use the React component or bring your own editor with the headless controller.

Give users the final word.

Tab inserts a suggestion. Users can edit it before sending. Optional Clone mode has explicit limits.

Keep the conversation moving.

When predictions fail, the SDK leaves your normal input and send path available.

Integration

Your context. Your interface.

Pass the relevant conversation, draft and preferences through your backend. Your server keeps the app key.

const transport = createPredictionTransport(
  '/api/clone/predict'
);

<TabCompletionInput
  value={draft}
  onValueChange={setDraft}
  context={context}
  transport={transport}
  presentation="instant"
/>

Component excerpt. The quickstart covers installation, an authenticated proxy and verification.

Choose the experience.

Show a complete suggestion instantly or reveal it with a typewriter effect. Decide when suggestions appear and whether users can start bounded automatic sends with Clone mode.

Typewriter is a display effect for a completed response. Your API response is JSON.

Start with your product’s context.

Your product chooses the history sent with each request. Users can optionally connect selected Clone profile and Goal context.

One shared usage model

SDK code is free. Predictions are usage-based.

The SDK and direct API use the same app, usage accounting and company invoice. Developer usage is separate from a personal Clone subscription.

Available as the SDK 0.4.0 GitHub prerelease. Pin your version and verify it in your own composer before upgrading.