
Company News
Socket Has Acquired Secure Annex
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.
@workflow/ai
Advanced tools
Workflow SDK compatible helper library for the AI SDK.
npm install @workflow/ai
This package supports both AI SDK v5 and AI SDK v6. The ai package is a peer dependency, so you control which version to use:
# For AI SDK v6 (recommended, latest)
npm install ai
# For AI SDK v5
npm install ai@5
| Feature | AI SDK v5 | AI SDK v6 |
|---|---|---|
| Model interface | LanguageModelV2 | LanguageModelV3 |
| Provider package | @ai-sdk/provider@2.x | @ai-sdk/provider@3.x |
Both versions work seamlessly with @workflow/ai - the package handles the differences internally through a compatibility layer.
If you use the provider wrappers (e.g., @workflow/ai/anthropic, @workflow/ai/openai), install the corresponding provider packages:
# Example: Using Anthropic with AI SDK v6
npm install ai @ai-sdk/anthropic
# Example: Using OpenAI with AI SDK v5
npm install ai@5 @ai-sdk/openai@2
For usage examples and full documentation, see the API reference.
FAQs
Workflow SDK compatible helper library for the AI SDK
We found that @workflow/ai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 20 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.

Research
/Security News
Socket is tracking cloned Open VSX extensions tied to GlassWorm, with several updated from benign-looking sleepers into malware delivery vehicles.

Product
Reachability analysis for PHP is now available in experimental, helping teams identify which vulnerabilities are actually exploitable.