Skip to main content
Home

Built and signed on GitHub Actions

An open-source agent framework for building production-ready agentic AI agents

This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
88%
Published
5 days ago (0.4.4)
class ZypherAgent

Constructors

new
ZypherAgent(
context: ZypherContext,
modelProvider: ModelProvider,
)

Creates a new ZypherAgent instance

Properties

Get the configured agent configuration

Check if a task is currently running

Get the loop interceptor manager for configuration

Get the MCP server manager for configuration

readonly
messages: Message[]

Get all messages from the agent's history

Methods

Apply a checkpoint and update the message history This will discard messages beyond the checkpoint

Clear all messages from the agent's history

runTask(
taskDescription: string,
model: string,
fileAttachments?: FileAttachment[],
options?: { maxIterations?: number; signal?: AbortSignal; },
): Observable<TaskEvent>

Run a task with real time progress updates

This method provides real-time streaming of incremental content updates as they're generated, allowing for character-by-character updates as Claude produces them. This enables a more responsive user experience with immediate feedback.

Streaming behavior:

  • Content is streamed in real-time as it's generated
  • Tool usage is streamed as tools are invoked
  • Complete messages are delivered when available
  • Errors and code fixes are handled automatically
wait(options?: { signal?: AbortSignal; }): Promise<void>

Wait for the task to complete

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@corespeed/zypher

Import symbol

import { ZypherAgent } from "@corespeed/zypher";
or

Import directly with a jsr specifier

import { ZypherAgent } from "jsr:@corespeed/zypher";

Add Package

pnpm i jsr:@corespeed/zypher
or (using pnpm 10.8 or older)
pnpm dlx jsr add @corespeed/zypher

Import symbol

import { ZypherAgent } from "@corespeed/zypher";

Add Package

yarn add jsr:@corespeed/zypher
or (using Yarn 4.8 or older)
yarn dlx jsr add @corespeed/zypher

Import symbol

import { ZypherAgent } from "@corespeed/zypher";

Add Package

vlt install jsr:@corespeed/zypher

Import symbol

import { ZypherAgent } from "@corespeed/zypher";

Add Package

npx jsr add @corespeed/zypher

Import symbol

import { ZypherAgent } from "@corespeed/zypher";

Add Package

bunx jsr add @corespeed/zypher

Import symbol

import { ZypherAgent } from "@corespeed/zypher";