This directory contains examples demonstrating how to use AWS Strands with WRITER's Palmyra family of models via different integration or AWS Bedrock.
AWS Strands is a framework for building AI agents and workflows. These examples showcase two different ways to integrate WRITER models with Strands:
writer/: Direct integration using WRITER.bedrock/: Integration via AWS Bedrock.
Examples that use WRITER models directly through the WRITER with AWS Strands:
| Example | Description | Model used |
|---|---|---|
| Financial analysis | Analyze financial data and generate insights. | palmyra-fin |
| Vision image analysis | Analyze images and extract information. | palmyra-x5 |
| Structured output | Generate structured data from unstructured text. | palmyra-x5 |
| Long context | Handle long-form content and documents. | palmyra-x5 |
| Enterprise workflow automation | Automate enterprise workflows and processes. | palmyra-x5 |
| Memory agent | Agent with memory capabilities for conversation context. | palmyra-x5 |
| Multi-agent examples | Collection of specialized AI assistants. | Various models |
The multi_agent_example/ directory contains specialized AI assistants:
| Example | Description | Model used |
|---|---|---|
| Creative Assistant | AI assistant for creative tasks and content generation. | palmyra-creative |
| Financial Assistant | AI assistant for financial analysis and insights. | palmyra-fin |
| Medical Assistant | AI assistant for medical information and analysis. | palmyra-med |
| Knowledge Agent | AI agent for knowledge management and retrieval. | palmyra-x5 |
Key features:
- Direct integration access to full family of WRITER's Palmyra models.
- Real-time access to latest WRITER model capabilities.
Examples that use WRITER models through AWS Bedrock with Strands:
| Example | Description | Model used |
|---|---|---|
| Agents Workflow | Multi-agent workflow orchestration and coordination. | us.writer.palmyra-x5-v1:0 |
| File Operations | File system operations and document processing. | us.writer.palmyra-x5-v1:0 |
| Knowledge Base Agent | Intelligent knowledge base querying and retrieval. | us.writer.palmyra-x5-v1:0 |
| MCP Calculator | Mathematical computation and calculation tools. | us.writer.palmyra-x5-v1:0 |
| Memory Agent | Agent with persistent memory capabilities. | us.writer.palmyra-x5-v1:0 |
| Meta Tooling | Advanced tool management and orchestration. | us.writer.palmyra-x5-v1:0 |
| Structured Output | Generate structured data from unstructured text. | us.writer.palmyra-x5-v1:0 |
| Weather Forecaster | Weather data analysis and forecasting. | us.writer.palmyra-x5-v1:0 |
| Multi-Agent Examples | Educational multi-agent system with specialized assistants. | us.writer.palmyra-x5-v1:0 |
| Hybrid Multi-Agent Example | Mixed architecture using both Bedrock and direct WRITER integration. | Mixed models |
The multi_agent_example/ directory contains specialized educational AI assistants:
| Example | Description | Model used |
|---|---|---|
| Teacher's Assistant | Educational orchestrator that routes student queries to appropriate specialists. | us.writer.palmyra-x5-v1:0 |
| Computer Science Assistant | AI assistant for computer science education and programming. | us.writer.palmyra-x5-v1:0 |
| English Assistant | AI assistant for English language and writing support. | us.writer.palmyra-x5-v1:0 |
| Language Assistant | AI assistant for language translation and learning. | us.writer.palmyra-x5-v1:0 |
| Math Assistant | AI assistant for mathematics education and problem-solving. | us.writer.palmyra-x5-v1:0 |
| General Assistant | General knowledge assistant for non-specialized topics. | us.writer.palmyra-x5-v1:0 |
The hybrid_multi_agent_example/ directory contains a mixed architecture system:
| Example | Description | Model used |
|---|---|---|
| Knowledge Agent | Central orchestrator using AWS Bedrock for query routing and coordination. | us.writer.palmyra-x5-v1:0 |
| Creative Assistant | Specialized assistant for creative tasks using direct WRITER API. | palmyra-creative |
| Financial Assistant | Specialized assistant for financial analysis using direct WRITER API. | palmyra-fin |
| Medical Assistant | Specialized assistant for medical information using direct WRITER API. | palmyra-med |
Key features:
- Integration with AWS Bedrock infrastructure.
- Access to WRITER's Palmyra X4 and X5 models via AWS Bedrock.
- Enterprise-grade reliability and scalability.
palmyra-x5: General purpose model with vision capabilities.palmyra-x4: Efficient general purpose model.palmyra-fin: Our finance domain specialized model.palmyra-creative: Specialized for creative thinking and writing.palmyra-med: Specialized for medical analysis.palmyra-vision: Designed for processing images.
us.writer.palmyra-x5-v1:0: Via AWS Bedrock US West (Oregon) with cross-region inference support.us.writer.palmyra-x4-v1:0: Via AWS Bedrock US West (Oregon) with cross-region inference support.
- WRITER API documentation
- AWS Bedrock documentation
- Strands agents GitHub
- Strands agents documentation
- WRITER Strands documentation
- WRITER Bedrock documentation
For issues with:
- WRITER integration: Check WRITER support
- AWS Strands: Check AWS Strands documentation
- AWS Bedrock: Check AWS Bedrock documentation