JSPM

snow-flow

1.4.7
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7800
  • Score
    100M100P100Q127928F
  • License MIT

ServiceNow Queen Agent - Hive-Mind Intelligence for ServiceNow Development inspired by claude-flow. Transform complex workflows into elegant one-command orchestration.

Package Exports

  • snow-flow
  • snow-flow/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (snow-flow) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Snow-Flow: ServiceNow Hive-Mind Intelligence ๐Ÿง 

โš ๏ธ WARNING: FLOW CREATION REMOVED (v1.4.0+) โš ๏ธ

Flow Designer functionality has been removed due to critical issues. Please use ServiceNow's native Flow Designer interface directly.

Snow-Flow provides intelligent AI agents that collaborate to build, test, and deploy ServiceNow solutions through claude-flow inspired hive-mind architecture.

๐Ÿง  The Hive-Mind Revolution

Inspired by claude-flow philosophy: "One Queen, many simple agents, simple memory, learn and adapt"

  • ๐Ÿ‘‘ Queen Agent: Master coordinator that analyzes objectives and spawns specialist agents
  • ๐Ÿค– Worker Agents: ServiceNow specialists (Widget Creator, Script Writer, Security, Test)
  • ๐Ÿ’พ Shared Memory: SQLite-based persistent coordination system
  • ๐ŸŽฏ Claude Code Integration: All coordination happens through Claude Code interface
  • ๐Ÿš€ One Command: snow-flow swarm "objective" - everything else is automatic

โš ๏ธ BREAKING CHANGES v1.4.0

Flow Creation Removed

Why This Change:

  • 38 critical bugs found in flow creation functionality
  • 0% success rate in beta testing
  • Maintains stability of other features

What Still Works:

  • โœ… Widget development and deployment
  • โœ… Update Set management and tracking
  • โœ… ServiceNow authentication and session management
  • โœ… Table/field discovery and analysis
  • โœ… Multi-agent coordination via memory
  • โœ… General ServiceNow operations

Alternative Approach:

  1. Use snow-flow for discovery and planning:
    snow-flow memory store flow_requirements "Need approval workflow with SLA tracking"
  2. Create flows in ServiceNow Flow Designer interface directly
  3. Use snow-flow for other ServiceNow automation tasks

๐Ÿš€ What Snow-Flow Does Best

Widget Development

# Create professional ServiceNow widgets
snow-flow swarm "create incident dashboard widget with real-time updates"

Update Set Management

# Track and manage update sets
snow-flow auth login
snow-flow update-set create "Widget Development" "Dashboard widgets and improvements"

Table Discovery

# Analyze ServiceNow table structures
snow-flow swarm "analyze incident table fields and relationships"

Multi-Agent Coordination

# Coordinate multiple development tasks
snow-flow swarm "analyze requirements and create widget prototypes"

๐Ÿ› ๏ธ Installation

# Install globally
npm install -g snow-flow

# Verify installation
snow-flow --version

# Authenticate with ServiceNow
snow-flow auth login

๐Ÿ“– Core Commands

Authentication

snow-flow auth login                    # Login to ServiceNow
snow-flow auth status                   # Check authentication status

Widget Development

snow-flow swarm "create widget..."      # Create ServiceNow widgets

Update Sets

snow-flow update-set create <name>      # Create new update set
snow-flow update-set list               # List update sets
snow-flow update-set switch <id>        # Switch to update set

Discovery & Analysis

snow-flow swarm "analyze table..."      # Analyze ServiceNow tables
snow-flow swarm "discover fields..."    # Field discovery

Memory Management

snow-flow memory store <key> <data>     # Store persistent data
snow-flow memory get <key>              # Retrieve data
snow-flow memory list                   # List all keys

๐Ÿ—๏ธ Architecture

Agent Types

  • Queen Agent: Master coordinator and decision maker
  • Widget Creator: ServiceNow widget specialist
  • Script Writer: Business rules and client scripts
  • Security Agent: Access controls and security policies
  • Test Agent: Automated testing and validation

Memory System

  • SQLite Backend: Persistent cross-session memory
  • Hierarchical Storage: Organized by domain and context
  • Agent Coordination: Shared knowledge between agents

ServiceNow Integration

  • OAuth 2.0: Secure authentication
  • REST APIs: Direct ServiceNow integration
  • Update Sets: Change tracking and deployment
  • Table API: Schema discovery and analysis

๐Ÿ”ง Configuration

Environment Setup

# Create configuration
snow-flow config init

# Set ServiceNow instance
snow-flow config set instance your-instance.service-now.com

# Configure OAuth
snow-flow config set oauth true

MCP Integration

Snow-Flow includes Model Context Protocol (MCP) servers for extended functionality:

# Start MCP services
snow-flow mcp start

# Check MCP status
snow-flow mcp status

๐Ÿงช Development Workflows

Widget Development Workflow

# 1. Plan widget requirements
snow-flow memory store widget_plan "Dashboard requirements and specs"

# 2. Create widget with swarm
snow-flow swarm "create incident dashboard widget with charts and filtering"

# 3. Test and refine
snow-flow swarm "test widget functionality and improve performance"

Analysis Workflow

# 1. Discover table structure
snow-flow swarm "analyze incident table fields and relationships"

# 2. Plan improvements
snow-flow memory store analysis_results "Field analysis and recommendations"

# 3. Document findings
snow-flow swarm "create documentation for table analysis"

๐Ÿ“š Documentation

  • Authentication: Setup OAuth and basic auth
  • Widget Development: Create and deploy ServiceNow widgets
  • Update Sets: Manage change tracking
  • Memory System: Cross-agent coordination
  • MCP Integration: Extended functionality

๐Ÿค Contributing

Snow-Flow is open source. Contributions welcome!

# Clone repository
git clone https://github.com/groeimetai/snow-flow.git

# Install dependencies
npm install

# Build project
npm run build

# Run tests
npm test

๐Ÿ“„ License

MIT License - see LICENSE file for details.

๐Ÿ†˜ Support

๐Ÿ”ฎ Roadmap

Planned Enhancements

  • Enhanced widget templates and patterns
  • Advanced ServiceNow API integrations
  • Extended table analysis capabilities
  • Improved multi-agent coordination
  • Enterprise security features

Flow Designer Notice

Flow creation functionality has been permanently removed. Users should use ServiceNow's native Flow Designer interface directly for flow development.


Snow-Flow v1.4.0 - Focused, stable, reliable ServiceNow development automation.