Skip to content

Agentic Translation

Multi-agent translation workflow where LLM agents critique and refine outputs to improve translation quality.

Publisher
AMD

Overview

Agentic Translation UI

This Solution Blueprint illustrates how language translation can be implemented using LLMs. It uses agentic translation, employing multiple LLM agents working collaboratively, where models critique, evaluate, and refine each other’s outputs to improve the overall quality of the translation. Optionally, users can enable Qwen3-ASR to record or upload speech, review the transcript, and submit it to the same translation workflow.

The blueprint follows a trilateral collaboration framework from Wu et al. with an Action agent, Critique agent, and Judgment agent iteratively contributing to the translation task until the Judgment agent approves the output. The prompting strategy is adapted from Andrew Ng’s example.

AMD Solution Blueprints are packaged as Helm charts for deployment on a Kubernetes cluster. For development or further exploration, the source code is public and available in the Solution Blueprints GitHub repository.

Architecture

Agentic translation is performed by a collaboration of three LLM agents.Agentic translation is performed by a collaboration of three LLM agents.

The blueprint provides a React/Vite web application for agentic translation with multi-agent LLM collaboration. By default, an AMD Inference Microservice (AIM) is deployed to power the Action, Critique, and Judgment agents.

ComponentRole
React/Vite UIAMD-branded web interface for recording/uploading audio, editing transcripts, entering text and instructions, and reviewing translations and agent dialogue
Agentic translation pipelineAction, Critique, and Judgment agents with iterative refinement
Qwen3-ASROptional speech-to-text for uploaded or recorded audio (disabled by default; enable with --set qwen-asr.enabled=true)
AIM LLMPowers the multi-agent translation workflow (default: Llama-3.3-70B on Instinct, Qwen3-VL 8B Instruct on Radeon)
LangChainImplementation of the agents

Key Features

  • Additional instructions: The agentic translation can incorporate additional user-provided instructions
  • Multilingual support: Users can freely use any languages supported by the underlying LLM
  • Visible agent dialogue: The conversation between the agents is made visible to the user
  • Long inputs: If the input text exceeds the model’s context window, it is automatically split into smaller chunks for processing
  • Optional voice transcription: Enable with --set qwen-asr.enabled=true to record or upload speech, review the Qwen3-ASR transcript, and translate it through the existing agentic workflow (Instinct only; requires a second GPU)