Add Tura dynamic prompt map

Co-authored-by: Tura AI <info@turaai.net>
This commit is contained in:
Yohjisakamoto 2026-07-16 18:26:01 +02:00
parent 2054f580b1
commit 9b51eb3942

View File

@ -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.