JSPM

  • Created
  • Published
  • Downloads 135
  • Score
    100M100P100Q103136F
  • License MIT

Self-hosted AI agent framework for Linear, GitHub, and Slack

Package Exports

    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 (@sniff-dev/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @sniff-dev/cli

    Command-line tools for Sniff agent framework.

    Installation

    npm install -g @sniff-dev/cli

    Or use with npx:

    npx @sniff-dev/cli init

    Commands

    sniff init [name]

    Create a new sniff.yml configuration file.

    sniff init                    # Creates sniff.yml with default agent
    sniff init my-agent           # Creates sniff.yml with custom agent name
    sniff init --force            # Overwrite existing config

    Also creates .env.example with required environment variables.

    sniff validate

    Validate the configuration file.

    sniff validate                # Validate sniff.yml
    sniff validate -c custom.yml  # Validate custom config file

    sniff --help

    Show help and available commands.

    sniff --help
    sniff init --help
    sniff validate --help

    Example Workflow

    # 1. Create configuration
    sniff init triage-bot
    
    # 2. Edit sniff.yml with your system prompt
    
    # 3. Validate configuration
    sniff validate
    
    # 4. Set environment variables
    export LINEAR_ACCESS_TOKEN=lin_api_xxx
    export ANTHROPIC_API_KEY=sk-ant-xxx
    
    # 5. Start server (using @sniff-dev/core)
    npx @sniff-dev/core

    Configuration

    The CLI creates a sniff.yml file:

    version: '1.0'
    
    agents:
      - id: 'triage-bot'
        name: 'Triage Bot'
        system_prompt: |
          You are a triage specialist.
          Classify issues and set priorities.
        model:
          anthropic:
            name: 'claude-sonnet-4-20250514'
            temperature: 0.7
            max_tokens: 4096

    See CONFIG.md for full specification.

    License

    MIT