awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
andrewyng avatar

andrewyng/translation-agent

0
View on GitHub↗
5,765 星标·708 分支·Python·MIT·10 次浏览

Translation Agent

Translation Agent is a Python-based system that uses a large language model to translate text through a multi-step agentic workflow. Rather than producing a single output, it generates an initial translation, then prompts the same LLM to critique its own work and produce improvement suggestions, and finally refines the translation based on that self-critique. This reflection-driven iterative refinement loop is the core mechanism for improving translation quality without requiring human feedback or additional training data.

The system distinguishes itself through two key capabilities. First, it enforces consistent terminology by injecting a user-defined glossary directly into the LLM prompt at every stage of the workflow, ensuring that names, technical jargon, and other specified terms are translated uniformly across the entire document. Second, it allows users to steer the translation style by adjusting prompt parameters that control formality, handle idioms, and target specific regional dialects, giving fine-grained control over the output's tone and linguistic register.

The entire workflow is orchestrated by a lightweight Python script that sequences stateless LLM calls and manages prompt templates, with all context passed explicitly in each prompt rather than maintained in memory. This stateless, prompt-based architecture keeps the system simple and portable, requiring no dedicated runtime or framework beyond the Python script and access to an LLM API.

Features

  • Reflective Translation Agents - Provides an agentic workflow that translates text by generating, reflecting on, and refining translations using an LLM.
  • LLM Translation Workflows - Decomposes translation into discrete stages of generation, reflection, and refinement via separate LLM calls.
  • Iterative Translation Refinement - Implements a sequential loop of translation, self-critique, and polishing to increase linguistic precision.
  • Self-Critiquing Pipelines - Implements a multi-step pipeline where the LLM critiques its own output to produce higher-quality translations.
  • Translation Style Parameters - Controls formality, dialect, and idiom handling by adjusting system prompt parameters for translation calls.
  • Translation Self-Critique - Uses the LLM to critique its own translation output and generate improvement suggestions before finalizing.
  • Self-Critiquing Pipelines - Implements a multi-step pipeline where the LLM critiques its own output to produce higher-quality translations.
  • Style Parameter Prompting - Steers output formality, handles idioms, and targets regional dialects through customizable prompt parameters.
  • Regional Dialect Overrides - Merges terminology bundles to override translations for regional dialects and adjust formality.
  • Reflective Text Translation - Translates text by generating an initial version, reflecting on it for improvements, and refining the output.
  • Translation Glossary Enforcement - Enforces consistent translations for names and technical jargon by including a glossary in the prompt.
  • Translation Style Steering - Adjusts formality, handles idioms, and targets regional dialects through customizable translation prompts.
  • Translation Critique Pipelines - Sequences discrete stateless LLM calls for translation, critique, and refinement in a pipeline.
  • Translation Style Parameters - Provides prompt parameters to control formality, dialect, and idiom handling in translations.
  • Translation Term Mapping - Overrides automated translation outputs using a glossary to ensure consistent terminology across documents.
  • Prompt-Injected Glossaries - Enforces consistent terminology by injecting a user-defined glossary directly into the LLM prompt at every workflow stage.
  • Prompt-Injected - Injects glossary terms into prompts to enforce consistent translation of names and jargon across outputs.
  • Reflective - Demonstrates a reflection-based workflow for improving machine translation quality through iterative refinement.
  • Reflective Translation Workflows - Implements a reflective workflow where the LLM generates, critiques, and refines its own translations in a multi-step process.
  • Style Parameter Prompting - Provides adjustable prompt parameters to control formality, handle idioms, and target regional dialects in translations.
  • Python Script Orchestrators - Ships a lightweight Python script that sequences stateless LLM calls and manages prompt templates for translation workflows.
  • Python Script Orchestrators - Ships a lightweight Python script that sequences stateless LLM calls and manages prompt templates for translation workflows.
  • Translation Workflows - An agentic workflow for nuanced, multi-parameter translation tasks.

Star 历史

andrewyng/translation-agent 的 Star 历史图表andrewyng/translation-agent 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

andrewyng/translation-agent 是做什么的?

Translation Agent is a Python-based system that uses a large language model to translate text through a multi-step agentic workflow. Rather than producing a single output, it generates an initial translation, then prompts the same LLM to critique its own work and produce improvement suggestions, and finally refines the translation based on that self-critique. This reflection-driven iterative refinement loop is the core mechanism for improving translation quality without…

andrewyng/translation-agent 的主要功能有哪些?

andrewyng/translation-agent 的主要功能包括:Reflective Translation Agents, LLM Translation Workflows, Iterative Translation Refinement, Self-Critiquing Pipelines, Translation Style Parameters, Translation Self-Critique, Style Parameter Prompting, Regional Dialect Overrides。

andrewyng/translation-agent 有哪些开源替代品?

andrewyng/translation-agent 的开源替代品包括: nekoparapa/ainiee — AiNiee is an LLM-based localization tool that automates the translation of games, books, subtitles, and documents… funstory-ai/babeldoc — BabelDOC is a technical document translation system designed to translate PDF files while preserving their original… 0xpayne/gpt-migrate — gpt-migrate is an automated system that uses large language models to translate source code between different… huanshere/videolingo — VideoLingo is an automated video localization suite designed to transcribe, translate, and dub video content. It… ht524/500lineorless_cn — This project is a Chinese localization repository and technical translation project designed to make concise… sakurallm/sakurallm — SakuraLLM is a multi-format document translation system that hosts large language models for translating Japanese text…

Translation Agent 的开源替代方案

相似的开源项目,按与 Translation Agent 的功能重合度排序。
  • nekoparapa/ainieeNEKOparapa 的头像

    NEKOparapa/AiNiee

    5,152在 GitHub 上查看↗

    AiNiee is an LLM-based localization tool that automates the translation of games, books, subtitles, and documents across multiple languages. It operates as a batch processing engine, translating entire folders of files in parallel while preserving directory structure, and includes a glossary management system that enforces terminology consistency using AI-powered glossaries, forbidden terms, and user-defined text substitution rules. The tool differentiates itself through key architectural decisions: it distributes translation requests across multiple API keys to bypass rate limits and acceler

    Python
    在 GitHub 上查看↗5,152
  • funstory-ai/babeldocfunstory-ai 的头像

    funstory-ai/BabelDOC

    7,752在 GitHub 上查看↗

    BabelDOC is a technical document translation system designed to translate PDF files while preserving their original layout and styling. It functions as a layout-preserving translator that utilizes large language models to convert content into target languages, specifically tailored for scientific and technical documents. The system distinguishes itself through specialized handling of academic content, including the identification and preservation of mathematical formulas and complex layout structures. It ensures technical accuracy by employing glossary-driven terminology enforcement, using so

    Python
    在 GitHub 上查看↗7,752
  • 0xpayne/gpt-migrate0xpayne 的头像

    0xpayne/gpt-migrate

    6,978在 GitHub 上查看↗

    gpt-migrate is an automated system that uses large language models to translate source code between different programming languages and frameworks. It serves as a tool for language migration and code refactoring, transforming codebases while maintaining the original project structure. The project employs a containerized execution loop to run migrated code in isolated environments. It captures runtime stack traces and logs to automatically identify and fix errors through an iterative refinement cycle, modifying files until the application functions. To ensure functional parity, the system syn

    Python
    在 GitHub 上查看↗6,978
  • ht524/500lineorless_cnHT524 的头像

    HT524/500LineorLess_CN

    4,434在 GitHub 上查看↗

    This project is a Chinese localization repository and technical translation project designed to make concise programming projects and technical documentation accessible to Chinese speakers. It provides a collection of translated resources and curated mappings of computer science terminology to ensure consistent translation of technical concepts. The project implements a software localization workflow that converts English-language technical guides and codebase documentation into Chinese. This process utilizes a technical glossary resource and a resource-driven localization model to maintain t

    Jupyter Notebook
    在 GitHub 上查看↗4,434
  • 查看 Translation Agent 的所有 14 个替代方案→