Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ on:
- packages/ai-providers/server-ai-openai
- packages/ai-providers/server-ai-vercel
- packages/ai-providers/server-ai-langchain
- packages/ai-providers/server-ai-strands
- packages/telemetry/browser-telemetry
- packages/sdk/combined-browser
- packages/sdk/shopify-oxygen
Expand Down Expand Up @@ -102,6 +103,7 @@ jobs:
package-server-ai-langchain-released: ${{ steps.release.outputs['packages/ai-providers/server-ai-langchain--release_created'] }}
package-server-ai-openai-released: ${{ steps.release.outputs['packages/ai-providers/server-ai-openai--release_created'] }}
package-server-ai-vercel-released: ${{ steps.release.outputs['packages/ai-providers/server-ai-vercel--release_created'] }}
package-server-ai-strands-released: ${{ steps.release.outputs['packages/ai-providers/server-ai-strands--release_created'] }}
package-browser-telemetry-released: ${{ steps.release.outputs['packages/telemetry/browser-telemetry--release_created'] }}
package-combined-browser-released: ${{ steps.release.outputs['packages/sdk/combined-browser--release_created'] }}
package-sdk-shopify-oxygen-released: ${{ steps.release.outputs['packages/sdk/shopify-oxygen--release_created'] }}
Expand Down Expand Up @@ -487,6 +489,22 @@ jobs:
workspace_path: packages/ai-providers/server-ai-vercel
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}

release-server-ai-strands:
runs-on: ubuntu-latest
needs: ['release-please', 'release-server-ai']
permissions:
id-token: write
contents: write
if: ${{ always() && !failure() && !cancelled() && needs.release-please.outputs.package-server-ai-strands-released == 'true'}}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- id: release-server-ai-strands
name: Full release of packages/ai-providers/server-ai-strands
uses: ./actions/full-release
with:
workspace_path: packages/ai-providers/server-ai-strands
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}

release-shopify-oxygen:
runs-on: ubuntu-latest
needs: ['release-please', 'release-sdk-server']
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/server-ai-strands.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: ai-providers/server-ai-strands

on:
push:
branches: [main, 'feat/**']
paths-ignore:
- '**.md' #Do not need to run CI for markdown changes.
pull_request:
branches: [main, 'feat/**']
paths-ignore:
- '**.md'

jobs:
build-test-strands-provider:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 24.x
registry-url: 'https://registry.npmjs.org'
- id: shared
name: Shared CI Steps
uses: ./actions/ci
with:
workspace_name: '@launchdarkly/server-sdk-ai-strands'
workspace_path: packages/ai-providers/server-ai-strands
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"packages/ai-providers/server-ai-strands": "0.0.0",
"packages/ai-providers/server-ai-langchain": "0.5.3",
"packages/ai-providers/server-ai-openai": "0.5.3",
"packages/ai-providers/server-ai-vercel": "0.5.3",
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ This includes shared libraries, used by SDKs and other tools, as well as SDKs.

| AI Providers | npm | issues | tests |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------- | ------------------------------------------- | ------------------------------------------------------------------- |
| [@launchdarkly/server-sdk-ai-strands](packages/ai-providers/server-ai-strands/README.md) | [![NPM][server-ai-strands-npm-badge]][server-ai-strands-npm-link] | [server-ai-strands][package-ai-providers-server-ai-strands-issues] | [![Actions Status][server-ai-strands-ci-badge]][server-ai-strands-ci] |
| [@launchdarkly/server-sdk-ai-langchain](packages/ai-providers/server-ai-langchain/README.md) | [![NPM][server-ai-langchain-npm-badge]][server-ai-langchain-npm-link] | [server-ai-langchain][package-ai-providers-server-ai-langchain-issues] | [![Actions Status][server-ai-langchain-ci-badge]][server-ai-langchain-ci] |
| [@launchdarkly/server-sdk-ai-openai](packages/ai-providers/server-ai-openai/README.md) | [![NPM][server-ai-openai-npm-badge]][server-ai-openai-npm-link] | [server-ai-openai][package-ai-providers-server-ai-openai-issues] | [![Actions Status][server-ai-openai-ci-badge]][server-ai-openai-ci] |
| [@launchdarkly/server-sdk-ai-vercel](packages/ai-providers/server-ai-vercel/README.md) | [![NPM][server-ai-vercel-npm-badge]][server-ai-vercel-npm-link] | [server-ai-vercel][package-ai-providers-server-ai-vercel-issues] | [![Actions Status][server-ai-vercel-ci-badge]][server-ai-vercel-ci] |
Expand Down Expand Up @@ -228,6 +229,12 @@ We encourage pull requests and other contributions from the community. Check out
[sdk-combined-browser-dm-badge]: https://img.shields.io/npm/dm/@launchdarkly/browser.svg?style=flat-square
[sdk-combined-browser-dt-badge]: https://img.shields.io/npm/dt/@launchdarkly/browser.svg?style=flat-square
[package-sdk-browser-issues]: https://github.com/launchdarkly/js-core/issues?q=is%3Aissue+is%3Aopen+label%3A%22package%3A+sdk%2Fcombined-browser%22+
[//]: # 'ai-providers/server-ai-strands'
[server-ai-strands-ci-badge]: https://github.com/launchdarkly/js-core/actions/workflows/server-ai-strands.yml/badge.svg
[server-ai-strands-ci]: https://github.com/launchdarkly/js-core/actions/workflows/server-ai-strands.yml
[server-ai-strands-npm-badge]: https://img.shields.io/npm/v/@launchdarkly/server-sdk-ai-strands.svg?style=flat-square
[server-ai-strands-npm-link]: https://www.npmjs.com/package/@launchdarkly/server-sdk-ai-strands
[package-ai-providers-server-ai-strands-issues]: https://github.com/launchdarkly/js-core/issues?q=is%3Aissue+is%3Aopen+label%3A%22package%3A+ai-providers%2Fserver-ai-strands%22+
[//]: # 'ai-providers/server-ai-langchain'
[server-ai-langchain-ci-badge]: https://github.com/launchdarkly/js-core/actions/workflows/server-ai-langchain.yml/badge.svg
[server-ai-langchain-ci]: https://github.com/launchdarkly/js-core/actions/workflows/server-ai-langchain.yml
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@launchdarkly/js-core",
"workspaces": [
"packages/ai-providers/server-ai-strands",
"packages/ai-providers/server-ai-langchain",
"packages/ai-providers/server-ai-openai",
"packages/ai-providers/server-ai-vercel",
Expand Down
57 changes: 57 additions & 0 deletions packages/ai-providers/server-ai-strands/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# LaunchDarkly AI SDK Strands provider for Server-Side JavaScript

[![NPM][server-ai-strands-npm-badge]][server-ai-strands-npm-link]
[![Actions Status][server-ai-strands-ci-badge]][server-ai-strands-ci]
[![Documentation][server-ai-strands-ghp-badge]][server-ai-strands-ghp-link]
[![NPM][server-ai-strands-dm-badge]][server-ai-strands-npm-link]
[![NPM][server-ai-strands-dt-badge]][server-ai-strands-npm-link]

> [!CAUTION]
> This SDK is in pre-release and not subject to backwards compatibility
> guarantees. The API may change based on feedback.
>
> Pin to a specific minor version and review the [changelog](CHANGELOG.md) before upgrading.

## LaunchDarkly overview

[LaunchDarkly](https://www.launchdarkly.com) is a feature management platform that serves over 100 billion feature flags daily to help teams build better software, faster. [Get started](https://docs.launchdarkly.com/home/getting-started) using LaunchDarkly today!

[![Twitter Follow](https://img.shields.io/twitter/follow/launchdarkly.svg?style=social&label=Follow&maxAge=2592000)](https://twitter.com/intent/follow?screen_name=launchdarkly)

## Overview

This package provides Strands-oriented building blocks for use with the [LaunchDarkly AI SDK](https://github.com/launchdarkly/js-core/tree/main/packages/sdk/server-ai). Install it alongside `@launchdarkly/server-sdk-ai` when building or consuming Strands agents on Amazon Bedrock.

```shell
npm install @launchdarkly/server-sdk-ai @launchdarkly/server-sdk-ai-strands --save
```

For more information about using the LaunchDarkly AI SDK, see the [LaunchDarkly AI SDK documentation](https://github.com/launchdarkly/js-core/tree/main/packages/sdk/server-ai/README.md).

## Contributing

We encourage pull requests and other contributions from the community. Check out our [contributing guidelines](CONTRIBUTING.md) for instructions on how to contribute to this SDK.

## About LaunchDarkly

- LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:
- Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.
- Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).
- Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.
- Grant access to certain features based on user attributes, like payment plan (eg: users on the 'gold' plan get access to more features than users in the 'silver' plan).
- Disable parts of your application to facilitate maintenance, without taking everything offline.
- LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Check out [our documentation](https://docs.launchdarkly.com/sdk) for a complete list.
- Explore LaunchDarkly
- [launchdarkly.com](https://www.launchdarkly.com/ 'LaunchDarkly Main Website') for more information
- [docs.launchdarkly.com](https://docs.launchdarkly.com/ 'LaunchDarkly Documentation') for our documentation and SDK reference guides
- [apidocs.launchdarkly.com](https://apidocs.launchdarkly.com/ 'LaunchDarkly API Documentation') for our API documentation
- [blog.launchdarkly.com](https://blog.launchdarkly.com/ 'LaunchDarkly Blog Documentation') for the latest product updates

[server-ai-strands-ci-badge]: https://github.com/launchdarkly/js-core/actions/workflows/server-ai-strands.yml/badge.svg
[server-ai-strands-ci]: https://github.com/launchdarkly/js-core/actions/workflows/server-ai-strands.yml
[server-ai-strands-npm-badge]: https://img.shields.io/npm/v/@launchdarkly/server-sdk-ai-strands.svg?style=flat-square
[server-ai-strands-npm-link]: https://www.npmjs.com/package/@launchdarkly/server-sdk-ai-strands
[server-ai-strands-ghp-badge]: https://img.shields.io/static/v1?label=GitHub+Pages&message=API+reference&color=00add8
[server-ai-strands-ghp-link]: https://launchdarkly.github.io/js-core/packages/ai-providers/server-ai-strands/docs/
[server-ai-strands-dm-badge]: https://img.shields.io/npm/dm/@launchdarkly/server-sdk-ai-strands.svg?style=flat-square
[server-ai-strands-dt-badge]: https://img.shields.io/npm/dt/@launchdarkly/server-sdk-ai-strands.svg?style=flat-square
Loading