AI capability services

Embeddings, translation, speech, moderation, OCR, web search, and image generation, metered to your molecule project with no vendor account needed.

What they are

Molecule operates a set of AI capability services you can call two ways: as MCP tools from any agent, or in app code through the matching @molecule/* bond. Both are metered to your molecule project: no separate vendor account, no extra API keys.

The services

CapabilityMCP toolIn app code
Text embeddingsembed_text@molecule/api-ai-embeddings-*
Translationtranslate@molecule/api-ai-translation-*
Text-to-speechtext_to_speech@molecule/api-ai-speech-*
Transcriptiontranscribe_audio@molecule/api-ai-speech-*
Content moderationmoderate_content@molecule/api-content-moderation-*
OCR (text from images)extract_text@molecule/api-ocr-*
Web searchweb_search@molecule/api-web-search-*
Image generationgenerate_imagethe AI image bond
Unattended agent runssubmit_agent_runthe agent-run API
Note

Each capability is also a core with swappable bonds: a paid vendor provider and a self-hosted open-source one. You can swap in your own keys any time.

Using one in your app

mlcl add @molecule/api-ai-translation --inject

The generated wiring points at the hosted provider by default and the package README shows the exact calls. In agents, the tools are there after npx mlcl setup; try translate or extract_text in your next session.