🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@firtoz/chat-agent-sql

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firtoz/chat-agent-sql

Raw SQL persistence for @firtoz/chat-agent on Cloudflare Durable Objects

latest
Source
npmnpm
Version
2.0.2
Version published
Maintainers
1
Created
Source

@firtoz/chat-agent-sql

npm version npm downloads license

TypeScript Cloudflare SQL

Raw this.sql persistence for @firtoz/chat-agent — SqlChatAgent with no Drizzle; tables created in dbInitialize().

Install

bun add @firtoz/chat-agent @firtoz/chat-agent-sql

No Drizzle or migration files: tables are created in dbInitialize().

Usage

import { defineTool } from "@firtoz/chat-agent";
import { SqlChatAgent } from "@firtoz/chat-agent-sql";

class MyAgent extends SqlChatAgent<Env> {
  /* getSystemPrompt, getModel, getTools, … */
}

When to use

Prefer @firtoz/chat-agent-drizzle for typed queries and versioned migrations. Use this package for minimal dependencies or full control over SQL.

License

MIT

Keywords

typescript

FAQs

Package last updated on 16 Apr 2026

Did you know?

Socket

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.

Install

Related posts