From 9b51eb3942e51b2b4e9b8fe795cc2f058d10e177 Mon Sep 17 00:00:00 2001 From: Yohjisakamoto Date: Thu, 16 Jul 2026 18:26:01 +0200 Subject: [PATCH 1/2] Add Tura dynamic prompt map Co-authored-by: Tura AI --- Open Source prompts/Tura/Prompt.txt | 57 +++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Open Source prompts/Tura/Prompt.txt diff --git a/Open Source prompts/Tura/Prompt.txt b/Open Source prompts/Tura/Prompt.txt new file mode 100644 index 00000000..2bb2edac --- /dev/null +++ b/Open Source prompts/Tura/Prompt.txt @@ -0,0 +1,57 @@ +Tura system prompt map (v0.1.33) +================================ + +Project: https://github.com/Tura-AI/tura +Release: https://github.com/Tura-AI/tura/releases/tag/v0.1.33 +Prompt architecture: https://github.com/Tura-AI/tura/blob/v0.1.33/docs/core/prompt-style.md + +Tura does not use one static mega-prompt. The runtime composes several system +messages from the selected agent, frontend, persona, task type, tool catalog, +session state, and context pressure. Its first runtime-owned identity message is +generated from this template: + +You are {agent}, an agent. Current user: {user}. Runtime model: {model}. LLM +provider: {provider}. Active context limit before compaction: {context_limit} +tokens. {language_instruction} Follow the persona and agent instructions +supplied in the following system messages. + +Identity source: +https://github.com/Tura-AI/tura/blob/v0.1.33/crates/runtime/src/prompt_style/agent_identity.rs + +The next system messages are selected from these public prompt sources: + +Agent behavior +-------------- + +- Balanced: + https://github.com/Tura-AI/tura/blob/v0.1.33/agents/src/balanced/prompt.md +- Direct: + https://github.com/Tura-AI/tura/blob/v0.1.33/agents/src/direct/prompt.md +- Direct text-only: + https://github.com/Tura-AI/tura/blob/v0.1.33/agents/src/direct-text-only/prompt.md + +Tool instructions +----------------- + +- apply_patch, bash, planning, shell_command, task_status, and zsh: + https://github.com/Tura-AI/tura/tree/v0.1.33/crates/tools/src/commands + +Task-specific operation manuals +------------------------------- + +- Data research, debugging, DevOps, editorial, frontend, interactive/3D, + new-build, refactoring, visual, and website prompts: + https://github.com/Tura-AI/tura/tree/v0.1.33/crates/runtime/src/runtime_prompt + +Runtime assembly +---------------- + +- Turn assembly and conditional tail prompts: + https://github.com/Tura-AI/tura/blob/v0.1.33/crates/runtime/src/manas/runtime_turn.rs +- Agent/persona prompt loading: + https://github.com/Tura-AI/tura/blob/v0.1.33/crates/runtime/src/manas/agent_prompts.rs +- Context reconstruction: + https://github.com/Tura-AI/tura/blob/v0.1.33/crates/runtime/src/context/build.rs + +The linked Tura source remains licensed under AGPL-3.0-or-later. This file is a +version-pinned source map and does not relicense the linked prompt files. From 18078831536231507f0361684a295aabed4ccaa7 Mon Sep 17 00:00:00 2001 From: Yohjisakamoto Date: Thu, 16 Jul 2026 18:36:48 +0200 Subject: [PATCH 2/2] Clarify prompt and tool source boundaries Co-authored-by: Tura AI --- Open Source prompts/Tura/Prompt.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Open Source prompts/Tura/Prompt.txt b/Open Source prompts/Tura/Prompt.txt index 2bb2edac..7aecf77b 100644 --- a/Open Source prompts/Tura/Prompt.txt +++ b/Open Source prompts/Tura/Prompt.txt @@ -6,9 +6,10 @@ Release: https://github.com/Tura-AI/tura/releases/tag/v0.1.33 Prompt architecture: https://github.com/Tura-AI/tura/blob/v0.1.33/docs/core/prompt-style.md Tura does not use one static mega-prompt. The runtime composes several system -messages from the selected agent, frontend, persona, task type, tool catalog, -session state, and context pressure. Its first runtime-owned identity message is -generated from this template: +messages from the selected agent, frontend, persona, task type, session state, +and context pressure. It supplies the available tool catalog separately as +runtime capabilities. Its first runtime-owned identity message is generated +from this template: You are {agent}, an agent. Current user: {user}. Runtime model: {model}. LLM provider: {provider}. Active context limit before compaction: {context_limit} @@ -30,8 +31,8 @@ Agent behavior - Direct text-only: https://github.com/Tura-AI/tura/blob/v0.1.33/agents/src/direct-text-only/prompt.md -Tool instructions ------------------ +Tool and capability sources +--------------------------- - apply_patch, bash, planning, shell_command, task_status, and zsh: https://github.com/Tura-AI/tura/tree/v0.1.33/crates/tools/src/commands