Votre identité AI et votre équipe AI, portables sur toutes les plateformes AI.
Se connecter Commencer
Menu
Créer un Agent of Me Explorer les styles Agents Professionnels Agents de la communauté Classement Actualités AI
Plateformes AI Répertoire Model Matrix Comparer Quel AI devrais-je utiliser ? Guides d'intégration Configurer OpenClaw Prompt Fit
Formation & Outils Formation Interroger les données Agent Builder API
À propos À propos de nous Contact Avertissements
Se connecter Commencer
Compte
Votre identité AI, portable

Créez un compte gratuit pour construire votre profil. Privé par défaut. Rien n'est partagé sauf si vous le publiez.

Commencer Se connecter
Mode sombre

🧭 Vue guidée
Nouveaux aux prompts, instructions système, fenêtres de contexte, tokens ? Nous expliquons chaque terme au fil de votre navigation, en langage clair. Les mêmes pages, avec l'aide intégrée.

⚡ Vue expert
Vous savez déjà comment fonctionne le prompting. Juste l'essentiel, clair et compact, sans explications superflues. C'est la vue par défaut.

Langue de l'interface

Prompt Systems & Agents · Section 2/5, Designing a Specialist

Objectifs d'apprentissage
Appuyez sur Suivant (ou utilisez les touches fléchées) pour avancer une idée à la fois. Pas de minuteur, le quiz de 5 questions vous attend à la fin. La ← en haut permet de quitter à tout moment ; la progression est sauvegardée.

A job description, not a costume

An agent prompt is a reusable specialist: instructions that define a job, saved once, invoked whenever the job comes up. The complete design has five parts. ROLE: what the specialist is and is not. WORKFLOW: the steps it follows, in order. REQUIRED INPUTS: what it must be given, or must ask for, before starting. OUTPUT CONTRACT: the exact shape of what comes back. GUARDRAILS: what it never does, plus any disclaimers its domain demands.

Miss a part and the failure is predictable. No workflow: plausible but unmethodical answers. No required inputs: confident work built on guesses. No output contract: a different shape every time. No guardrails: the one bad day that makes you stop trusting it.

Why structure beats role-play

'You are an experienced contract lawyer' is a costume. It shifts vocabulary and confidence, mostly confidence, while the underlying work stays whatever the model felt like doing. The costume version sounds more expert without being more careful.

The structured version defines the work: 'Review the contract clause by clause. For each flagged clause: quote it, name the risk, rate severity, propose alternative wording. Ask for the governing jurisdiction if it is not stated. End with the three clauses to negotiate first, and note that this is not legal advice.' Same domain, but now the expertise is a procedure you can verify and improve.

Guardrails and worked examples

Guardrails are the never-do rules that hold on the bad day: 'never invent a citation', 'never state a deadline without naming its source', 'always include the not-legal-advice line'. Write them from failures you have seen or can predict. Each guardrail should have a story. Domains with real stakes (legal, medical, financial) also need their standing disclaimer built in, not remembered per prompt.

Then pin the behavior with one worked example: a sample input and the exact output you want for it, inside the agent prompt. You know why from earlier courses, patterns hold better than descriptions. One example tunes tone, depth and format at once, and each new failure mode becomes a new example or a new guardrail.

Version your agents

The first version of any agent is a hypothesis. You will meet inputs you did not predict and outputs that drift from the contract. So treat the prompt like the small piece of infrastructure it is: number the versions, change one thing at a time, keep one line per version on what changed and why.

The discipline pays off the first time an agent gets worse. With versions, you compare v4 against v3 and find the line that caused it; without them you are rewriting from memory. Versioning also makes agents shareable, a teammate can adopt v5 and report problems against something specific.

Mini quiz, Designing a Specialist

5 questions, tirées aléatoirement de la banque à chaque tentative. Note de passage : 60 %. Reprises illimitées.

Section suivante: Composing Profile + Specialist →
Lire le texte complet de la leçon

1. A job description, not a costume

An agent prompt is a reusable specialist: instructions that define a job, saved once, invoked whenever the job comes up. The complete design has five parts. ROLE: what the specialist is and is not. WORKFLOW: the steps it follows, in order. REQUIRED INPUTS: what it must be given, or must ask for, before starting. OUTPUT CONTRACT: the exact shape of what comes back. GUARDRAILS: what it never does, plus any disclaimers its domain demands.

Miss a part and the failure is predictable. No workflow: plausible but unmethodical answers. No required inputs: confident work built on guesses. No output contract: a different shape every time. No guardrails: the one bad day that makes you stop trusting it.

2. Why structure beats role-play

'You are an experienced contract lawyer' is a costume. It shifts vocabulary and confidence, mostly confidence, while the underlying work stays whatever the model felt like doing. The costume version sounds more expert without being more careful.

The structured version defines the work: 'Review the contract clause by clause. For each flagged clause: quote it, name the risk, rate severity, propose alternative wording. Ask for the governing jurisdiction if it is not stated. End with the three clauses to negotiate first, and note that this is not legal advice.' Same domain, but now the expertise is a procedure you can verify and improve.

3. Guardrails and worked examples

Guardrails are the never-do rules that hold on the bad day: 'never invent a citation', 'never state a deadline without naming its source', 'always include the not-legal-advice line'. Write them from failures you have seen or can predict. Each guardrail should have a story. Domains with real stakes (legal, medical, financial) also need their standing disclaimer built in, not remembered per prompt.

Then pin the behavior with one worked example: a sample input and the exact output you want for it, inside the agent prompt. You know why from earlier courses, patterns hold better than descriptions. One example tunes tone, depth and format at once, and each new failure mode becomes a new example or a new guardrail.

4. Version your agents

The first version of any agent is a hypothesis. You will meet inputs you did not predict and outputs that drift from the contract. So treat the prompt like the small piece of infrastructure it is: number the versions, change one thing at a time, keep one line per version on what changed and why.

The discipline pays off the first time an agent gets worse. With versions, you compare v4 against v3 and find the line that caused it; without them you are rewriting from memory. Versioning also makes agents shareable, a teammate can adopt v5 and report problems against something specific.

Entreprises

Business AnalystChief of StaffExecutive AssistantM&A AnalystManagement ConsultantOperations AnalystProject ManagerRecruiter

Finance

AccountantDue Diligence AnalystEquity Research AnalystFamily Office AnalystFinancial AnalystFixed Income AnalystInvestment Banking AnalystPortfolio Analyst

Juridique

Contract Review AssistantLegal Due Diligence AssistantLegal Research AssistantParalegal

Marketing

Brand StrategistContent StrategistGEO AnalystMarketing StrategistSEO AnalystSales Strategist

Personnel

Career CoachLearning TutorReflection AssistantResearch AssistantTravel PlannerWriting Assistant

Immobilier

Acquisition AnalystAsset Management AnalystCommercial Real Estate AnalystDevelopment AnalystLease AnalystProperty Financial Analyst

Recherche

Competitive Intelligence AnalystDeep Research AnalystIndustry Research AnalystJournalist ResearcherMarket Research AnalystMedical Research Assistant

Technologie

AI Strategy AdvisorCybersecurity Research AssistantData AnalystProduct ManagerSoftware Engineer