-
Notifications
You must be signed in to change notification settings - Fork 193
Description
Overview
The docs page needs to refactor its guidance for prompting agents. The current guidance is quite general, so I want to include specific instructions about prompting using Agent SOPs: https://github.com/strands-agents/agent-sop/blob/main/README.md
Here is a related blog post: https://aws.amazon.com/blogs/opensource/introducing-strands-agent-sops-natural-language-workflows-for-ai-agents/
Implementation Requirements
Based on clarification discussion:
Documentation Structure
Create a new "Guides" section in the documentation navigation containing an "Effective Prompting" page that covers:
- General prompting paradigms and best practices
- Agent SOPs as one of the key prompting paradigms
- Update the existing
prompts.mdpage to reference the new guide
Technical Approach
Files to Create
docs/user-guide/guides/effective-prompting.md- New comprehensive prompting guide
Files to Modify
mkdocs.yml- Add new "Guides" section to navigationdocs/user-guide/concepts/agents/prompts.md- Add reference/link to the new Effective Prompting guide
Content Requirements for Effective Prompting Guide
1. Prompting Paradigms Overview
- Cover different approaches to prompting agents
- Explain when to use different techniques
2. Agent SOPs Section
Include the following for Agent SOPs:
-
What are Agent SOPs: Brief explanation of markdown-based natural language workflows with RFC 2119 constraints (MUST, SHOULD, MAY), parameterized inputs, and progress tracking
-
Using Agent SOPs with Strands: Show how to use SOPs as the
system_promptparameter:from strands import Agent from strands_tools import editor, shell from strands_agents_sops import code_assist agent = Agent( system_prompt=code_assist, tools=[editor, shell] )
-
Example: codebase_summary SOP: Highlight the
codebase_summarySOP as a practical example use case -
Custom SOP Authoring: Include guidance on creating custom SOPs (reference the SOP format and RFC 2119 constraints)
-
Package Reference: Link to
strands-agents-sopsPyPI package and agent-sop repository for detailed documentation on available SOPs
Code Examples
- Use Python examples with the
{{ ts_not_supported() }}macro for TypeScript tabs (sincestrands-agents-sopsis Python-only)
Navigation Structure (mkdocs.yml)
Add a new "Guides" section, suggested placement after "Concepts":
- Guides:
- Effective Prompting: user-guide/guides/effective-prompting.mdAcceptance Criteria
- New "Guides" section appears in documentation navigation
- "Effective Prompting" page created with prompting paradigms overview
- Agent SOPs documented with Strands integration example
- codebase_summary SOP highlighted as example use case
- Custom SOP authoring guidance included
- Links to strands-agents-sops package and repo
- Existing
prompts.mdupdated to reference new guide - TypeScript tabs show
{{ ts_not_supported() }}message - Documentation builds successfully with
mkdocs build - Local preview works with
mkdocs serve