Skip to content

Translation Agent

Translate text with a reflection workflow

Visit official site

What Translation Agent is

The project is described as a machine translation demo that uses a reflection workflow to translate and then revise text with a large language model.

What you can do with it

  • Translate source text into a target language
  • Reflect on a draft and collect suggestions
  • Tune style, idioms and proper nouns

Getting started

  • Install the Poetry package manager
  • Create a .env file with OPENAI_API_KEY
  • Install dependencies and call the translate function

Pros & cons

✓ What we like

  • Changing the prompt adapts the output to different needs
  • Reflection suggests improvements before revision

! What to watch out for

  • The material calls the software not yet mature
  • Poetry and an OPENAI_API_KEY .env file are needed

FAQ

What is the reflection step?

The model reviews its translation, suggests improvements and optimises the result.

What is needed to run it?

The steps install Poetry and set OPENAI_API_KEY in a .env file.

Last reviewed: 2026-11-15

More AI writing assistant tools

View all →

How we review