Package Exports
- blax
Readme
blax
A powerful full-screen, dark-themed terminal agent for coding, accounting, legal work, and multi-domain knowledge tasks. Integrates seamlessly with blax.ai cloud services and HMS-OPM agency ecosystem.
Installation
npm install -g blax
Usage
# Interactive full-screen mode
blax
# One-shot Q&A
blax ask "What is IFRS 16?"
# Run a saved workflow
blax run workflow.blax
# Plugin management
blax plugin add blax-plugin-accounting
blax plugin list
# Agency ecosystem integration
blax agents list # List local hub agents
blax agents logs <agentId> # Stream agent logs
blax deals list # Show active deals
blax deals create # Interactive deal creation
# Blax.ai cloud integration
blax cloud status # Check blax.ai system status
blax cloud agents # List cloud agents
blax cloud agents --domain coding # Filter by domain
blax cloud execute agent-id skill # Execute cloud skills
blax config # Show configuration
Features
- ☁️ Blax.ai Cloud Integration - Access to cloud-hosted professional agents
- 🎯 Multi-Agent Collaboration - Local and cloud agent coordination
- 🖥️ Full-Screen Terminal UI - Dark-themed, responsive terminal interface
- 🔌 Plugin System - Extensible architecture for domain-specific skills
- 📊 Real-time Monitoring - Agent status, deals, and system metrics
- 🔒 Security & Privacy - Audit trails, encryption, and data protection
- 🌐 Multi-Provider LLM - Support for OpenAI, Anthropic, and local models
- 💰 Cost Tracking - Monitor cloud agent usage and costs
Agency Ecosystem Integration
blax integrates with the HMS-OPM agency ecosystem, providing:
- Real-time agent monitoring and communication
- Deal-based multi-agent collaboration
- Compliance validation across 197+ industry standards
- Professional domain expertise across 203+ agents
Multi-Domain Capabilities
Coding & Development
- Code generation and analysis
- Project scaffolding
- Testing automation
- Documentation generation
Accounting & Finance
- Financial statement generation
- Tax calculations
- Budget analysis
- Compliance reporting
Legal & Compliance
- Contract drafting
- Legal document review
- Compliance checking
- Risk assessment
Development
# Install dependencies
npm install
# Start development
npm run dev
# Build
npm run build
# Test
npm test
# Lint
npm run lint
Examples
Coding Assistant
blax ask "Generate a REST API with authentication"
blax ask "Review this code for security issues"
Accounting
blax ask "Generate monthly P&L for Q3"
blax ask "Calculate tax liability for $150k income"
Legal
blax ask "Draft an NDA between two companies"
blax ask "Review this contract for compliance issues"
Cloud Agents
blax cloud status
blax cloud agents --domain legal
blax cloud execute legal-agent draftContract --args '{"type":"NDA"}'
Local Agency Ecosystem
blax agents list --json
blax deals create --name "Quarterly Compliance Review"
Configuration
blax can be configured via:
- Environment variables:
BLAX_API_URL
- Blax.ai API endpoint (default: https://api.blax.ai)BLAX_HUB_URL
- WebSocket hub URL (default: wss://api.blax.ai/hub)BLAX_API_TOKEN
- Authentication token for cloud servicesOPENAI_API_KEY
- OpenAI API key for local LLMANTHROPIC_API_KEY
- Anthropic API key for local LLM
- Config file (
~/.blaxrc
or.blax/config.json
) - Command-line flags
Run blax config
to see current configuration.
License
MIT
Powered by HMS-OPM Agency Ecosystem
203+ Professional Domain Agents | 197+ Industry Standards Compliance