npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kyronixai/executer

v1.1.5

Published

> The execution engine for Kyronix.

Readme

@kyronixai/executer

The execution engine for Kyronix.

The @kyronixai/executer package is the client-side execution layer of the Kyronix Platform. It receives execution instructions from the Kyronix Runtime, safely executes them in the local environment, and streams the results back to the Kyronix Cloud.

It is designed to work alongside @kyronixai/runtime and is responsible for interacting with the host operating system.


Installation

npm install @kyronixai/executer

or

pnpm add @kyronixai/executer

or

yarn add @kyronixai/executer

Requirements

  • Node.js 20+
  • A running Kyronix Runtime session

This package is not intended to be used directly. It works in conjunction with @kyronixai/runtime.


What does it do?

The executer is responsible for executing agent actions inside the local environment.

It provides execution for:

  • Terminal Commands
  • File Operations
  • Directory Operations
  • Browser Automation
  • Git Operations
  • HTTP Requests
  • Custom Tools

The executer never performs reasoning or planning.

All decisions are made by the Kyronix Runtime.


Architecture

                Kyronix Cloud
                       │
              Execution Instructions
                       │
                Secure WebSocket
                       │
        @kyronixai/executer
                       │
       ┌───────────────┼────────────────┐
       │               │                │
   Terminal       File System       Browser
       │               │                │
       └───────────────┼────────────────┘
                       │
                Execution Results
                       │
                Kyronix Cloud

Quick Start

import { KyronixExecuter } from "@kyronixai/executer";

const executer = new KyronixExecuter({
  sessionId: process.env.KYRONIX_SESSION_ID!,
  token: process.env.KYRONIX_EXECUTOR_TOKEN!,
});

await executer.connect();

The executer automatically:

  • Connects to the Kyronix Platform
  • Receives execution instructions
  • Executes supported tools
  • Returns execution results
  • Maintains the execution session

Supported Executors

Terminal

Execute shell commands.

Examples:

  • npm
  • pnpm
  • yarn
  • git
  • python
  • node

File System

Supports:

  • Read File
  • Write File
  • Delete File
  • Create Directory
  • Move File
  • Copy File
  • List Directory

Browser

Supports browser automation including:

  • Navigation
  • Clicking
  • Typing
  • Screenshots
  • DOM Queries

Git

Supports common Git operations.

Examples:

  • Clone
  • Commit
  • Checkout
  • Branch
  • Status
  • Push
  • Pull

HTTP

Execute HTTP requests.

Supports:

  • GET
  • POST
  • PUT
  • PATCH
  • DELETE

Security

The executer executes operations only for authenticated runtime sessions.

Every execution request is:

  • Authenticated
  • Authorized
  • Session scoped

No execution is accepted without a valid Kyronix Runtime session.


Custom Executors & Custom Agent Tools

Register custom tool handlers on your local machine to handle custom agent tools configured in the Kyronix Dashboard:

import { KyronixExecuter } from "@kyronixai/executer";

const executer = new KyronixExecuter();

// Register a custom tool matching your Custom Agent's schema
executer.register("web_search", async (args) => {
  const query = args.searchString || args.query;
  console.log(`Executing custom web_search tool for query: ${query}`);
  
  return {
    results: [
      { title: "Elon Musk - Biography", url: "https://example.com/musk" }
    ]
  };
});

When a custom agent streams XML tool commands (<tool name="web_search"><query>...</query></tool>), KyronixExecuter automatically parses the AST, extracts arguments, and dispatches the execution to your custom handler.


Relationship with @kyronixai/runtime

Your Backend
      │
      ▼
@kyronixai/runtime
      │
      ▼
Kyronix Platform
      │
      ▼
@kyronixai/executer
      │
      ▼
Local Environment

The runtime handles:

  • Authentication
  • Sessions
  • AI Communication
  • Planning
  • Memory
  • Context Management
  • Agent Lifecycle

The executer handles:

  • Terminal
  • Files
  • Browser
  • Git
  • HTTP
  • Custom Tools

Together they provide a complete agent execution platform.


Configuration

const executer = new KyronixExecuter({
  sessionId: "...",
  token: "...",
  reconnect: true,
  heartbeatInterval: 30000,
});

API

Initialize

new KyronixExecuter(config)

Creates a new executer instance.


Connect

await executer.connect()

Connects the executer to the Kyronix Platform.


Disconnect

await executer.disconnect()

Gracefully closes the connection.


Register

executer.register(name, handler)

Registers a custom executer.


Events

executer.on("connected", () => {});

executer.on("disconnected", () => {});

executer.on("execution:start", () => {});

executer.on("execution:complete", () => {});

executer.on("error", () => {});

Documentation

Complete documentation is available at:

https://kyronix.harshitnakrani.me


License

MIT

Built with ❤️ by the Kyronix Team.