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

itermbot

v1.0.8

Published

iTermBot: ReAct agent (LangChain) + DeepAgent (DeepAgents) using @easynet framework

Downloads

929

Readme

iTermBot

iTermBot is an application built on the @easynet agent framework. It runs two agents:

  1. ReAct agent — LangChain createAgent (ReAct pattern) with tools and memory.
  2. Deep agent — DeepAgents createDeepAgent with a persistent store backed by agent-memory.

Both agents share:

  • @easynet/agent-common — YAML config (app, paths).
  • @easynet/agent-model — LLM and embedding models (falls back to module default config).
  • @easynet/agent-memory — Agent memory (recall/inject for ReAct; store adapter for Deep).
  • @easynet/agent-tool + @easynet/agent-tool-buildin — Tools (FS, HTTP, util, exec, git, analyze, iTerm, etc.).

Prerequisites

  • Node.js >= 18
  • Ollama (or another OpenAI-compatible endpoint) for the LLM. Default config uses http://localhost:11434/v1 and qwen3:0.6b.

Setup

Build from source workspace:

cd apps/itermbot
npm install
npm run build

Tool support uses agent-tool’s @easynet/agent-tool and @easynet/agent-tool-buildin from the npm registry.

Config

| File | Purpose | |------|--------| | config/app.yaml | App-level settings (agent, printSteps, prompt templates). |

Agent profile defaults (model/memory/tool/skills) are resolved by @easynet/agent-runtime. Top-level app config only overrides runtime defaults.

apps/itermbot/config/tool.yaml now loads the full built-in tool package and applies local policy overrides for higher-risk tools such as itermRunCommandInSession. This gives iTermBot direct access to local repository analysis and review primitives including fs.*, git.*, analyze.*, http.*, and iTerm tools.

apps/itermbot/skills/source-code-review adds a dedicated workflow for:

  • source code analysis
  • repository understanding
  • PR / diff review
  • bug and regression finding

Usage

  • Interactive (ReAct agent):

    npm start
    # or
    npm run react
  • Interactive (Deep agent):

    npm run deep
  • One-shot query:

    node dist/index.js react "What time is it?"
    node dist/index.js deep "Remember I prefer short answers."

Scripts

| Script | Description | |--------|-------------| | npm run build | Compile TypeScript to dist/. | | npm start | Run interactive with ReAct agent. | | npm run react | Same as start (ReAct). | | npm run deep | Interactive with Deep agent. | | npm run typecheck | Type-check only. | | npm run test:llm | Test LLM config (scripts/test-llm.mjs). |

Architecture

  • src/index.ts — CLI startup and orchestration.
  • src/context.ts — Shared BotContext builders (LLM/memory/tools/skills).
  • src/config.ts — App-level override adapter on top of runtime config.
  • src/startup/ — startup UI, diagnostics, and panel color bootstrapping.
  • src/iterm/ — iTerm session routing and target session prompt injection.

Both agents use the same LLM, memory backend, and tool set; only the orchestration (ReAct vs Deep) differs.