andrewyng/translation-agent
Python implementation of an agentic workflow for machine translation using LLM-based reflection to improve translation quality.

This repository implements a reflection agentic workflow for machine translation. The system uses an LLM to perform initial translation, then applies a reflection step where the LLM generates constructive suggestions for improvement, which are then incorporated to refine the output. It supports customizing translation style, handling of idioms and technical terms via prompt engineering and glossaries, and adapting to regional language variants.