[!CAUTION] Vertana is currently in early development for proof of concept purposes, and is not yet ready for production use. The API is subject to change, and there may be bugs or missing features.
Vertana[^1] is an LLM-powered agentic translation library for TypeScript/JavaScript. It goes beyond simple LLM prompting by using autonomous agent workflows to gather rich contextual information, ensuring high-quality translations that preserve meaning, tone, and formatting.
[^1]: The name Vertana is derived from the Sanskrit word वर्तन (vartana), meaning turning, moving, or abiding.
import { translate } from "@vertana/facade";
import { openai } from "@ai-sdk/openai";
const result = await translate(
openai("gpt-4o"),
"ko",
"Hello, world! Welcome to Vertana.",
);
console.log(result.text);
Vertana provides comprehensive documentation to help you get started quickly: https://vertana.org/.
API reference documentation for each package is available on JSR (see below).
Vertana is a monorepo which contains multiple packages. If you are looking for one package to start with, check out @vertana/facade. The following is a list of the available packages:
| Package | JSR | npm | Description |
|---|---|---|---|
| @vertana/core | JSR | npm | Core translation logic and utilities |
| @vertana/facade | JSR | npm | High-level facade for easy translation tasks |
| @vertana/context-web | JSR | npm | Web page fetch/search for translation context |
| @vertana/context-memory | JSR | npm | Translation memory lookup for consistency |
| @vertana/cli | JSR | npm | Command-line interface for translation |
$ claude mcp add vertana \
-- python -m otcore.mcp_server <graph>