diff --git a/configs/platform/custom/governance/standard-agent.yml b/configs/platform/custom/governance/standard-agent.yml
new file mode 100644
index 0000000000..7031e68639
--- /dev/null
+++ b/configs/platform/custom/governance/standard-agent.yml
@@ -0,0 +1,6 @@
+# The organization's standard agent: the project agent Tale provides in every
+# project that has none of its own, so work can go to an agent before anyone
+# sets one up. Leave harness, providerSlug and modelId out to let the platform
+# choose (set providerSlug and modelId together to pin a model), and add
+# instructions to replace its built-in standing instructions.
+enabled: true
diff --git a/docs/de/develop/api-reference.md b/docs/de/develop/api-reference.md
index a70eef0480..e710650c18 100644
--- a/docs/de/develop/api-reference.md
+++ b/docs/de/develop/api-reference.md
@@ -545,6 +545,8 @@ curl -fsS "$AGENT_URL/$AGENT_ID" \
`POST` und `PUT` verlangen `name`, `harness`, `model`, `skills` und `connectors`; ein `harness` außerhalb der zulässigen Menge ergibt **400**, `PROJECT_AGENT_HARNESS_INVALID`, mit der Menge in `data.harnesses`. Optional sind `modelProvider`, `tools`, `secrets` und `instructions`. Ein `PUT` speichert die gesamte Konfiguration: Ausgelassene Anbieter- und Anweisungsfelder werden `null`, ausgelassene Tool- und Secret-Listen werden leer. Die Agenten-ID muss bereits existieren; ein `PUT` legt keinen neuen Agenten an. Übergib das zuletzt gelesene `updatedAt` als `expectedUpdatedAt`, um das Speichern bedingt zu machen: Ein Agent, der sich seitdem geändert hat, ergibt **409**, `PROJECT_AGENT_STALE`, mit dem aktuellen `updatedAt` in `data`, und nichts wird geschrieben — lade ihn neu und führe zusammen, bevor du erneut speicherst.
+Ein Agent mit `managed` gleich `true` ist der [Standard-Agent](/de/platform/projects/project-agents#standard-agent) der Organisation: Tale hat ihn in einem Projekt ohne eigene Agenten eingerichtet und hält Laufzeit, Modell und Anweisungen im Einklang mit den Einstellungen der Organisation. Ein `PUT` auf ihn ergibt **409**, `PROJECT_AGENT_MANAGED`, und schreibt nichts; `DELETE` entfernt ihn wie jeden anderen Agenten (Vertrag 3.9.0).
+
### Modelle, Freigaben und Grenzen prüfen
Ein Projekt fasst höchstens 50 Agenten. Namen müssen innerhalb des Projekts unabhängig von Groß- und Kleinschreibung eindeutig sein und dürfen bis zu 120 Zeichen lang sein; jede Ausstattungsliste erlaubt 25 Einträge, Anweisungen 20.000 Zeichen. Ungültige Konfiguration oder eine überschrittene Grenze ergibt **400**; ein Name, den ein anderer Agent des Projekts schon trägt, ergibt **409**, `PROJECT_AGENT_NAME_TAKEN` — die Klasse, mit der jedes andere Duplikat an dieser Schnittstelle antwortet —, verwende also den bestehenden Agenten, statt es erneut zu versuchen.
diff --git a/docs/de/platform/admin/governance/content-models.md b/docs/de/platform/admin/governance/content-models.md
index a64b4b0f6f..988617a02e 100644
--- a/docs/de/platform/admin/governance/content-models.md
+++ b/docs/de/platform/admin/governance/content-models.md
@@ -1,6 +1,6 @@
---
title: Modelle
-description: Lege Standardmodelle fest, begrenze den Zugriff und wähle getrennte Modelle für Bilder und Audiotranskription.
+description: Lege Standardmodelle fest, begrenze den Zugriff, wähle getrennte Modelle für Bilder und Audiotranskription und richte den Standard-Agenten für Projekte ohne Agenten ein.
---
Als Admin oder Inhaber legst du unter **Einstellungen > Richtlinien > Modelle** fest, mit welchen Modellen Mitglieder starten und welche sie verwenden dürfen. Standardwerte lenken die Auswahl; Zugriffsregeln setzen Grenzen. Richte zuerst die [Anbieter-Zugangsdaten](/de/platform/admin/providers) ein, damit die gewünschten Modelle verfügbar sind.
@@ -78,6 +78,25 @@ Bilder gibt es in drei Formen: quadratisch, im Querformat 3:2 und im Hochformat
Jedes Bild wird deiner Organisation berechnet und zählt wie der übrige Lauf für die Person, die ihn gestartet hat. Ein Zug eines Agenten erstellt höchstens 16 Bilder, eine Anfrage nach der anderen, und seine Bilder zehren vom selben Rahmen wie die Modellnutzung des Zugs: Die Kosten jedes Bilds gehen von dem ab, was das Modell noch ausgeben darf, und ist der Rahmen aufgebraucht, lehnt Tale das nächste Bild ab. Ein Budgetlimit, das für diese Person gilt, lehnt das Bild ab, bevor das Bildmodell aufgerufen wird. Lege Kosten- oder Anfragelimits für Bilder unter [Richtlinien und Limits](/de/platform/admin/governance/policies-and-limits) fest; [So wird Nutzung gezählt](/de/platform/admin/governance/usage-attribution) erklärt, für wen ein Bild zählt. Die Richtliniendatei und eigene Bild-Endpunkte beschreibt die [Anbieter-Referenz für Self-Hosting](/de/self-hosted/configuration/providers#configure-image-generation).
+## Einen Standard-Agenten bereitstellen {#standard-agent}
+
+Agenten zu einem Projekt hinzufügen können nur Redakteure und höhere Rollen. Damit auch ein Projekt ohne Agenten Arbeit an einen Agenten übergeben kann, bietet Tale dort den **Standard-Agenten** der Organisation an: Jeder, der das Projekt öffnen kann, kann ihm eine Aufgabe geben, auch Mitglieder. Er ist von Anfang an eingeschaltet.
+
+
+
+
+
+
+
+- **Wo er erscheint.** In einem Projekt ohne Agenten bietet **Zuständig** die Option **Standard-Agent** an, und [Aufgabe aus Chat erstellen](/de/platform/chat/basics#create-task-from-chat) trägt ihn für dich ein. Tale richtet ihn in einem Projekt ein, sobald jemand ihn dort wählt oder die Aufgabe eines Chats an dieses Projekt übergibt. Danach führt ihn der Tab **Agenten** des Projekts mit dem Abzeichen **Standard**; [Der Standard-Agent](/de/platform/projects/project-agents#standard-agent) erklärt, wie er sich dort verhält.
+- **Womit er läuft.** Stehen **Agent-Laufzeit** und **Modell** auf **Automatisch**, wählt Tale ein empfohlenes Modell, das die Person, die die Aufgabe startet, nach deinen Regeln für den [Modellzugriff](#den-modellzugriff-begrenzen) nutzen darf. Es läuft mit Claude Code oder mit der Agent-Laufzeit, an die ein Abo-Modell gebunden ist. Die Zeile am Ende des Abschnitts nennt, womit er für dich läuft. Wähle eine Agent-Laufzeit oder ein Modell, um sie für alle festzulegen, und speichere dann die offenen Änderungen der Seite in der Kopfzeile.
+- **Was er weiß.** Seine eingebauten Anweisungen sagen ihm: Er tut, was die Aufgabe verlangt, mit ihren Dateien und Kommentaren. Ein verlangtes Dokument, eine Präsentation, eine Tabelle oder ein PDF liefert er als Ergebnis der Aufgabe. Er schreibt in der Sprache der Aufgabe und fragt in einem Kommentar nach, wenn die Aufgabe unklar ist. Text unter **Anweisungen** ersetzt diese Anweisungen.
+- **Was er nutzen darf.** Die Dokument-Skills `docx`, `pptx`, `xlsx` und `pdf`, die dem Projekt zur Verfügung stehen, aber keine Connectors, Plattformoperationen oder Secrets, wie ein Redakteur sie anderen Agenten zuteilen kann.
+
+Jeder Lauf startet mit den Einstellungen, die in diesem Moment gelten; ein laufender Agent behält die, mit denen er gestartet ist. Ein gewähltes Modell bleibt in Kraft, auch wenn es nicht mehr verfügbar ist, und ebenso eines, das der Modellzugriff einer Person nicht erlaubt: Der Standard-Agent startet dann für sie nicht und sagt, warum, und Tale wechselt nicht zu einem anderen Modell. Wähle ein anderes Modell oder **Automatisch** und speichere. Kann kein Modell, das eine Person nutzen darf, ihn ausführen, startet er für sie ebenfalls nicht: Füge unter [KI-Anbieter](/de/platform/admin/providers) einen Zugang hinzu oder prüfe ihren Modellzugriff.
+
+Schalte **Standard-Agenten bereitstellen** aus, damit Tale ihn nicht mehr anbietet. Die Änderung speichert sofort und behält deine Auswahl. Projekte ohne Agenten bieten dann keinen Agenten an, und Aufgaben, die schon einem Standard-Agenten gehören, starten erst wieder, wenn du ihn einschaltest. Die Richtliniendatei beschreibt die [Anbieter-Referenz für Self-Hosting](/de/self-hosted/configuration/providers#configure-the-standard-agent).
+
## Das Modell für Audiotranskription auswählen
**Modell für Audiotranskription** steuert die serverseitige Transkription von Audio- und Videoanhängen, die Audiospur von Videolinks ohne nutzbare Untertitel sowie Diktate in Browsern ohne eigene Spracherkennung. Die Spracherkennung des Browsers nutzt ihren eigenen Dienst und hat Vorrang, wenn sie unterstützt wird.
diff --git a/docs/de/platform/agents/concepts.md b/docs/de/platform/agents/concepts.md
index fdea24259c..c2c69c97cc 100644
--- a/docs/de/platform/agents/concepts.md
+++ b/docs/de/platform/agents/concepts.md
@@ -19,7 +19,7 @@ Auch ein Projektchat verwendet den eingebauten Chat-Assistenten. Die Wahl eines
Beginne mit einer Verantwortung, deren Ergebnis du beurteilen kannst, etwa: „Prüfe Änderungen auf Regressionen und belege deine Befunde.“ Das gehört in die dauerhaften Anweisungen des Agenten. Das konkrete Repository, Dateien, Abnahmekriterien und einen Termin beschreibst du in der jeweiligen Aufgabe.
-Ein Agent gehört genau einem Projekt. Wer das Projekt lesen darf, sieht seine Agenten; wer es bearbeiten darf, kann sie im aktiven Projekt verwalten. Namen müssen innerhalb des Projekts eindeutig sein. Bis zu 50 Agenten sind möglich. Ein anderes Projekt braucht eine eigene Konfiguration, auch bei gleichem Namen und gleichen Anweisungen.
+Ein Agent gehört genau einem Projekt. Wer das Projekt lesen darf, sieht seine Agenten; wer es bearbeiten darf, kann sie im aktiven Projekt verwalten. Namen müssen innerhalb des Projekts eindeutig sein. Bis zu 50 Agenten sind möglich. Ein anderes Projekt braucht eine eigene Konfiguration, auch bei gleichem Namen und gleichen Anweisungen. Ein Projekt ohne eigene Agenten steht trotzdem nicht ohne da: Sofern ein Admin ihn nicht ausgeschaltet hat, übernimmt der [Standard-Agent](/de/platform/projects/project-agents#standard-agent) der Organisation seine Aufgaben, mit Einstellungen, die ein Admin für die ganze Organisation wählt.
## Die Konfiguration verstehen
diff --git a/docs/de/platform/chat/basics.md b/docs/de/platform/chat/basics.md
index 8da579aac9..40d2ee556f 100644
--- a/docs/de/platform/chat/basics.md
+++ b/docs/de/platform/chat/basics.md
@@ -61,9 +61,9 @@ Der Assistent durchsucht unter anderem Dokumente, Wissenseinträge, Websites, Ko
## Aus einem Chat eine Aufgabe machen {#create-task-from-chat}
-Endet ein Gespräch in Arbeit, die eine Datei braucht, etwa eine Präsentation, einen Bericht oder eine Tabelle, übergib sie einem Projekt-Agenten. Wähle im Kopf des Gesprächs **Aufgabe erstellen**; auf einem schmalen Bildschirm findest du **Aufgabe aus Chat erstellen** im Menü **⋯**. Liegt der Chat in einem Projekt, entsteht die Aufgabe dort. Sonst wählst du zuerst das Projekt: Unter **Mit Agent** stehen die Projekte, die du öffnen kannst und die Agenten haben, samt ihrer Anzahl, und bei jedem Projekt unter **Noch ohne Agent** steht, wer einen hinzufügen kann.
+Endet ein Gespräch in Arbeit, die eine Datei braucht, etwa eine Präsentation, einen Bericht oder eine Tabelle, übergib sie einem Projekt-Agenten. Wähle im Kopf des Gesprächs **Aufgabe erstellen**; auf einem schmalen Bildschirm findest du **Aufgabe aus Chat erstellen** im Menü **⋯**. Liegt der Chat in einem Projekt, entsteht die Aufgabe dort. Sonst wählst du zuerst das Projekt: Unter **Mit Agent** stehen die Projekte, die du öffnen kannst und die Agenten haben, samt ihrer Anzahl. Ein Projekt ohne eigene Agenten steht dort mit **Standard-Agent**: Seine Aufgabe geht an den [Standard-Agenten](/de/platform/projects/project-agents#standard-agent) der Organisation. Kann der Standard-Agent für dich nicht laufen, etwa weil ein Admin ihn ausgeschaltet hat, stehen solche Projekte stattdessen unter **Noch ohne Agent**, jeweils mit dem Hinweis, wer einen hinzufügen kann.
-Der Aufgabendialog öffnet sich mit deiner letzten Anfrage als Beschreibung, einem Link zurück zum Chat und den Dateien, die du im Gespräch angehängt hast. Hat das Projekt genau einen Agenten, ist er unter **Zuständig** schon eingetragen; sonst wählst du einen. Passe alles nach Bedarf an und wähle dann **Erstellen und Agent starten**: Die Aufgabe entsteht, und der Agent beginnt sofort damit. **Nur erstellen** legt sie an, ohne den Agenten zu starten; das holst du später mit **Agent starten** in der Aufgabe nach.
+Der Aufgabendialog öffnet sich mit deiner letzten Anfrage als Beschreibung, einem Link zurück zum Chat und den Dateien, die du im Gespräch angehängt hast. Hat das Projekt genau einen Agenten oder nutzt es den Standard-Agenten, ist er unter **Zuständig** schon eingetragen; sonst wählst du einen. Passe alles nach Bedarf an und wähle dann **Erstellen und Agent starten**: Die Aufgabe entsteht, und der Agent beginnt sofort damit. **Nur erstellen** legt sie an, ohne den Agenten zu starten; das holst du später mit **Agent starten** in der Aufgabe nach.
@@ -81,7 +81,7 @@ Danach steht die Aufgabe über dem Nachrichtenfeld des Chats, mit dem, was sie g
Bittest du den Assistenten um eine solche Datei, beantwortet er, was in eine Antwort passt, und führt dich dann für deine eigenen Projekte durch diese Schritte, mit den Beschriftungen, die du siehst.
-Hat noch kein Projekt, das du öffnen kannst, einen Agenten? Ein Redakteur oder Admin fügt einen im Tab **Agenten** des Projekts hinzu. Als Redakteur kannst du auch direkt in der Aufgabe einen hinzufügen: Wähle unter **Zuständig** **Agent erstellen …**.
+Bietet kein Projekt, das du öffnen kannst, einen Agenten an? Dann kann der Standard-Agent für dich nicht laufen: Ein Admin hat ihn vielleicht unter [Richtlinien > Modelle](/de/platform/admin/governance/content-models#standard-agent) ausgeschaltet, oder kein Modell, das du nutzen darfst, kann ihn ausführen. Frag einen Admin danach, oder bitte einen Redakteur oder Admin, im Tab **Agenten** des Projekts einen Agenten hinzuzufügen. Als Redakteur kannst du auch direkt in der Aufgabe einen hinzufügen: Wähle unter **Zuständig** **Agent erstellen …**.
Dateien kommen nur aus deinem eigenen Gespräch mit. Eine Aufgabe nimmt nur die Uploads der Person an, die sie erstellt; eine Aufgabe aus einem Chat, den jemand in ein Projekt geteilt hat, beginnt deshalb ohne sie.
diff --git a/docs/de/platform/projects/project-agents.md b/docs/de/platform/projects/project-agents.md
index 2588f5dc36..b60a69283e 100644
--- a/docs/de/platform/projects/project-agents.md
+++ b/docs/de/platform/projects/project-agents.md
@@ -3,7 +3,7 @@ title: Projektagenten erstellen und verwalten
description: Konfiguriere einen wiederverwendbaren Agenten, vergib seine Ausstattung und starte eine Aufgabe mit prüfbarem Ergebnis.
---
-Erstelle einen Projektagenten, wenn ein wiederverwendbarer Agent die Aufgaben dieses Projekts bearbeiten soll. Er verbindet Coding-Laufzeit, Modell, Anweisungen und erlaubte Ausstattung. Du brauchst Bearbeitungszugriff auf das aktive Projekt. Mitglieder sehen die Agenten des Projekts im Tab **Agenten**, der ihnen sagt, dass sie einen Redakteur oder Admin um einen neuen bitten können. Secret-Zuordnungen dürfen nur Inhaber und Admins ändern.
+Erstelle einen Projektagenten, wenn ein wiederverwendbarer Agent die Aufgaben dieses Projekts bearbeiten soll. Er verbindet Coding-Laufzeit, Modell, Anweisungen und erlaubte Ausstattung. Du brauchst Bearbeitungszugriff auf das aktive Projekt. Mitglieder sehen die Agenten des Projekts im Tab **Agenten**, der ihnen sagt, dass sie einen Redakteur oder Admin um einen neuen bitten können. Bis ein Projekt eigene Agenten hat, können seine Aufgaben an den [Standard-Agenten](#standard-agent) der Organisation gehen. Secret-Zuordnungen dürfen nur Inhaber und Admins ändern.
## Die erste Aufgabe vorbereiten
@@ -75,8 +75,22 @@ Der Bericht erscheint als Aufgabenkommentar; gesammelte Dateien werden als Ergeb
Die [Aufgaben-Automatisierung](/de/platform/projects/task-automation) erklärt Fortschritt, Stoppen und Prüfung. Der gewöhnliche Chat-Assistent bleibt davon getrennt, auch mit Projektkontext.
+## Der Standard-Agent {#standard-agent}
+
+Auch ein Projekt ohne eigene Agenten kann Arbeit an einen Agenten übergeben. Sofern ein Admin ihn unter [Richtlinien > Modelle](/de/platform/admin/governance/content-models#standard-agent) nicht ausgeschaltet hat, bietet **Zuständig** dort die Option **Standard-Agent** an, und zwar allen, die die Aufgabe zuweisen können, auch Mitgliedern. Wählt jemand sie zum ersten Mal, richtet Tale den Agenten im Projekt ein und weist ihm die Aufgabe zu. Danach startest du ihn wie jeden anderen Agenten oder erwähnst ihn in einem Kommentar. Kann er für dich nicht starten, sagt das Kommentarfeld es dir, und dein Kommentar wird als einfache Erwähnung gespeichert.
+
+
+
+
+
+
+
+Der Tab **Agenten** führt ihn mit dem Abzeichen **Standard**. Niemand bearbeitet ihn: Agent-Laufzeit, Modell und Anweisungen folgen den Einstellungen der Organisation, die Tale bei jedem Start eines Laufs neu liest, und seine Ausstattung sind die Dokument-Skills `docx`, `pptx`, `xlsx` und `pdf` des Projekts. Auf **Automatisch** nutzt jeder Lauf ein Modell, das die Person, die ihn startet, nutzen darf. Er kann also für verschiedene Personen mit verschiedenen Modellen laufen.
+
+Um dem Projekt einen eigenen Agenten zu geben, wähle **Neuer Agent**. Ab dann bietet das Projekt den Standard-Agenten nicht mehr an; der bereits eingerichtete bleibt zuweisbar, bis du ihn löschst. Beim Löschen bleibt der Verlauf seiner Aufgaben erhalten, und solange das Projekt keine Agenten hat, richtet die nächste Aufgabe für den Standard-Agenten ihn wieder ein.
+
## Einen Agenten ändern oder entfernen
-Bearbeite oder lösche den Agenten über sein Zeilenmenü. Änderungen gelten für spätere Läufe; ein aktiver Lauf behält seine Startkonfiguration. Die Löschung entfernt Agentenzuweisungen von Aufgaben, erhält aber deren Verlauf. Sie löscht außerdem die [Sandbox-Arbeitsbereiche](/de/platform/admin/sandboxes#explain-why-a-workspace-disappeared) des Agenten samt Dateien, auch die der Mitglieder. Prüfe laufende Arbeit und sichere benötigte Ergebnisse, bevor du den zugehörigen Agenten entfernst.
+Bearbeite oder lösche den Agenten über sein Zeilenmenü. Der Standard-Agent hat nur **Agent löschen**. Änderungen gelten für spätere Läufe; ein aktiver Lauf behält seine Startkonfiguration. Die Löschung entfernt Agentenzuweisungen von Aufgaben, erhält aber deren Verlauf. Sie löscht außerdem die [Sandbox-Arbeitsbereiche](/de/platform/admin/sandboxes#explain-why-a-workspace-disappeared) des Agenten samt Dateien, auch die der Mitglieder. Prüfe laufende Arbeit und sichere benötigte Ergebnisse, bevor du den zugehörigen Agenten entfernst.
Scheitert das Erstellen, lies die Begründung: Ein doppelter Name, fehlender Projektzugriff, ein nicht verfügbares Modell und unsichtbare Skills sind unterschiedliche Ursachen. Ein Lauf, der endgültig scheitert, sagt oben in seiner Aufgabe, was schiefging und wer es beheben kann; [Wenn der Agent nicht fertig wird](/de/platform/projects/task-automation#wenn-der-agent-nicht-fertig-wird) zählt die Fälle auf. Neue Anweisungen beheben diese Voraussetzungen nicht.
diff --git a/docs/de/platform/projects/tasks.md b/docs/de/platform/projects/tasks.md
index 7acd87ed8e..8b8675b2f9 100644
--- a/docs/de/platform/projects/tasks.md
+++ b/docs/de/platform/projects/tasks.md
@@ -76,7 +76,13 @@ Der Lauf kann weiterhin die Aufgaben und das Wissen des Projekts lesen und behä
Einen Agenten zuweisen und seinen Lauf starten sind zwei Entscheidungen. Klicke nach der Zuweisung auf **Agent starten** oder verschiebe die Aufgabe nach **In Bearbeitung**. Lies [Aufgaben automatisieren](/de/platform/projects/task-automation), bevor du Arbeit mit verbundenen Diensten oder Dateiergebnissen startest.
-Hat das Projekt noch keinen Agenten, sagt **Zuständig** das. Redakteure und höhere Rollen wählen **Agent erstellen …**: **Neuer Agent** öffnet sich über der Aufgabe, und der Agent, den du erstellst, wird ihr zugewiesen. Mitglieder erfahren, dass sie einen Redakteur oder Admin bitten können, im Tab **Agenten** des Projekts einen hinzuzufügen.
+Hat das Projekt keinen eigenen Agenten, bietet **Zuständig** die Option **Standard-Agent** an, den Agenten der Organisation für solche Projekte. Wählst du sie, richtet Tale den Agenten im Projekt ein und weist ihm die Aufgabe zu; [Der Standard-Agent](/de/platform/projects/project-agents#standard-agent) erklärt, wie er arbeitet. Redakteure und höhere Rollen können stattdessen **Agent erstellen …** wählen: **Neuer Agent** öffnet sich über der Aufgabe, und der Agent, den du erstellst, wird ihr zugewiesen. Kann der Standard-Agent für sie nicht laufen, etwa weil ein Admin ihn ausgeschaltet hat, erfahren Mitglieder, dass sie einen Redakteur oder Admin bitten können, im Tab **Agenten** des Projekts einen Agenten hinzuzufügen.
+
+
+
+
+
+
Der Reviewer erhält die Prüfanfrage, hat aber kein ausschließliches Entscheidungsrecht. Auch alle anderen, die die Aufgabe ändern dürfen, können das Ergebnis annehmen: Redakteure und höhere Rollen oder das Mitglied, dem die Aufgabe gehört. Verlangt deine Organisation ein unabhängiges Review, kann allerdings die Person, die den geprüften Agentenlauf gestartet hat, sein Ergebnis nicht annehmen; stammt das Ergebnis nicht aus einem Agentenlauf, gilt das für die Person, die die Aufgabe erstellt hat. Einen Lauf, den ein Mitglied auf seiner eigenen Aufgabe gestartet hat, muss dann ein Redakteur oder eine höhere Rolle annehmen, während das Mitglied einen Lauf, den ein Redakteur dort gestartet hat, weiterhin selbst annehmen kann.
diff --git a/docs/de/self-hosted/configuration/providers.md b/docs/de/self-hosted/configuration/providers.md
index 169f9e7498..0c5f955958 100644
--- a/docs/de/self-hosted/configuration/providers.md
+++ b/docs/de/self-hosted/configuration/providers.md
@@ -80,6 +80,27 @@ Die Antwort eines eigenen OpenAI-kompatiblen Endpunkts auf `/models` muss ein Bi
Ein Zug eines Agenten erstellt höchstens 16 Bilder und führt jeweils nur eine Generierung aus. Vor jedem Aufruf hält Tale 0,25 USD pro Bild gegen den Rahmen des Zugs und die Budgetgrenzen fest und bucht nach dem Aufruf die gemeldeten Kosten an ihrer Stelle. Der Gateway-Schlüssel des Zugs gibt denselben Betrag von seiner Grenze ab, sodass Modell und Bilder zusammen in einem Rahmen bleiben; kann das Gateway diese Grenze nicht senken, wird das Bild abgelehnt. Ein Zug über ein Anbieter-Abonnement hat keinen Gateway-Rahmen; seine Bilder werden an dem Rahmen gemessen, den die Installation einem Zug standardmäßig gibt.
+## Den Standard-Agenten konfigurieren {#configure-the-standard-agent}
+
+Die Richtlinie der Organisation liegt unter `TALE_CONFIG_DIR//governance/standard-agent.yml`, mit dem Richtlinientyp `standard_agent`. Die [Seite Modelle](/de/platform/admin/governance/content-models#standard-agent) bearbeitet dieselben Einstellungen. Eine neue Organisation erhält den Standard-Agenten eingeschaltet, und eine fehlende Datei bedeutet ebenfalls eingeschaltet:
+
+```yaml
+enabled: true
+```
+
+Lege die Laufzeit, das Modell oder beides fest und ersetze die eingebauten Anweisungen:
+
+```yaml
+enabled: true
+harness: claude-code
+providerSlug: anthropic
+modelId: claude-sonnet-5
+instructions: |
+ Schreibe im Stil unseres Hauses. Liefere jedes Dokument als Word-Datei.
+```
+
+`harness` nimmt den Slug einer Laufzeit, die ein Projektagent nutzen kann, etwa `claude-code` oder `codex`; eine andere lehnt die Seite Modelle ab. Ein festgelegtes Modell braucht `providerSlug` und `modelId`. Ungültig sind eine halbe Festlegung, ein unbekanntes Feld und Anweisungen mit mehr als 20.000 Zeichen. Eine ungültige oder unlesbare Datei hält jeden Standard-Agenten vom Start ab, und die Seite Modelle nennt das Problem; als eingeschaltet gilt sie nie. Ein nicht verfügbares Modell weicht nie auf ein anderes aus, ebenso wenig eines, das der Modellzugriff einer Person nicht erlaubt. Tale liest die Richtlinie bei jedem Start eines Laufs, eine Änderung gilt also ab dem nächsten Lauf. Mit `enabled: false` bleiben die schon eingerichteten Standard-Agenten in ihren Projekten, aber keiner von ihnen startet.
+
## Modellzugriff aus der Sandbox prüfen
Chats rufen einen Anbieter aus dem Backend auf. Coding-Agenten verwenden `sandbox-llm-gateway`; ein erfolgreicher Chat belegt daher nicht den Agentenpfad. Der Endpunkt muss aus Backend und Gateway auflösbar und erreichbar sein. Beide HTTPS-Clients müssen seinem Zertifikat vertrauen. Auch ein Name wie `https://models.internal/v1` braucht die Freigabe privater Anbieter, wenn DNS ihn zu einer privaten Adresse auflöst. HTTP bleibt auf die vom Anbieterschema akzeptierten Hostformen begrenzt, etwa private IP-Adressen, `localhost` und `.local`.
diff --git a/docs/de/tutorials/member/use-projects.md b/docs/de/tutorials/member/use-projects.md
index ff1feeb262..3f5241549e 100644
--- a/docs/de/tutorials/member/use-projects.md
+++ b/docs/de/tutorials/member/use-projects.md
@@ -7,7 +7,7 @@ Ein Projekt hält Dateien, Anweisungen, Gespräche und Aufgaben zu einer Arbeit
## Bevor du beginnst
-Als **Mitglied** arbeitest du in den Projekten, die mit dir geteilt sind: Du stellst Fragen in ihren Chats, teilst Gespräche und legst Aufgaben für die Agenten des Projekts an. Nimm ein Projekt, das du öffnen kannst, mit einer indexierten Referenzdatei und mindestens einem Agenten, und beginne bei [Eine Frage stellen und die Quelle prüfen](#eine-frage-stellen-und-die-quelle-pruefen). Um ein Projekt zu erstellen, Dateien hochzuladen, Anweisungen zu speichern und Agenten anzulegen, brauchst du die Rolle **Redakteur** oder höher; richtest du das Projekt ein, beginne bei [Das Projekt einrichten](#das-projekt-einrichten). Du brauchst ein kurzes Textdokument, eine PDF mit auswählbarem Text oder eine Datei in einem modernen Office-Format. Wähle eine Quelle, deren Angaben du nachprüfen kannst, etwa ein Projektbriefing mit einer verantwortlichen Person und einem Prüftermin. Ein Admin muss den Dateispeicher und ein Embedding-Modell für durchsuchbare Uploads eingerichtet haben.
+Als **Mitglied** arbeitest du in den Projekten, die mit dir geteilt sind: Du stellst Fragen in ihren Chats, teilst Gespräche und legst Aufgaben für die Agenten des Projekts an. Nimm ein Projekt, das du öffnen kannst, mit einer indexierten Referenzdatei, und beginne bei [Eine Frage stellen und die Quelle prüfen](#eine-frage-stellen-und-die-quelle-pruefen). Ein Projekt ohne eigene Agenten übergibt seine Aufgaben dem [Standard-Agenten](/de/platform/projects/project-agents#standard-agent) der Organisation, sofern ein Admin ihn nicht ausgeschaltet hat. Um ein Projekt zu erstellen, Dateien hochzuladen, Anweisungen zu speichern und Agenten anzulegen, brauchst du die Rolle **Redakteur** oder höher; richtest du das Projekt ein, beginne bei [Das Projekt einrichten](#das-projekt-einrichten). Du brauchst ein kurzes Textdokument, eine PDF mit auswählbarem Text oder eine Datei in einem modernen Office-Format. Wähle eine Quelle, deren Angaben du nachprüfen kannst, etwa ein Projektbriefing mit einer verantwortlichen Person und einem Prüftermin. Ein Admin muss den Dateispeicher und ein Embedding-Modell für durchsuchbare Uploads eingerichtet haben.
Neue Projekte sind **Organisationsweit** sichtbar. Verwende für diese Anleitung keine vertraulichen Unterlagen. Soll das spätere Projekt nur bestimmten Teams zugänglich sein, lege das zuständige Team unter **Allgemein > Freigabe** fest, bevor du Dateien hochlädst. Projektchats bleiben persönlich, bis du sie teilst.
@@ -50,7 +50,7 @@ Klicke oben auf **Speichern**. Die Anweisungen gehören zum Kontext der Projektc
-Für den letzten Teil dieser Anleitung braucht das Projekt außerdem einen Agenten. [Projekt-Agenten](/de/platform/projects/project-agents) erklärt, wie du einen anlegst.
+Im letzten Teil dieser Anleitung geht eine Aufgabe an einen Agenten: an einen eigenen des Projekts oder, solange es keinen hat, an den [Standard-Agenten](/de/platform/projects/project-agents#standard-agent) der Organisation. [Projekt-Agenten](/de/platform/projects/project-agents) erklärt, wie du einen anlegst.
## Eine Frage stellen und die Quelle prüfen
@@ -78,7 +78,7 @@ Der Chat beantwortet Fragen, erstellt aber keine Dateien. Soll aus der Antwort e
1. Wähle im Kopf des Gesprächs **Aufgabe erstellen**. Weil der Chat zu diesem Projekt gehört, öffnet sich **Aufgabe erstellen** dort, mit deiner letzten Frage als Beschreibung, einem Link zurück zum Chat und den Dateien, die du angehängt hast.
2. Formuliere die Beschreibung als gewünschtes Ergebnis, zum Beispiel: `Erstelle aus dem Briefing eine einseitige Launch-Zusammenfassung als Word-Dokument. Nenne für jeden Termin das Briefing als Quelle.`
-3. Wähle unter **Zuständig** einen Agenten des Projekts, falls noch keiner eingetragen ist, und klicke auf **Erstellen und Agent starten**.
+3. Wähle unter **Zuständig** einen Agenten des Projekts, falls noch keiner eingetragen ist; in einem Projekt ohne eigene Agenten ist der Standard-Agent schon eingetragen. Klicke dann auf **Erstellen und Agent starten**.
4. Verfolge den Lauf über dem Nachrichtenfeld des Chats; **Öffnen** führt dich dort zur Aufgabe.
Wenn der Lauf endet, steht der Bericht des Agenten in den Kommentaren der Aufgabe, die Datei unter **Ergebnisdateien**, und die Aufgabe wartet auf **In Prüfung**. Erwähne den Agenten mit `@` in einem Kommentar, um Änderungen zu erbitten, und setze die Aufgabe auf **Erledigt**, wenn das Ergebnis der Beschreibung entspricht.
diff --git a/docs/en/develop/api-reference.md b/docs/en/develop/api-reference.md
index bdd39d0263..e42cc3932c 100644
--- a/docs/en/develop/api-reference.md
+++ b/docs/en/develop/api-reference.md
@@ -518,6 +518,8 @@ curl -fsS "$AGENT_URL/$AGENT_ID" \
`POST` and `PUT` require `name`, `harness`, `model`, `skills` and `connectors`; a `harness` outside the eligible set returns **400**, `PROJECT_AGENT_HARNESS_INVALID`, with the set in `data.harnesses`. Optional fields are `modelProvider`, `tools`, `secrets` and `instructions`. A `PUT` saves the full configuration: omitted provider/instructions reset to `null`, and omitted tools/secrets reset to empty lists. It updates an existing agent; it does not create one at an unknown ID. Pass the `updatedAt` you last read as `expectedUpdatedAt` to make the save conditional: an agent that changed since returns **409**, `PROJECT_AGENT_STALE`, with the current `updatedAt` in `data`, and nothing is written — reload it and merge before saving again.
+An agent whose `managed` is `true` is the organization's [standard agent](/platform/projects/project-agents#standard-agent): Tale set it up in a project without agents of its own and keeps its runtime, model and instructions in line with the organization's settings. A `PUT` of it returns **409**, `PROJECT_AGENT_MANAGED`, and writes nothing; `DELETE` removes it like any other agent (contract 3.9.0).
+
### Validate models, grants, and limits
A project holds at most 50 agents. Names are unique within the project without regard to case, up to 120 characters; each equipment list allows 25 entries and instructions allow 20,000 characters. An invalid configuration or an exceeded limit returns **400**; a name another agent of the project already carries returns **409**, `PROJECT_AGENT_NAME_TAKEN` — the class every other duplicate on this endpoint returns, so reuse the existing agent rather than retrying.
diff --git a/docs/en/platform/admin/governance/content-models.md b/docs/en/platform/admin/governance/content-models.md
index 2d019fa767..0701ec5ed8 100644
--- a/docs/en/platform/admin/governance/content-models.md
+++ b/docs/en/platform/admin/governance/content-models.md
@@ -1,6 +1,6 @@
---
title: Models
-description: Set default models, restrict access, and choose separate models for images and audio transcription.
+description: Set default models, restrict access, choose separate models for images and audio transcription, and set up the standard agent for projects without agents.
---
Use **Settings > Governance > Models** as an Admin or Owner to choose the models members start with and the models they may use. Defaults guide a choice; access rules enforce a restriction. Configure [provider credentials](/platform/admin/providers) first so the intended models are available.
@@ -78,6 +78,25 @@ Images come in three shapes: square, landscape at 3:2, and portrait at 2:3. An a
Each image is billed to your organization and counts against the person who started the run, like the rest of the run. One agent turn creates at most 16 images, one request at a time, and its images draw on the same allowance as the turn's model use: each image's cost comes out of what the model may still spend, and once the turn has used the allowance up, Tale refuses the next image. A budget limit that applies to that person refuses the image before the image model is called. Set cost or request limits for images under [Policies and limits](/platform/admin/governance/policies-and-limits); [How usage is counted](/platform/admin/governance/usage-attribution) explains who each image counts against. For the policy file and custom image endpoints, see the [self-hosted provider reference](/self-hosted/configuration/providers#configure-image-generation).
+## Provide a standard agent {#standard-agent}
+
+Only Editors and higher roles can add agents to a project. So that a project without agents can still take on agent work, Tale offers the organization's **standard agent** there: anyone who can open the project can give it a task, Members included. It is on by default.
+
+
+
+
+
+
+
+- **Where it appears.** In a project without agents, **Assignee** offers **Standard agent**, and [Create task from chat](/platform/chat/basics#create-task-from-chat) assigns it for you. Tale sets it up in a project the first time someone chooses it there or hands a chat's task to that project; the project's **Agents** tab then lists it with the **Standard** badge, and [The standard agent](/platform/projects/project-agents#standard-agent) explains how it behaves there.
+- **What it runs on.** With **Agent type** and **Model** on **Automatic**, Tale picks a recommended model the person starting the task may use under your [model access](#restrict-model-access) rules, and runs it on Claude Code, or on the agent type a subscription model is bound to. The line at the end of the section names what it runs on for you. Choose an agent type or a model to use it for everyone, then save the page's pending changes in the header.
+- **What it knows.** Its built-in instructions tell it to do what the task asks with the task's files and comments, deliver a requested document, presentation, spreadsheet or PDF as a task output, write in the task's language, and ask in a comment when the task is unclear. Text under **Instructions** replaces them.
+- **What it may use.** The document skills `docx`, `pptx`, `xlsx` and `pdf` that are available to the project, and none of the connectors, platform tools or secrets an Editor can grant to other agents.
+
+Every run starts with the settings in force at that moment; a running agent keeps the ones it started with. A chosen model stays in effect even when it becomes unavailable, and so does one that a person's model access denies: the standard agent then doesn't start for them and says why, and Tale doesn't switch to another model. Choose another model or **Automatic** and save. When no model a person may use can run it, it doesn't start for them either: add a credential under [AI providers](/platform/admin/providers), or check their model access.
+
+Turn off **Provide a standard agent** to stop offering it; the change saves at once and keeps your choices. Projects without agents then offer no agent, and tasks already given to a standard agent can't start until you turn it back on. For the policy file, see the [self-hosted provider reference](/self-hosted/configuration/providers#configure-the-standard-agent).
+
## Choose the audio transcription model
**Audio transcription model** controls server transcription for audio and video attachments, the audio fallback for video links, and dictation in browsers without built-in speech recognition. Browser speech recognition uses its own service and keeps priority when supported.
diff --git a/docs/en/platform/agents/concepts.md b/docs/en/platform/agents/concepts.md
index 450ff081a0..2e165f2f13 100644
--- a/docs/en/platform/agents/concepts.md
+++ b/docs/en/platform/agents/concepts.md
@@ -19,7 +19,7 @@ A project chat still uses the built-in chat assistant. Adding a project to a cha
Start with a responsibility you can evaluate, such as “Review changes for regressions and report evidence.” Keep that in the agent’s standing instructions. Put the particular repository, files, acceptance criteria and deadline in each task.
-An agent belongs to exactly one project. People who can read the project can see its agents; people with project edit access can manage them while the project is active. Names must be unique within the project, and a project can contain up to 50 agents. Another project needs its own configuration even if it uses the same name and instructions.
+An agent belongs to exactly one project. People who can read the project can see its agents; people with project edit access can manage them while the project is active. Names must be unique within the project, and a project can contain up to 50 agents. Another project needs its own configuration even if it uses the same name and instructions. A project without agents of its own isn't left without one: unless an admin has turned it off, the organization's [standard agent](/platform/projects/project-agents#standard-agent) takes its tasks, with settings an admin chooses for the whole organization.
## Understand the configuration
diff --git a/docs/en/platform/chat/basics.md b/docs/en/platform/chat/basics.md
index 1998b475a4..f63c34568a 100644
--- a/docs/en/platform/chat/basics.md
+++ b/docs/en/platform/chat/basics.md
@@ -61,9 +61,9 @@ The assistant can search workspace information such as documents, knowledge entr
## Turn a chat into a task {#create-task-from-chat}
-When a conversation ends in work that needs a file, such as a presentation, a report, or a spreadsheet, hand it to a project agent. Select **Create task** in the conversation's header; on a narrow screen, choose **Create task from chat** in the **⋯** menu. A chat filed in a project creates the task there. Otherwise, choose the project first: **With an agent** lists the projects you can open that have agents, with how many, and each project under **No agent yet** says who can add one.
+When a conversation ends in work that needs a file, such as a presentation, a report, or a spreadsheet, hand it to a project agent. Select **Create task** in the conversation's header; on a narrow screen, choose **Create task from chat** in the **⋯** menu. A chat filed in a project creates the task there. Otherwise, choose the project first: **With an agent** lists the projects you can open that have agents, with how many. A project without agents of its own appears there with **Standard agent**: its task goes to the organization's [standard agent](/platform/projects/project-agents#standard-agent). When the standard agent can't run for you, for example because an admin has turned it off, such projects are listed under **No agent yet** instead, each saying who can add one.
-The task dialog opens with your last request as the description, a link back to the chat, and the files you attached in the conversation. When the project has a single agent, it's already the **Assignee**; otherwise, choose one. Edit anything you like, then select **Create and start agent**: the task is created, and the agent starts on it at once. **Create only** creates it without starting the agent; **Start agent** on the task starts it later.
+The task dialog opens with your last request as the description, a link back to the chat, and the files you attached in the conversation. When the project has a single agent, or uses the standard agent, it's already the **Assignee**; otherwise, choose one. Edit anything you like, then select **Create and start agent**: the task is created, and the agent starts on it at once. **Create only** creates it without starting the agent; **Start agent** on the task starts it later.
@@ -81,7 +81,7 @@ The task then shows above the chat's message box with what it's doing: **The age
Ask the assistant for such a file, and it answers what fits in a reply, then walks you through these steps for your own projects, naming the buttons as you see them.
-No project you can open has an agent yet? An Editor or Admin adds one on the project's **Agents** tab. As an Editor, you can also add one from the task: under **Assignee**, choose **Create an agent…**.
+No project you can open offers an agent? Then the standard agent can't run for you: an admin may have turned it off under [Governance > Models](/platform/admin/governance/content-models#standard-agent), or no model you may use can run it. Ask an Admin about it, or ask an Editor or Admin to add an agent on the project's **Agents** tab. As an Editor, you can also add one from the task: under **Assignee**, choose **Create an agent…**.
Files come along only from your own conversation. A task takes only its creator's uploads, so a task created from a chat someone shared into a project starts without them.
diff --git a/docs/en/platform/projects/project-agents.md b/docs/en/platform/projects/project-agents.md
index d465c9621b..3fb2f4a3b2 100644
--- a/docs/en/platform/projects/project-agents.md
+++ b/docs/en/platform/projects/project-agents.md
@@ -3,7 +3,7 @@ title: Create and manage project agents
description: Configure a reusable worker, grant its equipment and start a task whose result you can review.
---
-Create a project agent when you want a reusable worker for that project’s tasks. It combines a coding runtime, a model, instructions and allowed equipment. You need project edit access; the project must be active. Members see the project's agents on its **Agents** tab, which tells them to ask an Editor or Admin for a new one. Only Owners and Admins can change secret grants.
+Create a project agent when you want a reusable worker for that project’s tasks. It combines a coding runtime, a model, instructions and allowed equipment. You need project edit access; the project must be active. Members see the project's agents on its **Agents** tab, which tells them to ask an Editor or Admin for a new one. Until a project has agents of its own, its tasks can go to the organization's [standard agent](#standard-agent). Only Owners and Admins can change secret grants.
## Prepare the first task
@@ -75,8 +75,22 @@ The agent’s report appears in task comments and collected files appear as deli
[Task automation](/platform/projects/task-automation) explains progress, stopping and review. The ordinary Chat assistant remains separate, even when a chat has project context.
+## The standard agent {#standard-agent}
+
+A project without agents of its own can still take on agent work. Unless an admin has turned it off under [Governance > Models](/platform/admin/governance/content-models#standard-agent), **Assignee** offers **Standard agent** there, to everyone who can assign the task, Members included. The first time someone chooses it, Tale sets the agent up in the project and assigns it the task. You then start it like any other agent, or mention it in a comment. When it can't start for you, the comment box says so, and your comment is saved as a plain mention.
+
+
+
+
+
+
+
+The **Agents** tab lists it with the **Standard** badge. Nobody edits it: its agent type, model and instructions follow the organization's settings, read again whenever a run starts, and its equipment is the project's document skills `docx`, `pptx`, `xlsx` and `pdf`. On **Automatic**, each run uses a model that the person who starts it may use, so it can run on different models for different people.
+
+To give the project an agent of its own, select **New agent**. From then on, the project isn't offered the standard agent any more; the one already set up stays assignable until you delete it. Deleting it keeps the history of its tasks, and while the project has no agents, the next task given to the standard agent sets it up again.
+
## Update or remove an agent
-Use the agent’s row actions to edit or delete it. Changes apply to later runs; an active run keeps its starting configuration. Deleting the agent clears task assignment references while preserving task history. It also deletes the agent's [sandbox workspaces](/platform/admin/sandboxes#explain-why-a-workspace-disappeared) and their files, including each Member's. Review current work and preserve outputs you still need before removing the worker it belongs to.
+Use the agent’s row actions to edit or delete it. The standard agent has only **Delete agent**. Changes apply to later runs; an active run keeps its starting configuration. Deleting the agent clears task assignment references while preserving task history. It also deletes the agent's [sandbox workspaces](/platform/admin/sandboxes#explain-why-a-workspace-disappeared) and their files, including each Member's. Review current work and preserve outputs you still need before removing the worker it belongs to.
If creation fails, use the displayed reason to distinguish a duplicate name, missing project access, an unavailable provider/model or a skill visibility issue. A run that fails for good says at the top of its task what went wrong and who can fix it; [When the agent can't finish](/platform/projects/task-automation#when-the-agent-cant-finish) lists the cases. Changing instructions does not fix those dependencies.
diff --git a/docs/en/platform/projects/tasks.md b/docs/en/platform/projects/tasks.md
index 60d31a1d2f..184ca46c2f 100644
--- a/docs/en/platform/projects/tasks.md
+++ b/docs/en/platform/projects/tasks.md
@@ -76,7 +76,13 @@ The run can still read the project's tasks and knowledge, and it keeps these lim
Assigning an agent and starting its run are separate choices. After assigning it, click **Start agent**, or move the task to **In progress**. Read [Task automation](/platform/projects/task-automation) before starting work that can use connected services or produce files.
-If the project has no agent yet, **Assignee** says so. Editors and higher roles choose **Create an agent…**: **New agent** opens over the task, and the agent you create is assigned to it. Members are told to ask an Editor or Admin to add one on the project's **Agents** tab.
+If the project has no agent of its own, **Assignee** offers **Standard agent**, the organization's agent for such projects. Choosing it sets the agent up in the project and assigns it the task; [The standard agent](/platform/projects/project-agents#standard-agent) explains how it works. Editors and higher roles can choose **Create an agent…** instead: **New agent** opens over the task, and the agent you create is assigned to it. When the standard agent can't run for them, for example because an admin has turned it off, Members are told to ask an Editor or Admin to add an agent on the project's **Agents** tab.
+
+
+
+
+
+
The reviewer receives the review request, but the designation does not reserve the decision exclusively to that person. Anyone else who can change the task can also accept the result: an Editor or higher, or the Member the task belongs to. When your organization requires an independent reviewer, though, the person who started the agent run under review can't accept its result, and when no agent run produced the result, the task's creator can't. A run a Member started on their own task then waits for an Editor or higher, while the Member can still accept a run an Editor started there.
diff --git a/docs/en/self-hosted/configuration/providers.md b/docs/en/self-hosted/configuration/providers.md
index 28d55f54cc..6380039197 100644
--- a/docs/en/self-hosted/configuration/providers.md
+++ b/docs/en/self-hosted/configuration/providers.md
@@ -80,6 +80,27 @@ A custom OpenAI-compatible endpoint's `/models` response must declare an image m
One agent turn creates at most 16 images and runs one generation at a time. Before each call, Tale holds USD 0.25 per image against the turn's allowance and the budget caps, then books the reported cost in place of the hold when the call ends. The turn's gateway key gives up the same amount from its cap, so the model and the images together stay within one allowance; if the gateway cannot lower that cap, the image is refused. A turn on a vendor subscription has no gateway allowance, so its images are measured against the deployment's default turn allowance.
+## Configure the standard agent {#configure-the-standard-agent}
+
+The organization policy lives at `TALE_CONFIG_DIR//governance/standard-agent.yml`, with policy type `standard_agent`. The [Models page](/platform/admin/governance/content-models#standard-agent) edits the same settings. A new organization is seeded with the standard agent on, and an absent file means on too:
+
+```yaml
+enabled: true
+```
+
+Pin the runtime, the model or both, and replace the built-in instructions:
+
+```yaml
+enabled: true
+harness: claude-code
+providerSlug: anthropic
+modelId: claude-sonnet-5
+instructions: |
+ Write in the house style. Deliver every document as a Word file.
+```
+
+`harness` takes the slug of a runtime a project agent can use, such as `claude-code` or `codex`; the Models page refuses one that isn't. A model pin needs both `providerSlug` and `modelId`. A partial pin, an unknown field, or instructions longer than 20,000 characters are invalid. An invalid or unreadable file stops every standard agent from starting, and the Models page names the problem; it is never read as on. An unavailable pin never falls back to another model, and neither does a pin that a person's model access denies. The policy is read whenever a run starts, so an edit applies to the next run. With `enabled: false`, the standard agents already set up stay in their projects, but none of them starts.
+
## Verify sandbox model access
Chat calls a provider from the backend. Coding-agent sessions use `sandbox-llm-gateway`, so a successful chat does not prove the agent path. Make the endpoint resolvable and reachable from both the backend and the gateway; each HTTPS client must trust its certificate. A hostname such as `https://models.internal/v1` still needs the private-provider opt-in when DNS resolves it to a private address. Plain HTTP remains limited to hostname forms accepted by the provider schema, such as private IP literals, `localhost` and `.local`.
diff --git a/docs/en/tutorials/member/use-projects.md b/docs/en/tutorials/member/use-projects.md
index 6dcd2a607b..f7dde6f116 100644
--- a/docs/en/tutorials/member/use-projects.md
+++ b/docs/en/tutorials/member/use-projects.md
@@ -7,7 +7,7 @@ A project keeps the files, instructions, conversations, and tasks for one piece
## Before you begin
-As a **Member**, you work in the projects shared with you: you ask in their chats, share conversations, and create tasks for the project's agents. Pick a project you can open that has an indexed reference file and at least one agent, and start at [Ask a question and check the source](#ask-a-question-and-check-the-source). Creating a project, uploading its files, saving its instructions, and adding agents need the **Editor** role or higher; if you are setting the project up, start at [Set up the project](#set-up-the-project). You need a short text document, PDF with selectable text, or modern Office file. Choose a file whose contents you can verify, such as a project brief with a named owner and a review date. An admin must have configured document storage and an embedding model for searchable uploads.
+As a **Member**, you work in the projects shared with you: you ask in their chats, share conversations, and create tasks for the project's agents. Pick a project you can open that has an indexed reference file, and start at [Ask a question and check the source](#ask-a-question-and-check-the-source). A project without agents of its own hands its tasks to the organization's [standard agent](/platform/projects/project-agents#standard-agent), unless an admin has turned it off. Creating a project, uploading its files, saving its instructions, and adding agents need the **Editor** role or higher; if you are setting the project up, start at [Set up the project](#set-up-the-project). You need a short text document, PDF with selectable text, or modern Office file. Choose a file whose contents you can verify, such as a project brief with a named owner and a review date. An admin must have configured document storage and an embedding model for searchable uploads.
New projects are **Org-wide**. Use non-sensitive material for this walkthrough; if the real project needs restricted access, set its owning team under **General > Sharing** before uploading its files. Project chats remain personal until you share them.
@@ -50,7 +50,7 @@ Click **Save** in the page header. The instructions are part of the project’s
-The last part of this walkthrough also needs an agent in the project. [Project agents](/platform/projects/project-agents) explains how to add one.
+The last part of this walkthrough hands a task to an agent: one of the project's own or, until it has any, the organization's [standard agent](/platform/projects/project-agents#standard-agent). [Project agents](/platform/projects/project-agents) explains how to add one.
## Ask a question and check the source
@@ -78,7 +78,7 @@ Chat answers questions; it doesn't produce files. When the answer should become
1. In the conversation's header, select **Create task**. Because the chat belongs to this project, **Create task** opens there, holding your last question as the description, a link back to the chat, and any files you attached.
2. Rewrite the description as the result you want, for example: `Draft a one-page launch summary from the brief as a Word document. Cite the brief for every date.`
-3. Under **Assignee**, choose one of the project's agents if none is chosen yet, then select **Create and start agent**.
+3. Under **Assignee**, choose one of the project's agents if none is chosen yet; in a project without agents of its own, the standard agent already is. Then select **Create and start agent**.
4. Follow the run above the chat's message box; **Open** there takes you to the task.
When the run ends, the agent's report is in the task's comments, the file is under **Deliverables**, and the task waits in **In review**. Mention the agent with `@` in a comment to ask for changes, and move the task to **Done** when the result meets the description.
diff --git a/docs/fr/develop/api-reference.md b/docs/fr/develop/api-reference.md
index d926ea2b1f..639fb09f4a 100644
--- a/docs/fr/develop/api-reference.md
+++ b/docs/fr/develop/api-reference.md
@@ -588,6 +588,8 @@ curl -fsS "$AGENT_URL/$AGENT_ID" \
Pour éviter d’écraser une modification concurrente, fournis le dernier `updatedAt` lu dans `expectedUpdatedAt`. Si l’agent a changé, la réponse est **409**, `PROJECT_AGENT_STALE`, avec son `updatedAt` courant dans `data`. Rien n’est écrit : recharge la configuration et fusionne les changements avant de réessayer.
+Un agent dont `managed` vaut `true` est l’[agent standard](/fr/platform/projects/project-agents#standard-agent) de l’organisation : Tale l’a mis en place dans un projet sans agents propres et aligne son environnement, son modèle et ses instructions sur les réglages de l’organisation. Un `PUT` sur cet agent renvoie **409**, `PROJECT_AGENT_MANAGED`, et n’écrit rien ; `DELETE` le supprime comme tout autre agent (contrat 3.9.0).
+
### Valider modèles, autorisations et limites
Un projet peut contenir au maximum 50 agents. Les noms sont limités à 120 caractères et doivent être uniques dans le projet, sans distinction de casse. Chaque liste de ressources attribuées accepte 25 entrées ; les instructions sont limitées à 20 000 caractères.
diff --git a/docs/fr/platform/admin/governance/content-models.md b/docs/fr/platform/admin/governance/content-models.md
index 298ff5d4af..76f6a7e30a 100644
--- a/docs/fr/platform/admin/governance/content-models.md
+++ b/docs/fr/platform/admin/governance/content-models.md
@@ -1,6 +1,6 @@
---
title: Modèles
-description: Définis les modèles par défaut, limite leur accès et choisis des modèles distincts pour les images et la transcription audio.
+description: Définis les modèles par défaut, limite leur accès, choisis des modèles distincts pour les images et la transcription audio, et mets en place l’agent standard des projets sans agents.
---
En tant qu’admin ou propriétaire, utilise **Paramètres > Gouvernance > Modèles** pour choisir les modèles proposés au départ et ceux que les membres peuvent utiliser. Les valeurs par défaut orientent le choix ; les règles d’accès imposent une restriction. Configure d’abord les [identifiants fournisseur](/fr/platform/admin/providers) pour rendre les modèles souhaités disponibles.
@@ -78,6 +78,25 @@ Les images existent en trois formats : carré, paysage en 3:2 et portrait en 2:
Chaque image est facturée à ton organisation et compte, comme le reste de l’exécution, pour la personne qui l’a lancée. Un tour d’agent crée au plus 16 images, une requête à la fois, et ses images puisent dans la même enveloppe que l’usage du modèle pendant ce tour : le coût de chaque image est retiré de ce que le modèle peut encore dépenser, et une fois l’enveloppe épuisée, Tale refuse l’image suivante. Une limite de budget qui s’applique à cette personne refuse l’image avant l’appel au modèle d’images. Fixe des limites de coût ou de requêtes pour les images dans [Politiques et limites](/fr/platform/admin/governance/policies-and-limits) ; [Comment l’usage est compté](/fr/platform/admin/governance/usage-attribution) explique pour qui chaque image compte. Le fichier de politique et les endpoints d’images personnalisés sont décrits dans la [référence des fournisseurs auto-hébergés](/fr/self-hosted/configuration/providers#configure-image-generation).
+## Fournir un agent standard {#standard-agent}
+
+Seuls les éditeurs et les rôles supérieurs peuvent ajouter des agents à un projet. Pour qu’un projet sans agents puisse quand même confier du travail à un agent, Tale y propose l’**agent standard** de l’organisation : toute personne qui peut ouvrir le projet peut lui confier une tâche, membres compris. Il est activé par défaut.
+
+
+
+
+
+
+
+- **Où il apparaît.** Dans un projet sans agents, **Assigné à** propose l’option **Agent standard**, et [Créer une tâche depuis le chat](/fr/platform/chat/basics#create-task-from-chat) l’assigne pour toi. Tale le met en place dans un projet dès que quelqu’un l’y choisit ou y confie la tâche d’un chat. L’onglet **Agents** du projet l’affiche ensuite avec le badge **Standard** ; [L’agent standard](/fr/platform/projects/project-agents#standard-agent) explique son fonctionnement.
+- **Avec quoi il fonctionne.** Quand **Harness** et **Modèle** sont sur **Automatique**, Tale choisit un modèle recommandé que la personne qui lance la tâche peut utiliser selon tes règles d’[accès aux modèles](#limiter-lacces-aux-modeles), et le fait tourner avec Claude Code, ou avec le harness auquel un modèle d’abonnement est lié. La ligne en bas de la section indique avec quoi il fonctionne pour toi. Choisis un harness ou un modèle pour l’imposer à tout le monde, puis enregistre les modifications en attente dans l’en-tête de la page.
+- **Ce qu’il sait.** Ses instructions intégrées lui demandent de faire ce que la tâche demande avec ses fichiers et ses commentaires, de livrer comme résultat de la tâche le document, la présentation, le tableur ou le PDF demandé, d’écrire dans la langue de la tâche et de poser sa question dans un commentaire quand la tâche n’est pas claire. Le texte saisi sous **Instructions** les remplace.
+- **Ce qu’il peut utiliser.** Les skills de documents `docx`, `pptx`, `xlsx` et `pdf` accessibles au projet, mais aucun des connecteurs, opérations de la plateforme ou secrets qu’un éditeur peut accorder à d’autres agents.
+
+Chaque exécution démarre avec les réglages en vigueur à ce moment-là ; un agent en cours garde ceux avec lesquels il a démarré. Un modèle choisi reste en vigueur même s’il devient indisponible, tout comme un modèle que l’accès aux modèles d’une personne lui refuse : l’agent standard ne démarre alors pas pour elle et indique pourquoi, et Tale ne passe pas à un autre modèle. Choisis un autre modèle ou **Automatique** et enregistre. Si aucun modèle qu’une personne peut utiliser ne peut le faire fonctionner, il ne démarre pas non plus pour elle : ajoute un accès dans [Fournisseurs IA](/fr/platform/admin/providers), ou vérifie son accès aux modèles.
+
+Désactive **Fournir un agent standard** pour ne plus le proposer ; la modification s’enregistre aussitôt et conserve tes choix. Les projets sans agents ne proposent alors aucun agent, et les tâches déjà confiées à un agent standard ne peuvent démarrer qu’une fois que tu le réactives. Le fichier de politique est décrit dans la [référence des fournisseurs auto-hébergés](/fr/self-hosted/configuration/providers#configure-the-standard-agent).
+
## Choisir le modèle de transcription audio
**Modèle de transcription audio** contrôle la transcription serveur des pièces jointes audio et vidéo, le recours à l’audio pour les liens vidéo sans sous-titres utilisables et la dictée dans les navigateurs sans reconnaissance vocale intégrée. La reconnaissance vocale du navigateur utilise son propre service et garde la priorité lorsqu’elle est prise en charge.
diff --git a/docs/fr/platform/agents/concepts.md b/docs/fr/platform/agents/concepts.md
index e3297447d8..0ebb178f44 100644
--- a/docs/fr/platform/agents/concepts.md
+++ b/docs/fr/platform/agents/concepts.md
@@ -19,7 +19,7 @@ Un chat de projet utilise toujours l’assistant de chat intégré. Choisir un p
Commence par une responsabilité dont tu peux évaluer le résultat, par exemple : « Examine les modifications, recherche les régressions et appuie tes constats sur des preuves. » Place-la dans les instructions permanentes. Le dépôt concerné, les fichiers, les critères d’acceptation et l’échéance appartiennent à chaque tâche.
-Un agent appartient à un seul projet. Les personnes qui peuvent lire le projet voient ses agents ; celles qui peuvent le modifier les gèrent tant qu’il est actif. Les noms doivent être uniques dans le projet, qui peut contenir jusqu’à 50 agents. Un autre projet demande une configuration distincte, même si le nom et les instructions sont identiques.
+Un agent appartient à un seul projet. Les personnes qui peuvent lire le projet voient ses agents ; celles qui peuvent le modifier les gèrent tant qu’il est actif. Les noms doivent être uniques dans le projet, qui peut contenir jusqu’à 50 agents. Un autre projet demande une configuration distincte, même si le nom et les instructions sont identiques. Un projet sans agents propres n’en est pas pour autant dépourvu : sauf si un admin l’a désactivé, l’[agent standard](/fr/platform/projects/project-agents#standard-agent) de l’organisation prend en charge ses tâches, avec des réglages qu’un admin choisit pour toute l’organisation.
## Comprendre la configuration
diff --git a/docs/fr/platform/chat/basics.md b/docs/fr/platform/chat/basics.md
index 07b13d9fbb..09006704a6 100644
--- a/docs/fr/platform/chat/basics.md
+++ b/docs/fr/platform/chat/basics.md
@@ -61,9 +61,9 @@ L’assistant peut rechercher des documents, entrées de connaissances, sites, c
## Transformer un chat en tâche {#create-task-from-chat}
-Quand une conversation aboutit à un travail qui demande un fichier, par exemple une présentation, un rapport ou un tableur, confie-le à un agent de projet. Sélectionne **Créer une tâche** dans l’en-tête de la conversation ; sur un écran étroit, choisis **Créer une tâche depuis le chat** dans le menu **⋯**. Si le chat est classé dans un projet, la tâche y est créée. Sinon, choisis d’abord le projet : **Avec un agent** liste les projets que tu peux ouvrir qui ont des agents, avec leur nombre, et chaque projet sous **Sans agent pour l’instant** indique qui peut en ajouter un.
+Quand une conversation aboutit à un travail qui demande un fichier, par exemple une présentation, un rapport ou un tableur, confie-le à un agent de projet. Sélectionne **Créer une tâche** dans l’en-tête de la conversation ; sur un écran étroit, choisis **Créer une tâche depuis le chat** dans le menu **⋯**. Si le chat est classé dans un projet, la tâche y est créée. Sinon, choisis d’abord le projet : **Avec un agent** liste les projets que tu peux ouvrir qui ont des agents, avec leur nombre. Un projet sans agents propres y figure avec **Agent standard** : sa tâche va à l’[agent standard](/fr/platform/projects/project-agents#standard-agent) de l’organisation. Quand l’agent standard ne peut pas fonctionner pour toi, par exemple parce qu’un Admin l’a désactivé, ces projets figurent plutôt sous **Sans agent pour l’instant**, chacun indiquant qui peut en ajouter un.
-La boîte de dialogue de la tâche s’ouvre avec ta dernière demande comme description, un lien vers le chat et les fichiers que tu as joints dans la conversation. Si le projet a un seul agent, il figure déjà sous **Assigné à** ; sinon, choisis-en un. Modifie ce que tu veux, puis sélectionne **Créer et démarrer l'agent** : la tâche est créée et l’agent s’y met aussitôt. **Créer seulement** la crée sans démarrer l’agent ; **Démarrer l'agent**, dans la tâche, le lance plus tard.
+La boîte de dialogue de la tâche s’ouvre avec ta dernière demande comme description, un lien vers le chat et les fichiers que tu as joints dans la conversation. Si le projet a un seul agent, ou s’il utilise l’agent standard, celui-ci figure déjà sous **Assigné à** ; sinon, choisis-en un. Modifie ce que tu veux, puis sélectionne **Créer et démarrer l'agent** : la tâche est créée et l’agent s’y met aussitôt. **Créer seulement** la crée sans démarrer l’agent ; **Démarrer l'agent**, dans la tâche, le lance plus tard.
@@ -81,7 +81,7 @@ La tâche apparaît ensuite au-dessus du champ de message du chat, avec ce qu’
Demande un tel fichier à l’assistant : il répond ce qui tient dans une réponse, puis te guide dans ces étapes pour tes propres projets, en nommant les boutons tels que tu les vois.
-Aucun projet que tu peux ouvrir n’a encore d’agent ? Un Éditeur ou un Admin en ajoute un dans l’onglet **Agents** du projet. En tant qu’Éditeur, tu peux aussi en ajouter un depuis la tâche : sous **Assigné à**, choisis **Créer un agent…**.
+Aucun projet que tu peux ouvrir ne propose d’agent ? Alors l’agent standard ne peut pas fonctionner pour toi : un Admin l’a peut-être désactivé dans [Gouvernance > Modèles](/fr/platform/admin/governance/content-models#standard-agent), ou aucun modèle que tu peux utiliser ne peut le faire fonctionner. Demande à un Admin ce qu’il en est, ou demande à un Éditeur ou à un Admin d’ajouter un agent dans l’onglet **Agents** du projet. En tant qu’Éditeur, tu peux aussi en ajouter un depuis la tâche : sous **Assigné à**, choisis **Créer un agent…**.
Seuls les fichiers de ta propre conversation suivent. Une tâche n’accepte que les fichiers téléversés par la personne qui la crée ; une tâche créée depuis un chat qu’une autre personne a partagé dans un projet commence donc sans eux.
diff --git a/docs/fr/platform/projects/project-agents.md b/docs/fr/platform/projects/project-agents.md
index d4e35ad325..0c7d2ba54a 100644
--- a/docs/fr/platform/projects/project-agents.md
+++ b/docs/fr/platform/projects/project-agents.md
@@ -3,7 +3,7 @@ title: Créer et gérer des agents de projet
description: Configure un agent réutilisable, accorde son équipement et démarre une tâche dont tu peux vérifier le résultat.
---
-Crée un agent de projet pour disposer d’un agent réutilisable sur les tâches du projet. Il associe un environnement de code, un modèle, des instructions et un équipement autorisé. Tu dois pouvoir modifier le projet actif. Les Membres voient les agents du projet dans son onglet **Agents**, qui leur indique de demander un nouvel agent à un Éditeur ou à un Admin. Seuls un Propriétaire ou un Admin peuvent changer les secrets accordés.
+Crée un agent de projet pour disposer d’un agent réutilisable sur les tâches du projet. Il associe un environnement de code, un modèle, des instructions et un équipement autorisé. Tu dois pouvoir modifier le projet actif. Les Membres voient les agents du projet dans son onglet **Agents**, qui leur indique de demander un nouvel agent à un Éditeur ou à un Admin. Tant qu’un projet n’a pas d’agents propres, ses tâches peuvent aller à l’[agent standard](#standard-agent) de l’organisation. Seuls un Propriétaire ou un Admin peuvent changer les secrets accordés.
## Préparer la première tâche
@@ -75,8 +75,22 @@ Le compte rendu apparaît dans les commentaires et les fichiers collectés sont
L’[automatisation des tâches](/fr/platform/projects/task-automation) explique le suivi, l’arrêt et la revue. L’assistant de chat ordinaire reste distinct, même avec un contexte de projet.
+## L’agent standard {#standard-agent}
+
+Un projet sans agents propres peut quand même confier du travail à un agent. Sauf si un Admin l’a désactivé dans [Gouvernance > Modèles](/fr/platform/admin/governance/content-models#standard-agent), **Assigné à** y propose l’option **Agent standard**, à toutes les personnes qui peuvent assigner la tâche, Membres compris. La première fois que quelqu’un la choisit, Tale met l’agent en place dans le projet et lui assigne la tâche. Tu le démarres ensuite comme n’importe quel autre agent, ou tu le mentionnes dans un commentaire. S’il ne peut pas démarrer pour toi, le champ de commentaire te le signale, et ton commentaire est enregistré comme une simple mention.
+
+
+
+
+
+
+
+L’onglet **Agents** l’affiche avec le badge **Standard**. Personne ne le modifie : son harness, son modèle et ses instructions suivent les réglages de l’organisation, relus à chaque démarrage d’une exécution, et son équipement se limite aux skills de documents `docx`, `pptx`, `xlsx` et `pdf` du projet. Sur **Automatique**, chaque exécution utilise un modèle que la personne qui la démarre peut utiliser ; il peut donc fonctionner avec des modèles différents selon les personnes.
+
+Pour donner au projet un agent propre, choisis **Nouvel agent**. Dès lors, le projet ne propose plus l’agent standard ; celui déjà mis en place reste assignable jusqu’à ce que tu le supprimes. Sa suppression conserve l’historique de ses tâches, et tant que le projet n’a pas d’agents, la prochaine tâche confiée à l’agent standard le remet en place.
+
## Modifier ou retirer un agent
-Utilise le menu de sa ligne pour le modifier ou le supprimer. Les changements concernent les prochaines exécutions ; une exécution active conserve sa configuration initiale. La suppression retire les affectations à l’agent mais conserve l’historique des tâches. Elle efface aussi les [espaces de travail de sandbox](/fr/platform/admin/sandboxes#explain-why-a-workspace-disappeared) de l’agent avec leurs fichiers, y compris ceux des Membres. Examine le travail en cours et conserve les résultats nécessaires avant de retirer l’agent concerné.
+Utilise le menu de sa ligne pour le modifier ou le supprimer. L’agent standard n’a que **Supprimer l'agent**. Les changements concernent les prochaines exécutions ; une exécution active conserve sa configuration initiale. La suppression retire les affectations à l’agent mais conserve l’historique des tâches. Elle efface aussi les [espaces de travail de sandbox](/fr/platform/admin/sandboxes#explain-why-a-workspace-disappeared) de l’agent avec leurs fichiers, y compris ceux des Membres. Examine le travail en cours et conserve les résultats nécessaires avant de retirer l’agent concerné.
Si la création échoue, lis la cause affichée : un nom déjà utilisé, un accès au projet manquant, un modèle indisponible et un skill invisible sont des problèmes distincts. Une exécution qui échoue définitivement indique en haut de sa tâche ce qui s’est passé et qui peut y remédier ; [Quand l’agent ne peut pas terminer](/fr/platform/projects/task-automation#quand-lagent-ne-peut-pas-terminer) détaille les cas. Modifier les instructions ne résout pas ces prérequis.
diff --git a/docs/fr/platform/projects/tasks.md b/docs/fr/platform/projects/tasks.md
index 4560b2a23c..db75c8c5be 100644
--- a/docs/fr/platform/projects/tasks.md
+++ b/docs/fr/platform/projects/tasks.md
@@ -76,7 +76,13 @@ L’exécution peut toujours lire les tâches et les connaissances du projet, et
Assigner un agent et lancer son exécution sont deux choix distincts. Après l’assignation, clique sur **Démarrer l'agent** ou passe la tâche à **En cours**. Lis [Automatiser les tâches](/fr/platform/projects/task-automation) avant de lancer un travail qui utilise des services connectés ou produit des fichiers.
-Si le projet n’a pas encore d’agent, **Assigné à** l’indique. Les Éditeurs et les rôles supérieurs choisissent **Créer un agent…** : **Nouvel agent** s’ouvre par-dessus la tâche, et l’agent que tu crées lui est assigné. Les Membres sont invités à demander à un Éditeur ou à un Admin d’en ajouter un dans l’onglet **Agents** du projet.
+Si le projet n’a pas d’agent propre, **Assigné à** propose l’option **Agent standard**, l’agent de l’organisation pour ces projets. La choisir met l’agent en place dans le projet et lui assigne la tâche ; [L’agent standard](/fr/platform/projects/project-agents#standard-agent) explique son fonctionnement. Les Éditeurs et les rôles supérieurs peuvent plutôt choisir **Créer un agent…** : **Nouvel agent** s’ouvre par-dessus la tâche, et l’agent que tu crées lui est assigné. Quand l’agent standard ne peut pas fonctionner pour eux, par exemple parce qu’un Admin l’a désactivé, les Membres sont invités à demander à un Éditeur ou à un Admin d’ajouter un agent dans l’onglet **Agents** du projet.
+
+
+
+
+
+
Le relecteur reçoit la demande de revue, sans être le seul autorisé à décider. Toute autre personne qui peut modifier la tâche peut aussi accepter le résultat : un Éditeur ou un rôle supérieur, ou le Membre à qui la tâche appartient. Si ton organisation exige une relecture indépendante, la personne qui a démarré l’exécution d’agent examinée ne peut toutefois pas en accepter le résultat ; quand aucune exécution d’agent n’a produit le résultat, c’est la personne qui a créé la tâche qui ne le peut pas. Une exécution qu’un Membre a démarrée sur sa propre tâche attend alors un Éditeur ou un rôle supérieur, tandis que le Membre peut toujours accepter une exécution qu’un Éditeur y a démarrée.
diff --git a/docs/fr/self-hosted/configuration/providers.md b/docs/fr/self-hosted/configuration/providers.md
index 81277f7dbf..d9af9a29fb 100644
--- a/docs/fr/self-hosted/configuration/providers.md
+++ b/docs/fr/self-hosted/configuration/providers.md
@@ -80,6 +80,27 @@ La réponse `/models` d’un endpoint personnalisé compatible OpenAI doit décl
Un tour d’agent crée au plus 16 images et n’exécute qu’une génération à la fois. Avant chaque appel, Tale réserve 0,25 USD par image sur l’enveloppe du tour et les plafonds de budget, puis enregistre le coût indiqué à la place de cette réserve à la fin de l’appel. La clé de passerelle du tour cède le même montant sur son plafond, de sorte que le modèle et les images restent ensemble dans une seule enveloppe ; si la passerelle ne peut pas abaisser ce plafond, l’image est refusée. Un tour qui passe par un abonnement fournisseur n’a pas d’enveloppe de passerelle : ses images sont mesurées par rapport à l’enveloppe que l’installation accorde par défaut à un tour.
+## Configurer l’agent standard {#configure-the-standard-agent}
+
+La politique de l’organisation se trouve dans `TALE_CONFIG_DIR//governance/standard-agent.yml`, avec le type de politique `standard_agent`. La [page Modèles](/fr/platform/admin/governance/content-models#standard-agent) modifie les mêmes réglages. Une nouvelle organisation reçoit l’agent standard activé, et un fichier absent signifie aussi qu’il est activé :
+
+```yaml
+enabled: true
+```
+
+Fixe le harness, le modèle ou les deux, et remplace les instructions intégrées :
+
+```yaml
+enabled: true
+harness: claude-code
+providerSlug: anthropic
+modelId: claude-sonnet-5
+instructions: |
+ Écris dans le style de la maison. Livre chaque document au format Word.
+```
+
+`harness` prend le slug d’un environnement qu’un agent de projet peut utiliser, par exemple `claude-code` ou `codex` ; la page Modèles refuse les autres. Un modèle fixé demande à la fois `providerSlug` et `modelId`. Une fixation partielle, un champ inconnu ou des instructions de plus de 20 000 caractères sont invalides. Un fichier invalide ou illisible empêche tout agent standard de démarrer, et la page Modèles nomme le problème ; il n’est jamais lu comme activé. Un modèle fixé indisponible ne bascule jamais vers un autre modèle, pas plus qu’un modèle que l’accès aux modèles d’une personne lui refuse. La politique est lue à chaque démarrage d’une exécution : une modification s’applique donc à l’exécution suivante. Avec `enabled: false`, les agents standard déjà mis en place restent dans leurs projets, mais aucun ne démarre.
+
## Vérifier l’accès aux modèles depuis la sandbox
Le chat appelle un fournisseur depuis le backend. Les agents de programmation passent par `sandbox-llm-gateway` : un chat réussi ne valide donc pas leur connexion. L’endpoint doit être résolvable et joignable depuis le backend et la passerelle. Chaque client HTTPS doit faire confiance à son certificat. Un nom comme `https://models.internal/v1` exige lui aussi l’autorisation des fournisseurs privés lorsque le DNS renvoie une adresse privée. HTTP reste limité aux formes d’hôtes acceptées par le schéma, comme une IP privée, `localhost` ou `.local`.
diff --git a/docs/fr/tutorials/member/use-projects.md b/docs/fr/tutorials/member/use-projects.md
index 0b631c37e2..988bc3c20f 100644
--- a/docs/fr/tutorials/member/use-projects.md
+++ b/docs/fr/tutorials/member/use-projects.md
@@ -7,7 +7,7 @@ Un projet réunit les fichiers, les instructions, les conversations et les tâch
## Avant de commencer
-En tant que **Membre**, tu travailles dans les projets partagés avec toi : tu poses des questions dans leurs chats, tu partages des conversations et tu crées des tâches pour les agents du projet. Prends un projet que tu peux ouvrir, avec un fichier de référence indexé et au moins un agent, puis commence à [Poser une question et vérifier la source](#poser-une-question-et-verifier-la-source). Créer un projet, importer ses fichiers, enregistrer ses instructions et ajouter des agents demandent le rôle **Éditeur** ou supérieur ; si tu prépares le projet, commence à [Préparer le projet](#preparer-le-projet). Il te faut un court document texte, un PDF dont le texte est sélectionnable ou un fichier Office récent. Choisis un contenu vérifiable, par exemple un brief qui nomme une personne responsable et une date de revue. Un admin doit avoir configuré le stockage documentaire et un modèle d’embedding pour rendre les fichiers consultables.
+En tant que **Membre**, tu travailles dans les projets partagés avec toi : tu poses des questions dans leurs chats, tu partages des conversations et tu crées des tâches pour les agents du projet. Prends un projet que tu peux ouvrir, avec un fichier de référence indexé, puis commence à [Poser une question et vérifier la source](#poser-une-question-et-verifier-la-source). Un projet sans agents propres confie ses tâches à l’[agent standard](/fr/platform/projects/project-agents#standard-agent) de l’organisation, sauf si un admin l’a désactivé. Créer un projet, importer ses fichiers, enregistrer ses instructions et ajouter des agents demandent le rôle **Éditeur** ou supérieur ; si tu prépares le projet, commence à [Préparer le projet](#preparer-le-projet). Il te faut un court document texte, un PDF dont le texte est sélectionnable ou un fichier Office récent. Choisis un contenu vérifiable, par exemple un brief qui nomme une personne responsable et une date de revue. Un admin doit avoir configuré le stockage documentaire et un modèle d’embedding pour rendre les fichiers consultables.
Les nouveaux projets sont accessibles à **Toute l'organisation**. Utilise un document sans données sensibles pour ce parcours. Si ton projet doit être restreint, choisis son équipe propriétaire sous **Général > Partage** avant d’importer ses fichiers. Les chats du projet restent personnels tant que tu ne les partages pas.
@@ -50,7 +50,7 @@ Clique sur **Enregistrer** en haut de la page. Ces instructions font partie du c
-La dernière partie de ce parcours demande aussi un agent dans le projet. [Agents du projet](/fr/platform/projects/project-agents) explique comment en ajouter un.
+La dernière partie de ce parcours confie une tâche à un agent : l’un des agents du projet ou, tant qu’il n’en a pas, l’[agent standard](/fr/platform/projects/project-agents#standard-agent) de l’organisation. [Agents du projet](/fr/platform/projects/project-agents) explique comment en ajouter un.
## Poser une question et vérifier la source
@@ -78,7 +78,7 @@ Le chat répond aux questions ; il ne produit pas de fichiers. Quand la répons
1. Dans l’en-tête de la conversation, sélectionne **Créer une tâche**. Comme le chat appartient à ce projet, **Créer une tâche** s’y ouvre, avec ta dernière question comme description, un lien vers le chat et les fichiers que tu as joints.
2. Reformule la description en résultat attendu, par exemple : `Rédige à partir du brief une synthèse de lancement d’une page au format Word. Cite le brief pour chaque date.`
-3. Sous **Assigné à**, choisis l’un des agents du projet si aucun n’est encore choisi, puis sélectionne **Créer et démarrer l'agent**.
+3. Sous **Assigné à**, choisis l’un des agents du projet si aucun n’est encore choisi ; dans un projet sans agents propres, l’agent standard l’est déjà. Sélectionne ensuite **Créer et démarrer l'agent**.
4. Suis l’exécution au-dessus du champ de message du chat ; **Ouvrir** te mène alors à la tâche.
À la fin de l’exécution, le rapport de l’agent se trouve dans les commentaires de la tâche, le fichier sous **Fichiers produits**, et la tâche attend en **En revue**. Mentionne l’agent avec `@` dans un commentaire pour demander des modifications, et passe la tâche à **Terminé** lorsque le résultat correspond à la description.
diff --git a/packages/shared/src/schemas/governance.test.ts b/packages/shared/src/schemas/governance.test.ts
index 4e53337e04..fc63d6bcef 100644
--- a/packages/shared/src/schemas/governance.test.ts
+++ b/packages/shared/src/schemas/governance.test.ts
@@ -20,6 +20,7 @@ import {
reviewPolicyConfigSchema,
skillOrgWideModeOf,
skillSharingConfigSchema,
+ standardAgentConfigSchema,
transcriptionModelConfigSchema,
visionModelConfigSchema,
} from './governance';
@@ -490,6 +491,49 @@ describe('imageGenerationConfigSchema', () => {
});
});
+describe('standardAgentConfigSchema', () => {
+ it('is registered as the standard_agent policy schema', () => {
+ expect(POLICY_SCHEMAS.standard_agent).toBe(standardAgentConfigSchema);
+ });
+
+ it('reads on with everything automatic, and every pin', () => {
+ expect(standardAgentConfigSchema.parse({ enabled: true })).toEqual({
+ enabled: true,
+ });
+ const pinned = {
+ enabled: true,
+ harness: 'codex',
+ providerSlug: 'openai',
+ modelId: 'gpt-5.5',
+ instructions: 'Answer in the language of the task.',
+ };
+ expect(standardAgentConfigSchema.parse(pinned)).toEqual(pinned);
+ });
+
+ it('keeps its pins while switched off, so switching it on restores them', () => {
+ const parked = {
+ enabled: false,
+ harness: 'claude-code',
+ providerSlug: 'anthropic',
+ modelId: 'claude-sonnet-5',
+ };
+ expect(standardAgentConfigSchema.parse(parked)).toEqual(parked);
+ });
+
+ it.each([
+ {},
+ { enabled: 'yes' },
+ { enabled: true, providerSlug: 'openai' },
+ { enabled: true, modelId: 'gpt-5.5' },
+ { enabled: true, harness: '' },
+ { enabled: true, instructions: '' },
+ { enabled: true, instructions: 'x'.repeat(20_001) },
+ { enabled: true, model: 'misspelled-pin' },
+ ])('refuses a config that cannot be routed or read: %j', (config) => {
+ expect(standardAgentConfigSchema.safeParse(config).success).toBe(false);
+ });
+});
+
describe('reviewPolicyConfigSchema', () => {
it('accepts the empty config — a missing file and no requirement mean the same thing', () => {
const parsed = reviewPolicyConfigSchema.safeParse({});
diff --git a/packages/shared/src/schemas/governance.ts b/packages/shared/src/schemas/governance.ts
index 135df61cd9..e76027d60c 100644
--- a/packages/shared/src/schemas/governance.ts
+++ b/packages/shared/src/schemas/governance.ts
@@ -81,6 +81,10 @@ export const POLICY_TYPES = [
// may generate images, and with which model. Missing file ⇒ off — the
// capability is opt-in. See `imageGenerationConfigSchema`.
'image_generation',
+ // The organization's standard agent: the project agent Tale provides in
+ // every project that has none of its own. Missing file ⇒ on, runtime and
+ // model automatic. See `standardAgentConfigSchema`.
+ 'standard_agent',
// Independent-review requirements for the task-review gate. Missing row /
// empty config ⇒ no extra requirement — anyone with project edit access
// may approve, exactly as today. See `reviewPolicyConfigSchema`; enforced
@@ -407,6 +411,40 @@ export const imageGenerationConfigSchema = z
);
export type ImageGenerationConfig = z.infer;
+/**
+ * The organization's standard agent — the project agent Tale provides in
+ * every project that has none of its own, so work can go to an agent before
+ * anyone sets one up (`backend/domains/projects/standard-agent.ts`).
+ *
+ * On by default: a missing file and `enabled: true` both mean ON. Off, no
+ * project offers it and a task already given to it cannot start. The
+ * runtime (`harness`) and the model are each automatic when absent: the
+ * platform picks a model the person starting the run may use, run by Claude
+ * Code (or by the runtime a subscription-served model is bound to). Pin both
+ * `providerSlug` and `modelId`, or neither; the write door checks `harness`
+ * against the runtimes a project agent may use. Pins may stay while the
+ * policy is off, so switching it back on restores them. `instructions`
+ * replaces the built-in standing instructions.
+ */
+export const standardAgentConfigSchema = z
+ .object({
+ enabled: z.boolean(),
+ harness: z.string().min(1).max(64).optional(),
+ providerSlug: z.string().min(1).max(64).optional(),
+ modelId: z.string().min(1).max(200).optional(),
+ instructions: z.string().min(1).max(20_000).optional(),
+ })
+ .strict()
+ .refine(
+ (config) =>
+ (config.providerSlug === undefined) === (config.modelId === undefined),
+ {
+ message:
+ 'pin both providerSlug and modelId, or neither (neither = automatic selection)',
+ },
+ );
+export type StandardAgentConfig = z.infer;
+
export const uploadPolicyConfigSchema = z.object({
enabled: z.boolean(),
allowedExtensions: z.array(z.string()).optional(),
@@ -1222,6 +1260,7 @@ export const POLICY_SCHEMAS = {
vision_model: visionModelConfigSchema,
transcription_model: transcriptionModelConfigSchema,
image_generation: imageGenerationConfigSchema,
+ standard_agent: standardAgentConfigSchema,
review_policy: reviewPolicyConfigSchema,
embedding: embeddingConfigSchema,
skill_sharing: skillSharingConfigSchema,
diff --git a/services/docs/app/content/frontmatter.json b/services/docs/app/content/frontmatter.json
index 285ed1230a..cb323969ac 100644
--- a/services/docs/app/content/frontmatter.json
+++ b/services/docs/app/content/frontmatter.json
@@ -290,7 +290,7 @@
"locale": "de",
"frontmatter": {
"title": "Modelle",
- "description": "Lege Standardmodelle fest, begrenze den Zugriff und wähle getrennte Modelle für Bilder und Audiotranskription."
+ "description": "Lege Standardmodelle fest, begrenze den Zugriff, wähle getrennte Modelle für Bilder und Audiotranskription und richte den Standard-Agenten für Projekte ohne Agenten ein."
}
},
"de:platform/admin/governance/data-subject-requests": {
@@ -1451,7 +1451,7 @@
"locale": "en",
"frontmatter": {
"title": "Models",
- "description": "Set default models, restrict access, and choose separate models for images and audio transcription."
+ "description": "Set default models, restrict access, choose separate models for images and audio transcription, and set up the standard agent for projects without agents."
}
},
"en:platform/admin/governance/data-subject-requests": {
@@ -2612,7 +2612,7 @@
"locale": "fr",
"frontmatter": {
"title": "Modèles",
- "description": "Définis les modèles par défaut, limite leur accès et choisis des modèles distincts pour les images et la transcription audio."
+ "description": "Définis les modèles par défaut, limite leur accès, choisis des modèles distincts pour les images et la transcription audio, et mets en place l’agent standard des projets sans agents."
}
},
"fr:platform/admin/governance/data-subject-requests": {
diff --git a/services/docs/public/images/manifest.json b/services/docs/public/images/manifest.json
index 48edc79866..cdd75c9f69 100644
--- a/services/docs/public/images/manifest.json
+++ b/services/docs/public/images/manifest.json
@@ -408,6 +408,18 @@
"width": 1538,
"height": 356
},
+ {
+ "file": "images/platform/governance-standard-agent.webp",
+ "shot": "governance-standard-agent",
+ "route": "/dashboard/:orgId/settings/governance/content-models",
+ "viewport": {
+ "width": 1440,
+ "height": 900
+ },
+ "dpr": 2,
+ "width": 1538,
+ "height": 954
+ },
{
"file": "images/platform/home-inbox.webp",
"shot": "home-inbox",
@@ -492,6 +504,18 @@
"width": 2880,
"height": 1800
},
+ {
+ "file": "images/platform/project-agents-standard.webp",
+ "shot": "project-agents-standard",
+ "route": "/dashboard/:orgId/projects",
+ "viewport": {
+ "width": 1440,
+ "height": 900
+ },
+ "dpr": 2,
+ "width": 2880,
+ "height": 1800
+ },
{
"file": "images/platform/project-general-tab.webp",
"shot": "project-general-tab",
@@ -540,6 +564,18 @@
"width": 2880,
"height": 1800
},
+ {
+ "file": "images/platform/project-task-standard-agent.webp",
+ "shot": "project-task-standard-agent",
+ "route": "/dashboard/:orgId/projects",
+ "viewport": {
+ "width": 1440,
+ "height": 900
+ },
+ "dpr": 2,
+ "width": 1056,
+ "height": 798
+ },
{
"file": "images/platform/projects-task-board.webp",
"shot": "projects-task-board",
diff --git a/services/docs/public/images/platform/governance-standard-agent.webp b/services/docs/public/images/platform/governance-standard-agent.webp
new file mode 100644
index 0000000000..8ed8bf8fc9
Binary files /dev/null and b/services/docs/public/images/platform/governance-standard-agent.webp differ
diff --git a/services/docs/public/images/platform/project-agents-standard.webp b/services/docs/public/images/platform/project-agents-standard.webp
new file mode 100644
index 0000000000..9045a08796
Binary files /dev/null and b/services/docs/public/images/platform/project-agents-standard.webp differ
diff --git a/services/docs/public/images/platform/project-task-standard-agent.webp b/services/docs/public/images/platform/project-task-standard-agent.webp
new file mode 100644
index 0000000000..88791b96f4
Binary files /dev/null and b/services/docs/public/images/platform/project-task-standard-agent.webp differ
diff --git a/services/platform/app/features/chat/components/create-task-from-chat.test.tsx b/services/platform/app/features/chat/components/create-task-from-chat.test.tsx
index 6f571e6909..cf412efcc7 100644
--- a/services/platform/app/features/chat/components/create-task-from-chat.test.tsx
+++ b/services/platform/app/features/chat/components/create-task-from-chat.test.tsx
@@ -21,6 +21,12 @@ const state = vi.hoisted(() => ({
messages: [] as ChatMessageView[],
navigate: vi.fn(),
toast: vi.fn(),
+ standardAgent: { enabled: true, available: false } as {
+ enabled: boolean;
+ available: boolean;
+ },
+ standardAgentLoading: false,
+ ensure: vi.fn(),
}));
vi.mock('../data/chat-backend', () => ({
@@ -41,6 +47,15 @@ vi.mock('@/app/features/projects/hooks/queries', () => ({
projectId === undefined ? [] : (state.agentsByProject[projectId] ?? []),
isLoading: false,
}),
+ useStandardAgentQuery: () => ({
+ data: state.standardAgentLoading ? undefined : state.standardAgent,
+ isLoading: state.standardAgentLoading,
+ failureCount: 0,
+ }),
+}));
+
+vi.mock('@/app/features/projects/hooks/mutations', () => ({
+ useEnsureStandardAgent: () => ({ mutateAsync: state.ensure }),
}));
vi.mock('@tanstack/react-router', async (importOriginal) => ({
@@ -140,6 +155,9 @@ function open(props: { projectId?: string; viewerIsOwner?: boolean } = {}) {
beforeEach(() => {
state.projects = [WEBSITE, HANDBOOK];
state.agentsByProject = {};
+ state.standardAgent = { enabled: true, available: false };
+ state.standardAgentLoading = false;
+ state.ensure.mockReset();
state.projectsFailed = false;
state.messages = conversation();
state.navigate.mockReset();
@@ -258,6 +276,79 @@ describe('CreateTaskFromChat', () => {
).toBeInTheDocument();
});
+ it('lists a project without agents as one the standard agent takes, while the organization provides it', async () => {
+ state.standardAgent = { enabled: true, available: true };
+ state.projects = [
+ { ...WEBSITE, agentCount: 2, canEdit: false },
+ { ...HANDBOOK, agentCount: 0, canEdit: false },
+ ];
+ const { user } = open();
+
+ await user.click(screen.getByRole('button', { name: /^Project/ }));
+
+ expect(screen.getByText('With an agent')).toBeInTheDocument();
+ expect(screen.queryByText('No agent yet')).not.toBeInTheDocument();
+ expect(
+ screen.getByRole('option', { name: /Employee handbook.*Standard agent/ }),
+ ).toBeInTheDocument();
+ });
+
+ it('adds the standard agent to the chosen project and hands it the task', async () => {
+ state.standardAgent = { enabled: true, available: true };
+ state.ensure.mockResolvedValue({
+ agentId: 'agent-standard',
+ created: true,
+ });
+ state.projects = [
+ { ...WEBSITE, agentCount: 2 },
+ { ...HANDBOOK, agentCount: 0 },
+ ];
+ const { user } = open();
+
+ await user.click(screen.getByRole('button', { name: /^Project/ }));
+ await user.click(screen.getByRole('option', { name: /Employee handbook/ }));
+ await user.click(screen.getByRole('button', { name: 'Continue' }));
+
+ expect(await screen.findByTestId('assignee')).toHaveTextContent(
+ 'agent-standard',
+ );
+ expect(state.ensure).toHaveBeenCalledWith({ projectId: HANDBOOK.id });
+ expect(screen.getByTestId('start')).toHaveTextContent('true');
+ });
+
+ it('opens nothing until it knows whether the standard agent takes the work', () => {
+ state.standardAgentLoading = true;
+ state.projects = [{ ...HANDBOOK, agentCount: 0 }];
+ open({ projectId: HANDBOOK.id });
+
+ // Neither an unassigned form that would open again assigned, nor a
+ // standard agent set up before the answer.
+ expect(screen.queryByTestId('project')).not.toBeInTheDocument();
+ expect(state.ensure).not.toHaveBeenCalled();
+ });
+
+ it('opens the task unassigned, saying why, when the standard agent cannot be added', async () => {
+ const warn = vi.spyOn(console, 'warn').mockImplementation(() => {});
+ state.standardAgent = { enabled: true, available: true };
+ state.ensure.mockRejectedValue(
+ Object.assign(new Error('off'), {
+ data: { code: 'STANDARD_AGENT_OFF' },
+ }),
+ );
+ state.projects = [{ ...HANDBOOK, agentCount: 0 }];
+ open();
+
+ expect(await screen.findByTestId('project')).toHaveTextContent(HANDBOOK.id);
+ expect(screen.getByTestId('assignee')).toBeEmptyDOMElement();
+ expect(state.toast).toHaveBeenCalledWith(
+ expect.objectContaining({
+ title: expect.stringContaining('standard agent is switched off'),
+ variant: 'destructive',
+ }),
+ );
+ warn.mockRestore();
+ });
+
it('picks the one project with an agent in advance', async () => {
state.projects = [
{ ...WEBSITE, agentCount: 1 },
diff --git a/services/platform/app/features/chat/components/create-task-from-chat.tsx b/services/platform/app/features/chat/components/create-task-from-chat.tsx
index 1155763ccc..01311a53fa 100644
--- a/services/platform/app/features/chat/components/create-task-from-chat.tsx
+++ b/services/platform/app/features/chat/components/create-task-from-chat.tsx
@@ -10,9 +10,11 @@
* The hand-over is meant to finish: the project step says which projects
* have an agent (and who could add one where there is none), a lone project
* is taken without asking, a project's only agent is picked, and the dialog's
- * main verb creates the task AND starts the agent. The task names this
- * conversation as its source, so the chat keeps a live row of it
- * (`ChatTaskTray`).
+ * main verb creates the task AND starts the agent. A project with no agent
+ * of its own gets the organization's standard agent, when the organization
+ * provides one: going on into it creates the agent there and picks it. The
+ * task names this conversation as its source, so the chat keeps a live row
+ * of it (`ChatTaskTray`).
*/
import * as ToastPrimitives from '@radix-ui/react-toast';
@@ -23,10 +25,15 @@ import { SearchableSelect } from '@tale/ui/searchable-select';
import { Text } from '@tale/ui/text';
import { toast } from '@tale/ui/use-toast';
import { useNavigate } from '@tanstack/react-router';
-import { useMemo, useState } from 'react';
+import { useEffect, useMemo, useState } from 'react';
-import { useProjectAgents } from '@/app/features/projects/hooks/queries';
+import { useEnsureStandardAgent } from '@/app/features/projects/hooks/mutations';
+import {
+ useProjectAgents,
+ useStandardAgentQuery,
+} from '@/app/features/projects/hooks/queries';
import { TaskModal } from '@/app/features/tasks/components/task-modal';
+import { taskRunErrorMessage } from '@/app/features/tasks/lib/task-run-error';
import { chatMessagesQuery } from '@/app/lib/backend/chat';
import { useT } from '@/lib/i18n/client';
@@ -67,6 +74,7 @@ export function CreateTaskFromChat({
}: CreateTaskFromChatProps) {
const { t } = useT('chat');
const { t: tCommon } = useT('common');
+ const { t: tTasks } = useT('tasks');
const navigate = useNavigate();
const projects = useChatProjects(organizationId);
const messages = useChatMessages(
@@ -85,7 +93,12 @@ export function CreateTaskFromChat({
? projectId
: undefined;
// Where work can go: projects with an agent first, then the rest, each
- // saying who could add one.
+ // saying who could add one — or, while the organization provides a
+ // standard agent, saying it takes the work there.
+ const standardAgentQuery = useStandardAgentQuery(
+ open ? organizationId : undefined,
+ );
+ const standardAgentAvailable = standardAgentQuery.data?.available === true;
const withAgents = listed.filter((row) => (row.agentCount ?? 0) > 0);
const withoutAgents = listed.filter((row) => (row.agentCount ?? 0) === 0);
// A lone project is the answer; asking would be a step with one choice.
@@ -95,18 +108,72 @@ export function CreateTaskFromChat({
: undefined;
const [pickedProjectId, setPickedProjectId] = useState(null);
// Pre-picked when exactly one project has an agent: that is where the
- // work can start.
+ // work can start. With a standard agent, every project has one.
+ const startable = standardAgentAvailable ? listed : withAgents;
const pickedOrDefault =
pickedProjectId ??
- (withAgents.length === 1 ? (withAgents[0]?.id ?? null) : null);
+ (startable.length === 1 ? (startable[0]?.id ?? null) : null);
const [chosenProjectId, setChosenProjectId] = useState(
undefined,
);
const targetProjectId = homeProjectId ?? onlyProjectId ?? chosenProjectId;
// The target project's agents: its only one is picked for the person.
const agents = useProjectAgents(open ? targetProjectId : undefined);
+ // A target with none of its own gets the organization's standard agent,
+ // created once the person has chosen the project — so the form opens with
+ // it picked, as with any project's only agent. A refusal opens the form
+ // unassigned and says why.
+ const { mutateAsync: ensureStandardAgent } = useEnsureStandardAgent();
+ const [standardAgent, setStandardAgent] = useState<
+ { projectId: string; agentId: string | null } | undefined
+ >(undefined);
+ const needsStandardAgent =
+ open &&
+ targetProjectId !== undefined &&
+ standardAgentAvailable &&
+ !agents.isLoading &&
+ agents.agents.length === 0;
+ useEffect(() => {
+ if (!needsStandardAgent || targetProjectId === undefined) return undefined;
+ if (standardAgent?.projectId === targetProjectId) return undefined;
+ let cancelled = false;
+ ensureStandardAgent({ projectId: targetProjectId }).then(
+ ({ agentId }) => {
+ if (!cancelled)
+ setStandardAgent({ projectId: targetProjectId, agentId });
+ },
+ (error: unknown) => {
+ console.warn(
+ '[chat] the standard agent could not be added for the hand-over',
+ error,
+ );
+ if (cancelled) return;
+ setStandardAgent({ projectId: targetProjectId, agentId: null });
+ toast({
+ title:
+ taskRunErrorMessage(error, tTasks) ?? tCommon('errors.generic'),
+ variant: 'destructive',
+ });
+ },
+ );
+ return () => {
+ cancelled = true;
+ };
+ }, [
+ ensureStandardAgent,
+ needsStandardAgent,
+ standardAgent?.projectId,
+ targetProjectId,
+ tCommon,
+ tTasks,
+ ]);
+ const ensuredAgentId =
+ standardAgent?.projectId === targetProjectId
+ ? (standardAgent?.agentId ?? undefined)
+ : undefined;
const onlyAgentId =
- agents.agents.length === 1 ? agents.agents[0]?._id : undefined;
+ ensuredAgentId ??
+ (agents.agents.length === 1 ? agents.agents[0]?._id : undefined);
// The draft is taken from a conversation that was actually read: the form
// keeps what it opened with, so a read that failed must not open it with
@@ -162,6 +229,7 @@ export function CreateTaskFromChat({
onOpenChange(false);
setPickedProjectId(null);
setChosenProjectId(undefined);
+ setStandardAgent(undefined);
};
const announce = (taskId: string, taskProjectId: string) => {
@@ -212,14 +280,26 @@ export function CreateTaskFromChat({
);
}
- if (projects.status === 'loading' || draft === undefined) {
+ // Whether the standard agent takes work decides how the projects group
+ // and whether the form opens assigned: wait for its first answer as for
+ // the list, so neither shows once one way and then again the other. A
+ // read that failed once goes on without it rather than through retries.
+ if (
+ projects.status === 'loading' ||
+ draft === undefined ||
+ (standardAgentQuery.isLoading && standardAgentQuery.failureCount === 0)
+ ) {
return null;
}
if (targetProjectId !== undefined) {
// The form reads its draft once, when it mounts: wait for the agent
- // list, so the project's one agent is already picked.
+ // list — and for the standard agent a project without one gets — so the
+ // project's one agent is already picked.
if (agents.isLoading) return null;
+ if (needsStandardAgent && standardAgent?.projectId !== targetProjectId) {
+ return null;
+ }
return (
0
+ ...(withAgents.length > 0 ||
+ (standardAgentAvailable && withoutAgents.length > 0)
? [
{
value: '__section:with-agents',
@@ -282,9 +363,18 @@ export function CreateTaskFromChat({
count: row.agentCount ?? 0,
}),
})),
+ // The organization's standard agent takes the work in
+ // a project with no agent of its own.
+ ...(standardAgentAvailable
+ ? withoutAgents.map((row) => ({
+ value: row.id,
+ label: row.name,
+ description: t('createTask.standardAgent'),
+ }))
+ : []),
]
: []),
- ...(withoutAgents.length > 0
+ ...(withoutAgents.length > 0 && !standardAgentAvailable
? [
{
value: '__section:without-agents',
diff --git a/services/platform/app/features/projects/components/project-agent-dialog.tsx b/services/platform/app/features/projects/components/project-agent-dialog.tsx
index eb2e5aaafc..89c78aaeeb 100644
--- a/services/platform/app/features/projects/components/project-agent-dialog.tsx
+++ b/services/platform/app/features/projects/components/project-agent-dialog.tsx
@@ -24,6 +24,7 @@ import {
import { failureDetail } from '@/app/lib/backend/adapters';
import { AGENT_TOOL_CATALOG } from '@/backend/core/sandbox/tool_names';
import { useT } from '@/lib/i18n/client';
+import { DOCUMENT_SKILL_SLUGS } from '@/lib/shared/document-skills';
import { AppError } from '@/lib/shared/errors/app-error';
import {
@@ -33,7 +34,6 @@ import {
import { useAgentSecrets, type AgentSecretSummary } from '../hooks/queries';
import type { ProjectAgentRow } from '../hooks/queries';
import { useUnpinnedServingPreview } from '../hooks/use-unpinned-serving-preview';
-import { DOCUMENT_SKILL_SLUGS } from '../lib/document-skills';
import { findSelectedModel, type ModelOption } from '../lib/model-options';
import { AgentSecretsField } from './agent-secrets-field';
diff --git a/services/platform/app/features/projects/components/project-agents-tab.test.tsx b/services/platform/app/features/projects/components/project-agents-tab.test.tsx
index d323574458..65e58d010f 100644
--- a/services/platform/app/features/projects/components/project-agents-tab.test.tsx
+++ b/services/platform/app/features/projects/components/project-agents-tab.test.tsx
@@ -11,7 +11,7 @@ vi.mock('@tale/ui/i18n/client', () => ({
}));
const { state } = vi.hoisted(() => ({
- state: { canEdit: true, agents: [] as unknown[] },
+ state: { canEdit: true, agents: [] as unknown[], standardAgent: false },
}));
vi.mock('../hooks/queries', () => ({
@@ -22,6 +22,10 @@ vi.mock('../hooks/queries', () => ({
useProjectAgents: () => ({ agents: state.agents, isLoading: false }),
useProjectHarnesses: () => ({ data: undefined }),
useProjectCapabilityCatalog: () => ({ data: undefined }),
+ useStandardAgent: () => ({
+ enabled: true,
+ available: state.standardAgent,
+ }),
}));
vi.mock('../hooks/mutations', () => ({
@@ -41,6 +45,7 @@ describe('ProjectAgentsTab', () => {
beforeEach(() => {
state.canEdit = true;
state.agents = [];
+ state.standardAgent = false;
});
it('invites an editor to add the first agent', () => {
@@ -75,4 +80,51 @@ describe('ProjectAgentsTab', () => {
screen.queryByRole('button', { name: 'projects.agents.newAgent' }),
).not.toBeInTheDocument();
});
+
+ it('says the standard agent takes the tasks of a project without agents, by who is looking', () => {
+ state.standardAgent = true;
+ const { unmount } = renderTab();
+
+ expect(
+ screen.getByText('projects.agents.standard.emptyTitle'),
+ ).toBeInTheDocument();
+ expect(
+ screen.getByText('projects.agents.standard.emptyBody'),
+ ).toBeInTheDocument();
+ unmount();
+
+ state.canEdit = false;
+ renderTab();
+ expect(
+ screen.getByText('projects.agents.standard.emptyReaderBody'),
+ ).toBeInTheDocument();
+ });
+
+ it('marks the standard agent and offers no edit for it, while it stays removable', () => {
+ state.agents = [
+ {
+ _id: 'agent-standard',
+ name: 'Standard agent',
+ harness: 'claude-code',
+ model: 'claude-sonnet-5',
+ skills: ['docx'],
+ connectors: [],
+ managed: true,
+ },
+ ];
+ renderTab();
+
+ expect(
+ screen.getByText('projects.agents.standard.badge'),
+ ).toBeInTheDocument();
+ expect(
+ screen.getByText('projects.agents.standard.managedNote'),
+ ).toBeInTheDocument();
+ expect(
+ screen.queryByRole('button', { name: 'projects.agents.rowEdit' }),
+ ).not.toBeInTheDocument();
+ expect(
+ screen.getByRole('button', { name: 'projects.agents.rowDelete' }),
+ ).toBeInTheDocument();
+ });
});
diff --git a/services/platform/app/features/projects/components/project-agents-tab.tsx b/services/platform/app/features/projects/components/project-agents-tab.tsx
index d6faca222e..9b57cfed2d 100644
--- a/services/platform/app/features/projects/components/project-agents-tab.tsx
+++ b/services/platform/app/features/projects/components/project-agents-tab.tsx
@@ -1,5 +1,6 @@
'use client';
+import { Badge } from '@tale/ui/badge';
import { Button } from '@tale/ui/button';
import { DeleteDialog } from '@tale/ui/dialog/delete-dialog';
import { EmptyState } from '@tale/ui/empty-state';
@@ -19,6 +20,7 @@ import {
useProjectAgents,
useProjectCapabilityCatalog,
useProjectHarnesses,
+ useStandardAgent,
} from '../hooks/queries';
import { toModelOptions, type ModelOption } from '../lib/model-options';
import { type HarnessOption, ProjectAgentDialog } from './project-agent-dialog';
@@ -40,6 +42,12 @@ interface ProjectAgentsTabProps {
* come from the same org-scoped composer actions, so the surfaces can never
* drift. (The fixed per-harness equipment list this tab used to be is
* retired — equipment now travels with the agent instance.)
+ *
+ * The organization's standard agent shows here too once someone handed the
+ * project work: marked, and without Edit — its runtime, model and
+ * instructions follow the organization's settings. Editors may remove it.
+ * A project without agents says the standard agent takes its tasks, while
+ * the organization provides one.
*/
export function ProjectAgentsTab({
organizationId,
@@ -50,6 +58,8 @@ export function ProjectAgentsTab({
const rosterQuery = useProjectHarnesses(organizationId);
const catalogQuery = useProjectCapabilityCatalog(organizationId, projectId);
const { agents, isLoading: agentsLoading } = useProjectAgents(projectId);
+ const standardAgentAvailable =
+ useStandardAgent(organizationId)?.available === true;
const { mutateAsync: deleteAgent } = useDeleteProjectAgent();
const [dialogOpen, setDialogOpen] = useState(false);
@@ -138,12 +148,26 @@ export function ProjectAgentsTab({
) : agents.length === 0 ? (
// Adding an agent is the editors'. A reader is told who can, not to
- // "give one a model" on a page that offers them no way to.
+ // "give one a model" on a page that offers them no way to — and,
+ // while the organization provides one, that its standard agent
+ // takes the project's tasks meanwhile.
) : (
@@ -173,7 +197,16 @@ export function ProjectAgentsTab({
/>
)}
- {agent.name}
+
+
+ {agent.name}
+
+ {agent.managed && (
+
+ {t('agents.standard.badge')}
+
+ )}
+
+ {agent.managed && (
+
+ {t('agents.standard.managedNote')}
+
+ )}
{canEdit ? (
-
+ {/* The standard agent's settings are the
+ organization's: removable here, not editable. */}
+ {!agent.managed && (
+
+ )}