
Security News
pnpm 11.5 Adds Support for Recognizing npm Staged Publishes
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.
@agentick/ai-sdk
Advanced tools
Vercel AI SDK adapter for Agentick. Use any AI SDK provider (OpenAI, Anthropic, Google, Mistral, etc.).
pnpm add @agentick/ai-sdk ai @ai-sdk/openai
# or @ai-sdk/anthropic, @ai-sdk/google, etc.
import { createAiSdkModel } from "@agentick/ai-sdk";
import { openai } from "@ai-sdk/openai";
import { createApp } from "@agentick/core";
const model = createAiSdkModel({
model: openai("gpt-4o"),
temperature: 0.7,
});
// Use with createApp
const app = createApp(MyAgent, { model });
const session = await app.session();
await session.run({ messages: [{ role: "user", content: [{ type: "text", text: "Hello!" }] }] });
// Or use as JSX component
function MyAgent() {
return (
<model maxTokens={4096}>
<System>You are helpful.</System>
<Timeline />
</model>
);
}
// Or call directly
const result = await model.generate({
messages: [{ role: "user", content: "Hello!" }],
});
import { createAiSdkModel } from "@agentick/ai-sdk";
import { openai } from "@ai-sdk/openai";
import { anthropic } from "@ai-sdk/anthropic";
import { google } from "@ai-sdk/google";
// OpenAI
const gpt4 = createAiSdkModel({ model: openai("gpt-4o") });
// Anthropic
const claude = createAiSdkModel({ model: anthropic("claude-3-5-sonnet-20241022") });
// Google
const gemini = createAiSdkModel({ model: google("gemini-2.0-flash") });
import { AiSdkModel } from "@agentick/ai-sdk";
import { openai } from "@ai-sdk/openai";
function MyAgent() {
return (
<AiSdkModel model={openai("gpt-4o")} temperature={0.7} maxTokens={4096}>
<System>You are helpful.</System>
<Timeline />
</AiSdkModel>
);
}
| Option | Type | Description |
|---|---|---|
model | LanguageModel | AI SDK model instance |
temperature | number? | Sampling temperature |
maxTokens | number? | Maximum tokens to generate |
system | string? | Default system prompt |
tools | ToolSet? | AI SDK tools to include |
Any provider supported by the Vercel AI SDK:
@ai-sdk/openai)@ai-sdk/anthropic)@ai-sdk/google)@ai-sdk/mistral)@ai-sdk/cohere)@ai-sdk/azure)@ai-sdk/amazon-bedrock)aiSdk(config) - Convenience factory (recommended)createAiSdkModel(config) - Full factory function returning ModelClassFAQs
Vercel AI SDK adapter for Agentick
We found that @agentick/ai-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.