14.60K
total weekly downloads
30 packages
create-gnl
Scaffold a new gnl durable-agent project: npm create gnl
@gnldev/a2a
Agent2Agent (A2A) for GNL: serve your agents to any A2A client (agent card + JSON-RPC message/send, tasks/get, tasks/cancel) and call remote agents — GNL or standard A2A — as an AI SDK tool. Deterministic task ids: a retried call is answered once by a GNL
@gnldev/agui
AG-UI (CopilotKit) protocol adapter: a standalone AG-UI route for @gnldev/durable agents, and the same format as a surface of @gnldev/server.
@gnldev/auth
Auth contract (AuthProvider) + free role-based default (bearer/basic, read/write). Open-core seam: @gnldev/auth-ee plugs into the same interface.
@gnldev/cache
Cross-run content-hash cache on @gnldev/durable. Within-run reuse = journal replay; across-run reuse = cache.
@gnldev/channels
Agents on Slack and Telegram: a signed webhook in, a durable job per message (a platform retry is the same job), the agent run once, the reply sent once — no Redis, the store is the queue.
@gnldev/chat-adapter
Vercel AI SDK `useChat` compatibility for @gnldev/durable agents: UI message stream conversion (with sentinel masking), journal→UIMessage history reconstruction, and a Hono chat route.
@gnldev/cli
gnl developer CLI: scaffold (init), hot-reload dev server (REST + Studio Playground), studio.
@gnldev/client
Type-safe REST/SSE client for @gnldev/server agents: framework-agnostic core + React hooks.
@gnldev/docs-mcp
MCP stdio server exposing GNL docs to AI coding assistants (any MCP-compatible CLI/editor): overview/feature/search tools. Hand-written JSON-RPC 2.0 (no SDK), embedded static content + optional live gnl.dev fetch.
@gnldev/durable
The durable core of GNL, a full agent framework for TypeScript: call-scoped exactly-once effect + deterministic replay for Vercel AI SDK agents. Drop-in: generateText -> runDurable.
@gnldev/evals
Scorers + LLM-judge for @gnldev/durable. scoreRun reads the journal trace → deterministic, replayable scoring.
@gnldev/events
Durable event/notification bus on @gnldev/durable. Journal-backed exactly-once delivery per consumer; fan-out.
@gnldev/experiment
Change an agent, run it again, count what happened: replay a recorded run without running a tool, a scenario set checked by a program, and the arithmetic of what each part contributed.
@gnldev/lab
Why an agent did what it did, and what it would do changed — measured by playing its runs again with parts left out: what brought a call about, which words decided it, whether a prompt section can go, and the cheapest form of a new agent that does the wor
@gnldev/mcp
MCP client → AI SDK tools. With @gnldev/durable, external MCP tool calls become exactly-once + replayable.
@gnldev/memory
Rich semantic-recall memory for @gnldev/durable: schema working memory, thread/resource mgmt, observational memory — all journaled (replayable/exactly-once).
@gnldev/optimizer
Cost optimizer for GNL agents: finds where the money goes in your own journal, replays recorded runs against cheaper settings without running a tool, and recommends what holds quality.
@gnldev/options
One rule for every GNL options object: a name it does not take is refused, with the option it is closest to. No dependencies.
@gnldev/otel
OpenTelemetry trace exporter for @gnldev/durable. Journal → OTEL spans (deterministic ids = idempotent, crash-proof, exactly-once observability).
@gnldev/processors
Input/output processors for @gnldev/durable agents: PII redaction, moderation, tool-filter. Durability-infused (journaled).
@gnldev/queue
Durable background-task queue + worker on @gnldev/durable. Jobs run as durable runs → crash mid-job resumes exactly-once.
@gnldev/rag
Vector store + RAG tool for AI SDK agents. Used as a tool, it becomes replayable/exactly-once RAG with @gnldev/durable.
@gnldev/scheduler
Durable workflow scheduler on @gnldev/durable: cron/interval/at triggers, exactly-once fire (run-lock), backoff/retry. Time is data: the next fire time is resolved and frozen into the journal.
@gnldev/semantic-qualify
Qualification bench for GNL's semantic judge: measures a judge closure against blind fixtures and issues the certificate @gnldev/durable requires.