@lleverage-ai/agent-sdk weekly downloads statistics
By lleverage-ai · npm · AI SDKs
A TypeScript framework for building AI agents using the Vercel AI SDK v6
@lleverage-ai/agent-sdk has 2,161 recorded weekly downloads on npm, a decrease of 53.5% over the past 30 days, ranking #1860 of 3,247 tracked listings.
About @lleverage-ai/agent-sdk
@lleverage-ai/agent-sdk
A TypeScript framework for building AI agents with the Vercel AI SDK.
@lleverage-ai/agent-sdk is the package most users should start with. It provides the application-layer agent framework: models, tools, plugins, hooks, sessions, subagents, and higher-level runtime behavior.
If you need lower-level conversation infrastructure such as event transport, replay, or durable transcripts, import it from the @lleverage-ai/agent-sdk/threads subpaths (formerly the separate @lleverage-ai/agent-threads package). You do not need the threads subpaths for basic agent usage.
Installation
bun add @lleverage-ai/agent-sdk ai zod
Install at least one AI provider as well:
bun add @ai-sdk/anthropic
Quick Start
import { anthropic } from "@ai-sdk/anthropic";
import { createAgent } from "@lleverage-ai/agent-sdk";
import { tool } from "ai";
import { z } from "zod";
const agent = createAgent({
model: anthropic("claude-sonnet-4-20250514"),
systemPrompt: "You are a helpful assistant.",
tools: {
greet: tool({
description: "Greet a person by name",
inputSchema: z.object({
name: z.string(),
}),
execute: async ({ name }) => `Hello, ${name}!`,
}),
},
});
const result = await agent.generate({
prompt: "Say hello to Alice",
});
console.log(result.text);
What You Get
createAgent()for text generation, streaming, tool use, hooks, and sessions- Tools built on the AI SDK
tool()API - Plugins that bundle tools, skills, hooks, and MCP integrations
- Deferred discovery and proxy loading with
search_toolsandcall_tool - Subagents, teams, memory, observability, middleware, and security utilities
- SDK-level execution telemetry with stable
runId/threadIdcorrelation and resolved model metadata on results, hooks, logs, and traces
When To Use This Package
Use @lleverage-ai/agent-sdk when you want to:
- build and run agents
- give agents tools, plugins, hooks, and skills
- stream model output or serve chat/API responses
- add subagents, teams, middleware, observability, and security controls
Import from the @lleverage-ai/agent-sdk/threads subpaths when you also need:
- durable thread history and transcript storage
- event replay
- WebSocket transport primitives
- explicit run lifecycle orchestration outside the core agent runtime
Tool Naming
- Inline plugin tools use
<plugin>__<tool> - External MCP tools use
mcp__<server>__<tool>
This keeps inline plugin tools distinct from real MCP-backed tools while preserving stable names for discovery and proxy calls.
Documentation
- Getting started: https://github.com/lleverage-ai/agent-sdk#readme
- AI SDK 7 migration & threads import mapping: https://github.com/lleverage-ai/agent-sdk/blob/main/docs/migration/ai-sdk-7.md
- Tool loading: https://github.com/lleverage-ai/agent-sdk/blob/main/docs/tool-loading.md
- MCP integration: https://github.com/lleverage-ai/agent-sdk/blob/main/docs/mcp.md
- Agent sessions: https://github.com/lleverage-ai/agent-sdk/blob/main/docs/agent-session.md
- Contributing: https://github.com/lleverage-ai/agent-sdk/blob/main/CONTRIBUTING.md
License
MIT
Description from the npm listing.
- ai
- agent
- llm
- ai-sdk
- vercel-ai
- typescript
- mcp
- model-context-protocol
- tools
- plugins
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm AI SDKs plugins
All 20 @lleverage-ai/agent-sdk alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@lleverage-ai/agent-sdk. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.