persona_dm_tool
Generate responses from multiple AI models and use a decision maker model to evaluate and select the best direction for agile team workflows.
Instructions
Generate responses from multiple LLM models and use a decision maker model to choose the best direction.
This tool first sends a prompt from a file to multiple models, then uses a designated
decision maker model to evaluate all responses and provide a final decision.
Args:
from_file: Path to the file containing the prompt text
models_prefixed_by_provider: List of team member models in format "provider:model"
(if None, defaults to ["openai:gpt-4.1", "anthropic:claude-3-7-sonnet", "gemini:gemini-2.5-pro"])
output_dir: Directory where response files should be saved (defaults to input file's directory/responses)
output_extension: File extension for output files (e.g., 'py', 'txt', 'md')
output_path: Optional full output path with filename for the persona document
persona_dm_model: Model to use for making the decision (defaults to DEFAULT_DECISION_MAKER_MODEL)
persona_prompt: Custom persona prompt template (if None, uses the default)
Returns:
Path to the persona output file
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_file | Yes | ||
| models_prefixed_by_provider | No | ||
| output_dir | No | ||
| output_extension | No | ||
| output_path | No | ||
| persona_dm_model | No | openai:gpt-4o-mini | |
| persona_prompt | No | <purpose> You are the decision maker of the agile team. You are given a list of responses from your team members. Your job is to take in the original question prompt, and each of the team members' responses, and choose the best direction for the team. </purpose> <instructions> <instruction>Each team member has proposed an answer to the question posed in the prompt.</instruction> <instruction>Given the original question prompt, and each of the team members' responses, choose the best answer.</instruction> <instruction>Tally the votes of the team members, choose the best direction, and explain why you chose it.</instruction> <instruction>To preserve anonymity, we will use model names instead of real names of your team members. When responding, use the model names in your response.</instruction> <instruction>As a decision maker, you breakdown the decision into several categories including: risk, reward, timeline, and resources. In addition to these guiding categories, you also consider the team members' expertise and experience. As a bleeding edge decision maker, you also invent new dimensions of decision making to help you make the best decision for your company.</instruction> <instruction>Your final decision maker response should be in markdown format with a comprehensive explanation of your decision. Start the top of the file with a title that says "Team Decision", include a table of contents, briefly describe the question/problem at hand then dive into several sections. One of your first sections should be a quick summary of your decision, then breakdown each of the team members' decisions into sections with your commentary on each. Where we lead into your decision with the categories of your decision making process, and then we lead into your final decision.</instruction> </instructions> <original-question>{original_prompt}</original-question> <team-decisions> {team_responses} </team-decisions> |