@promptbook/types weekly downloads statistics
By promptbook (28 listings) · npm · AI SDKs
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
@promptbook/types has 5,012 recorded weekly downloads on npm, an increase of 150% over the past 30 days, ranking #1528 of 3,247 tracked listings.
About @promptbook/types
🐙 Promptbook: Invisible AI Agents
Create persistent AI agents that turn your company's scattered knowledge into action - powered by the Agents Server
🚀 Quick deploy
Run the standalone VPS installer (for example on DigitalOcean) only on a fresh server. Interactive mode asks for the installation values:
sudo curl -fsSL https://raw.githubusercontent.com/webgptorg/promptbook/refs/heads/main/install.sh | bash
Non-interactive mode takes defaults from command-line options. Use --env live, --env preview, --env production, or --env lts to pick the installed environment; the default is preview. When --openai-api-key is provided with the default OpenAI Codex runner, the installer installs and configures Codex automatically; other runner authentication can be configured later from the UI or SSH:
sudo curl -fsSL https://raw.githubusercontent.com/webgptorg/promptbook/refs/heads/main/install.sh | bash -s -- \
--non-interactive \
--yes-i-understand-that-script-should-be-run-on-fresh-server \
--env preview \
--domain my-server.com \
--openai-api-key sk-proj-xxx \
--admin-password xxx
<blockquote style="color: #ff8811">
<b>⚠ Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>.
</blockquote>
📦 Package @promptbook/types
- Promptbooks are divided into several packages, all are published from single monorepo.
- This package
@promptbook/typesis one part of the promptbook ecosystem.
To install this package, run:
# Install entire promptbook ecosystem
npm i ptbk
npm i -D @promptbook/types
Comprehensive TypeScript type definitions for all Promptbook entities, enabling type-safe development and excellent IDE support throughout the Promptbook ecosystem.
🎯 Purpose and Motivation
This package centralizes all TypeScript type definitions used throughout the Promptbook ecosystem. It enables developers to write type-safe code when working with promptbooks, pipelines, LLM providers, and other Promptbook components, providing excellent IntelliSense and compile-time error checking.
🔧 High-Level Functionality
The package provides type definitions for:
- Pipeline Structures: Complete type definitions for promptbook JSON structures
- Execution Types: Types for pipeline execution, results, and error handling
- LLM Provider Types: Configuration and option types for all supported providers
- Command Types: Type definitions for all promptbook commands
- Utility Types: Helper types for common patterns and data structures
- Component Types: React component prop types for UI components
✨ Key Features
- 📝 Complete Type Coverage - Types for all Promptbook entities and APIs
- 🔒 Type Safety - Compile-time validation and error prevention
- 💡 Excellent IntelliSense - Rich IDE support with autocomplete and documentation
- 🏗️ Structural Types - Detailed types for promptbook JSON structures
- 🔧 Provider-Agnostic - Generic types that work across all LLM providers
- 📊 Execution Types - Comprehensive types for pipeline execution and results
- 🎨 Component Types - React component prop types for UI development
- 🔄 Version Compatibility - Types that evolve with the Promptbook ecosystem
Usage Example
import type { PipelineJson } from '@promptbook/types';
import { compilePipeline } from '@promptbook/core';
const promptbook: PipelineJson = compilePipeline(
spaceTrim(`
# ✨ Example prompt
- OUTPUT PARAMETER {greeting}
## 💬 Prompt
\`\`\`text
Hello
\`\`\`
-> {greeting}
`),
);
📦 Exported Type Categories
Agent and Book Types
AgentBasicInformation- Basic agent information structure (type)AgentModelRequirements- Model requirements for agents (type)string_book- Book content string type (type)BookCommitment- Book commitment structure (type)CommitmentDefinition- Commitment definition interface (type)ParsedCommitment- Parsed commitment structure (type)
Component Types…
Description from the npm listing.
- ai
- ai-agents
- ai-application-framework
- ai-assistant
- ai-automation
- ai-development
- ai-framework
- ai-ops
- ai-orchestration
- ai-pipeline
- ai-platform
- ai-scripting
- ai-sdk
- ai-workflow
- api-integration
- automation-framework
- book-language
- browser
- chatbot
- content-generation
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 @promptbook/types 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/@promptbook/types. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.