business-cli
v2.0.0
Published
AI-powered business intelligence CLI with OpenCode-compatible agent system
Downloads
6
Maintainers
Readme
Corbiere - Core Business Intelligence Real-time Engine
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.shQuick 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 corbiereLicense
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.
