Overview
Build a CrewAI crew with a manager that coordinates a source finder, a translator and a reviewer to produce annotated study translations of classical Japanese tales, checked by a bilingual person.
Problem or Objective
- Which agents investigate a question and report back?
- How do teams design the context, tools and memory of their own AI agents?
More in Research and Analysis
AI Agents and Models
Tools and Integrations
- Tools
- CrewAI · Python
- Prerequisites
- Python with CrewAI installed, access to a language model through one of CrewAI's LLM connections, digitised source editions you may use, and a bilingual reviewer.
How It Works
Install CrewAI and connect it to a model you can use through one of its supported LLM connections. Define three agents with clear roles: a source finder that works only from digitised editions you list (for example a national library's public-domain collection) and records the edition, page and original text for each tale; a translator that produces a literal translation, a readable translation, a glossary of difficult words and notes on grammar it is unsure of; and a reviewer that compares each translation with the original line by line and flags omissions and doubtful readings. Run the crew with the hierarchical process so a manager agent plans the work, delegates it and validates the results. Write each finished tale to its own Markdown or JSON file in a fixed layout your study tool can import. Before anything goes into your study set, a person who reads classical Japanese checks the flagged lines and approves or corrects the translation.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up CrewAI.
- Connect the toolsConnect the tools this workflow relies on: CrewAI, Python.
- Check the prerequisitesPython with CrewAI installed, access to a language model through one of CrewAI's LLM connections, digitised source editions you may use, and a bilingual reviewer.
- Gather your detailsCollect what the prompt asks for: The collection the tales come from, Original text with edition and page, Language to translate into, Maximum glossary entries.
- Run the starter promptPaste the starter prompt below into CrewAI and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at github.com before you rely on it.
Practical Starter Prompt: Translate one tale with notes for review
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
You are the translator in a crew working on [The collection the tales come from]. Here is the original text of one tale with its edition and page: [Original text with edition and page]. Produce: a literal translation into [Language to translate into], a readable translation, a glossary of up to [Maximum glossary entries] difficult words with readings, and a list of every line where the grammar or meaning is uncertain, with your reasoning. Do not smooth over doubtful passages. Output in the agreed JSON layout; a human reviewer approves the result before it is used.Let the reviewer agent flag doubtful lines, and have a bilingual person approve or correct each tale before it enters your study set.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The CrewAI README supports role-based agents, a hierarchical process in which a manager coordinates and validates delegated tasks, connections to various LLMs and human-in-the-loop work. It says nothing about translation quality, and classical texts are hard for models, so the bilingual review is the real quality check.
Limitations and Considerations
Model confidence is not accuracy: keep the reviewer's flags and the human check, and keep the original text beside every translation. Use only editions you may copy; an old text can be public domain while a modern edition, transcription or translation of it is not. Record the edition and page for each tale so readers can check the source. Model calls cost money per run, so try one tale before a batch. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Sources
- crewAIInc/crewAI README (opens in a new tab)
Project documentation · github.com · Undated · Source checked 27 Nov 2026, 04:38 UTC
What this source supports
- In addition to the sequential process, you can use the hierarchical process, which automatically assigns a manager to the defined crew to properly coordinate the planning and execution of tasks through delegation and validation of results.
- CrewAI supports using various LLMs through a variety of connection options.
- Yes, CrewAI fully supports human-in-the-loop workflows, allowing seamless collaboration between human experts and AI agents for enhanced decision-making.