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

@defai.digital/ax-core

v5.3.7

Published

Core library for AX CLI ecosystem - Shared tools, React UI components, MCP client, LLM agent infrastructure, and AutomatosX integration for ax-cli and ax-grok.

Readme

AX-Core - Shared Core Library

npm version License: MIT

Core library for the AX CLI ecosystem - Shared tools, React UI components, MCP client, LLM agent infrastructure, and AutomatosX integration.

Note: This package is automatically installed as a dependency. You typically don't need to install it directly.

Installation

# Usually installed automatically as a dependency
npm install @defai.digital/ax-core

What's Included

17 Built-in Tools

  • File operations: view_file, create_file, str_replace_editor
  • Search: search_files, list_files, grep
  • Execution: bash, execute_bash
  • Utilities: todo, ask_user, web_search, and more

MCP Client

  • Model Context Protocol support
  • 12+ production-ready templates (GitHub, Figma, Vercel, etc.)
  • SSE and HTTP transports

LLM Agent Infrastructure

  • Context management with automatic pruning
  • Subagent orchestration for parallel tasks
  • Loop detection and recovery
  • Checkpoint and rewind system

React/Ink UI Components

  • Terminal-based UI components
  • Streaming message display
  • Progress indicators and status bars

Provider Support

  • GLM (Z.AI) with thinking mode
  • Grok (xAI) with web search
  • Local models via Ollama/LMStudio

Subpath Exports

import { runCLI, GLM_PROVIDER, GROK_PROVIDER } from '@defai.digital/ax-core';
import { LLMAgent } from '@defai.digital/ax-core/agent';
import { getSettingsManager } from '@defai.digital/ax-core/utils';
import { MCPManager } from '@defai.digital/ax-core/mcp';
import { createToolRegistry } from '@defai.digital/ax-core/tools';

Part of AX CLI Ecosystem

| Package | Description | |---------|-------------| | @defai.digital/ax-core | Shared core library (this package) | | @defai.digital/ax-glm | GLM-optimized CLI | | @defai.digital/ax-grok | Grok-optimized CLI | | @defai.digital/ax-cli | Local-first CLI | | @defai.digital/ax-schemas | Shared Zod schemas |

Documentation

License

MIT License - see LICENSE


Made with love by DEFAI Digital