{"id":31600319,"url":"https://github.com/writer/aws-examples","last_synced_at":"2025-10-06T06:56:47.645Z","repository":{"id":306592425,"uuid":"1025164475","full_name":"writer/aws-examples","owner":"writer","description":"Examples for using Palmyra with AWS, such as on Bedrock or with Strands Agents.","archived":false,"fork":false,"pushed_at":"2025-09-19T15:00:46.000Z","size":4773,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-02T06:48:16.882Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/writer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-23T20:36:38.000Z","updated_at":"2025-09-19T15:00:51.000Z","dependencies_parsed_at":"2025-07-26T17:49:38.544Z","dependency_job_id":"c2122814-f9f0-4b46-8298-a7b5948e91ee","html_url":"https://github.com/writer/aws-examples","commit_stats":null,"previous_names":["writer/aws-examples"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/writer/aws-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writer%2Faws-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writer%2Faws-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writer%2Faws-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writer%2Faws-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/writer","download_url":"https://codeload.github.com/writer/aws-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writer%2Faws-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278572004,"owners_count":26008686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-06T06:56:43.446Z","updated_at":"2025-10-06T06:56:47.638Z","avatar_url":"https://github.com/writer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Examples\n\nThis repository contains sample code demonstrating how to use AWS Bedrock and Strands with WRITER's Palmyra family of models.\n\n## Table of contents\n\n- [Overview](#overview)\n- [Prerequisites](#prerequisites)\n- [Installation](#installation)\n- [Examples](#examples)\n  - [AWS Bedrock examples](#aws-bedrock-examples)\n  - [WRITER Strands examples](#writer-strands-examples)\n  - [Bedrock Strands examples (coming soon)](#bedrock-strands-examples)\n- [Resources](#resources)\n- [About WRITER](#about-writer)\n- [Support](#support)\n\n## Overview\n- **Bedrock examples**: Examples of using WRITER's Palmyra X4 and X5 models with AWS Bedrock.\n- **WRITER Strands examples**: Examples of using WRITER's family of Palmyra models via direct integration.\n- **(Coming soon) Bedrock Strands examples**: Examples of using WRITER's X4 and X5 models via Bedrock in Strands.\n\n## Prerequisites\n\nBefore you begin, ensure you have the following:\n- **Python 3.10** or higher installed.\n\n## Installation\n\n1. Clone the Repository\n    ```bash\n    git clone https://github.com/writer/aws-examples.git\n    cd aws-examples\n    ```\n2. Create and activate a virtual environment:\n   ```\n   python -m venv my_env\n   source my_env/bin/activate  # On Windows, use `my_env\\Scripts\\activate`\n    ```\n\n3. Set Up Environment Variables\n\n    Copy the `.env.template` file to a `.env` file in the project root with your credentials:\n\n    ```\n    cp .env.template .env\n    ```\n\n    ### WRITER credentials\n    Only fill this out if you're testing WRITER Strands examples.\n    ```\n    WRITER_API_KEY=your WRITER API key\n    ```\n    ### AWS credentials\n    Only fill this out if you're testing Bedrock-powered examples.\n    ```\n    AWS_REGION_NAME=your AWS region\n    AWS_BEDROCK_MODEL_ID=Bedrock model ID you want to use\n    AWS_ACCESS_KEY_ID=your AWS access key\n    AWS_SECRET_ACCESS_KEY=your AWS secret key\n    AWS_SESSION_TOKEN=your AWS session token\n    ```\n    **Note:** You can find more information on how to set up these credentials in the [Bedrock](/bedrock-examples/README.md) or [Strands](/strands-examples/README.md) examples README.\n\n## Examples\n\n### [AWS Bedrock Examples](bedrock-examples/README.md)\n\nExamples demonstrating how to use WRITER's Palmyra models with AWS Bedrock:\n\n- **[Transcript Analyzer](bedrock-examples/README.md#transcript-analyzer-transcript_analyzerpy)**: Analyze meeting transcripts and extract summaries and action items.\n- **[Web Search Agent](bedrock-examples/README.md#web-search-agent-web-search-agent)**: Intelligent agent that can search the web and process information.\n\n### [WRITER Strands Examples](strands-examples/writer/README.md)\n\nExamples demonstrating how to use WRITER's models with AWS Strands via direct integration:\n\n- **[Financial Analysis](strands-examples/writer/README.md#financial-analysis-financial_analysispy)**: Analyze financial data and generate insights.\n- **[Vision Image Analysis](strands-examples/writer/README.md#vision-image-analysis-vision_image_analysispy)**: Analyze images and extract information.\n- **[Structured Output](strands-examples/writer/README.md#structured-output-structured_outputpy)**: Generate structured data from unstructured text.\n- **[Long Context](strands-examples/writer/README.md#long-context-long_contextpy)**: Handle long-form content and documents.\n- **[Enterprise Workflow Automation](strands-examples/writer/README.md#enterprise-workflow-automation-enterprise_workflow_automationpy)**: Automate enterprise workflows and processes.\n- **[Memory Agent](strands-examples/writer/README.md#memory-agent-memory_agentpy)**: Agent with memory capabilities for conversation context.\n- **[Multi-Agent Examples](strands-examples/writer/README.md#multi-agent-examples-multi_agent_example)**:\n  - [Creative Assistant](strands-examples/writer/multi_agent_example/creative_assistant.py): AI assistant for creative tasks.\n  - [Financial Assistant](strands-examples/writer/multi_agent_example/fin_assistant.py): AI assistant for financial analysis.\n  - [Medical Assistant](strands-examples/writer/multi_agent_example/med_assistant.py): AI assistant for medical information.\n  - [Knowledge Agent](strands-examples/writer/multi_agent_example/knowledge_agent.py): AI agent for knowledge management.\n\n### Bedrock Strands Examples\n\nExamples demonstrating how to use WRITER's models with AWS Strands via Bedrock integration:\n\n- **Coming Soon**: Examples will be added as they become available.\n\n## Resources\n\nThe `resources/` directory contains sample data and files used by the examples:\n\n- **[Meeting Transcript](resources/meeting_transcript.md)**: Sample meeting transcript for testing the transcript analyzer.\n- **[The Ninth Wave](resources/the_ninth_wave.jpg)**: Sample image for testing vision analysis capabilities.\n- **[Financial Data](resources/FinancialData/)**: Sample enterprise financial dataset for testing database querying capabilities.\n\n## About WRITER\n\nWRITER is the full-stack generative AI platform for enterprises. Quickly and easily build and deploy AI apps with a suite of developer tools fully integrated with our LLMs, graph-based RAG, AI guardrails, and more. To learn more, [visit our website](https://www.WRITER.com).\n\n## Support\n\nIf you encounter any issues or have questions, please file an issue on this repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwriter%2Faws-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwriter%2Faws-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwriter%2Faws-examples/lists"}