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 🙏

© 2025 – Pkg Stats / Ryan Hefner

business-cli

v2.0.0

Published

AI-powered business intelligence CLI with OpenCode-compatible agent system

Downloads

6

Readme

Corbiere - Core Business Intelligence Real-time Engine

License: AGPL v3 npm version Node.js Version

Core BI RE (Corbiere) is an advanced AI-powered business automation CLI that delivers live, up-to-the-minute business insights and analytics with near-zero latency. Named after the iconic Corbiere Lighthouse in Jersey, Channel Islands, it guides businesses through complexity while providing real-time intelligence.

What is Corbiere?

Core BI RE stands for Core Business Intelligence Real-time Engine - a system designed to:

  • 📊 Monitor - Real-time tracking of business metrics and KPIs
  • 🔍 Analyze - Instant detection of trends and anomalies as they develop
  • React - Immediate automated responses to operational changes
  • 🎯 Optimize - Dynamic operational adjustments based on live data
  • 🤖 Automate - AI-driven decision support and workflow execution

🚀 Powered by AI: Access 300+ language models for intelligent analysis, bringing enterprise AI capabilities to real-time business operations. Focus on business activities (sales, operations, finance, compliance) while seamlessly connecting to your existing systems.

Goals

  • Business-first prompts and workflows (no coding context required)
  • Pluggable "extensions" (MCP servers) for business apps
  • User-editable core prompts that learn your business profile
  • Industry profiles and boilerplates to accelerate setup
  • Document templates (proposals, invoices, SOPs, minutes, etc.)

Initial Extensions (MCP)

  • EspoCRM Connector (Sales, Contacts, Activities, Pipelines)
  • Microsoft Graph Connector (Mail, Calendar, Files, Teams)
  • Sage 50 Connector (Invoices, GL, Customers, Suppliers)

Initial Industry Profiles

  • Real Estate & Property Management
  • Professional Services (Agencies, Consultancies)
  • Ecommerce & DTC

Directory Structure

Business-CLI/
  README.md
  spec.md
  PROMPT_MAP.md
  ROADMAP.md
  config/
    business-cli.json
    prompts.json
  prompts/
    core/
      system.md
      roles.md
      safety.md
      style.md
    industries/
      real-estate.md
      professional-services.md
      ecommerce.md
  extensions/
    espocrm/
      README.md
      mcp.json
      config.example.json
    microsoft-graph/
      README.md
      mcp.json
      config.example.json
    sage50/
      README.md
      mcp.json
      config.example.json
  templates/
    documents/
      proposal.md
      invoice.md
      meeting-minutes.md
      sop.md
    workflows/
      sales-pipeline.md
      onboarding.md
  scripts/
    sync-opencode.sh

Quick Start

# 1) Install dependencies
npm install

# 2) Configure environment
cp .env.example .env
# Edit .env to set:
# - LLM_PROVIDER (anthropic, openai, google, etc.)
# - LLM_MODEL (claude-3-opus-20240229, gpt-4, etc.)
# - LLM_API_KEY (your provider API key)

# 3) Configure your business profile
cp config/prompts.json config/prompts.local.json
# edit prompts.local.json to set industry, tone, glossary, KPIs

# 4) Configure connectors (API keys, base URLs)
cp extensions/espocrm/config.example.json extensions/espocrm/config.json
cp extensions/microsoft-graph/config.example.json extensions/microsoft-graph/config.json
cp extensions/sage50/config.example.json extensions/sage50/config.json

# 5) Build the project
npm run build

# 6) Run Business-CLI
business run "Analyze Q4 sales pipeline and identify risks"
business workflow sales-pipeline "Move deals through stages"

Real-Time Business Intelligence Features

Core BI RE Capabilities

  • Event-Driven Architecture: React to business events as they occur
  • Near-Zero Latency: Sub-second response times for critical decisions
  • Anomaly Detection: Identify issues before they impact operations
  • Predictive Analytics: Anticipate trends and opportunities
  • Automated Workflows: Trigger actions based on real-time conditions

AI-Powered Intelligence

  • 300+ Language Models: Access via OpenRouter integration
  • Flexible Configuration: Switch models based on task requirements
  • Streaming Analytics: Real-time data processing and insights
  • Intelligent Fallbacks: Maintain operations even without connectivity

Business Extensions (MCP)

  • EspoCRM: Full CRM integration with opportunities, contacts, leads
  • Microsoft Graph: Email, calendar, files, Teams (coming soon)
  • Sage 50: Accounting and invoicing (coming soon)

Industry Templates

  • Pre-configured prompts for specific industries
  • Document templates (proposals, invoices, SOPs)
  • Workflow automation patterns

Status

  • ✅ Core architecture implemented
  • ✅ OpenCode LLM bridge integrated
  • ✅ EspoCRM MCP server functional
  • ✅ Business prompt compilation system
  • ✅ Workflow orchestration engine
  • 🚧 Microsoft Graph connector in progress
  • 🚧 Sage 50 connector planned
  • 📅 ANS (Agent Name Service) integration roadmapped

Installation

# Install globally via npm
npm install -g corbiere

# Or use with npx
npx corbiere

License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0) - see the LICENSE file for details.

What this means:

  • ✅ Free to use for any purpose
  • ✅ Can modify and distribute
  • ✅ Can use commercially
  • ⚠️ Must disclose source of modifications
  • ⚠️ Network use counts as distribution
  • ⚠️ Modified versions must use AGPL-3.0

Commercial Licensing

For organizations requiring proprietary modifications or different licensing terms, commercial licenses are available. Contact us for enterprise licensing options.

Contributing

We welcome contributions! Please see our Contributing Guide for details.

Support

Acknowledgments

Built with inspiration from OpenCode and the open-source community.