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

@compilr-dev/agents-coding

v1.0.2

Published

Multi-language coding tools for AI agents - umbrella package with auto-detection for TypeScript, Python, Go, and more

Readme

@compilr-dev/agents-coding

Multi-language coding tools for AI agents - umbrella package with auto-detection.

Overview

This is the umbrella package that provides a unified interface for all coding tools across multiple programming languages. It automatically detects the language from file extensions and routes to the appropriate parser.

Installation

npm install @compilr-dev/agents-coding @compilr-dev/agents

This single install gives you:

  • Core Tools - Git operations, project detection, smart runners, code search
  • TypeScript/JavaScript - AST-based analysis via TypeScript compiler
  • Python - AST-based analysis via Tree-sitter
  • Go - AST-based analysis via Tree-sitter

Quick Start

import { Agent } from '@compilr-dev/agents';
import {
  // Core tools (language-agnostic)
  gitStatusTool,
  gitDiffTool,
  detectProjectTool,
  runTestsTool,

  // Unified tools with auto-detection
  getFileStructureTool,
} from '@compilr-dev/agents-coding';

const agent = new Agent({
  provider: yourProvider,
  tools: [gitStatusTool, detectProjectTool, getFileStructureTool],
});

Package Structure

| Package | Description | |---------|-------------| | @compilr-dev/agents-coding | This umbrella (re-exports everything) | | @compilr-dev/agents-coding-core | Language-agnostic tools (git, runners, search) | | @compilr-dev/agents-coding-ts | TypeScript/JavaScript analysis | | @compilr-dev/agents-coding-python | Python analysis | | @compilr-dev/agents-coding-go | Go analysis |

Language Auto-Detection

The umbrella provides unified tools that automatically detect the language:

import { detectLanguage, getFileStructureTool } from '@compilr-dev/agents-coding';

// Detect language from file path
detectLanguage('src/app.ts');     // 'typescript'
detectLanguage('main.py');         // 'python'
detectLanguage('cmd/server.go');   // 'go'

// Unified tool routes to correct parser
const result = await getFileStructureTool.execute({ path: 'src/app.ts' });
// Uses TypeScript parser automatically

Direct Language Access

Access language-specific tools directly when needed:

import {
  ts,      // TypeScript tools
  python,  // Python tools
  go,      // Go tools
} from '@compilr-dev/agents-coding';

// Use language-specific tools directly
const tsResult = await ts.getFileStructureTool.execute({ path: 'app.ts' });
const pyResult = await python.getFileStructureTool.execute({ path: 'main.py' });
const goResult = await go.getFileStructureTool.execute({ path: 'main.go' });

Core Tools

All language-agnostic tools from @compilr-dev/agents-coding-core:

Git Tools

  • gitStatusTool - Parsed git status
  • gitDiffTool - Structured diffs
  • gitLogTool - Commit history
  • gitCommitTool - Safe commit workflow
  • gitBranchTool - Branch management
  • gitStashTool - Stash operations

Project Detection

  • detectProjectTool - Detect project type, framework, tooling
  • findProjectRootTool - Find project root directory

Smart Runners

  • runTestsTool - Auto-detect and run tests
  • runLintTool - Auto-detect and run linter
  • runBuildTool - Auto-detect and run build
  • runFormatTool - Auto-detect and run formatter

Code Search

  • findDefinitionTool - Find symbol definitions
  • findReferencesTool - Find symbol usages
  • findTodosTool - Find TODO/FIXME comments

Skills

import { codingSkills } from '@compilr-dev/agents-coding';

// Available skills:
// - git-workflow
// - test-driven
// - code-navigation
// - pr-workflow
// - project-onboarding
// - code-optimization

Requirements

  • Node.js 18 or higher
  • @compilr-dev/agents peer dependency

Related Packages

License

MIT