simili-bot

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2026 License: Apache-2.0

README ΒΆ

Simili Logo

Simili Bot

AI-Powered GitHub Issue Intelligence

Build Status Release License Stars

Automatically detect duplicate issues, find similar issues with semantic search, and intelligently route issues across repositories.


✨ Features

  • πŸ” Semantic Duplicate Detection β€” Find related issues using AI-powered embeddings, not just keyword matching
  • πŸ”„ Cross-Repository Search β€” Search for similar issues across your organization
  • πŸ“¦ Intelligent Routing β€” Automatically transfer issues to the correct repository based on content
  • 🏷️ Smart Triage β€” AI-powered labeling and quality assessment
  • ⚑ Modular Pipeline β€” Customize workflows with plug-and-play steps
  • 🌐 Multi-Repo Support β€” Central configuration with per-repo overrides

πŸ—οΈ Architecture

Simili uses a "Lego with Blueprints" architecture:

  • Lego Blocks: Independent, reusable pipeline steps (Gatekeeper, Similarity, Triage, etc.)
  • Blueprints: Pre-defined workflows for common use cases
  • State Branch: Git-based state management using an orphan branch (no comment scanning)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Gatekeeper  │───▢│  Similarity │───▢│   Triage    │───▢│   Action    β”‚
β”‚   Check     β”‚    β”‚   Search    β”‚    β”‚  Analysis   β”‚    β”‚  Executor   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸš€ Quick Start

Prerequisites

  • Qdrant β€” Vector database (free tier available)
  • Gemini API Key β€” For embeddings (free tier available)

1. Add Secrets

Go to Settings β†’ Secrets and variables β†’ Actions and add:

Secret Description
GEMINI_API_KEY Gemini API key for embeddings
QDRANT_URL Your Qdrant cluster URL
QDRANT_API_KEY Qdrant API key

2. Create Configuration

Create .github/simili.yaml:

qdrant:
  url: "${QDRANT_URL}"
  api_key: "${QDRANT_API_KEY}"
  collection: "my-repo-issues"

embedding:
  provider: "gemini"
  api_key: "${GEMINI_API_KEY}"

workflow: "issue-triage"

defaults:
  similarity_threshold: 0.65
  max_similar_to_show: 5

# Optional: specify repositories (omit for single-repo mode)
repositories:
  - org: "your-org"
    repo: "your-repo"
    enabled: true

3. Add Workflow

Create .github/workflows/simili.yml:

name: Simili Issue Intelligence

on:
  issues:
    types: [opened, edited, closed, reopened, deleted]

jobs:
  process:
    runs-on: ubuntu-latest
    permissions:
      issues: write
      contents: read

    steps:
      - uses: actions/checkout@v4

      - uses: similigh/simili-bot@v1
        with:
          config_path: .github/simili.yaml
        env:
          GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
          QDRANT_URL: ${{ secrets.QDRANT_URL }}
          QDRANT_API_KEY: ${{ secrets.QDRANT_API_KEY }}

πŸ“š Documentation

Guide Description
Single Repo Setup Set up Simili for a single repository
Multi-Repo Setup Organization-wide deployment with shared config
Implementation Plan Technical architecture and roadmap

πŸ”§ Available Workflows

Preset Description
issue-triage Full pipeline: similarity, transfer check, triage, actions
similarity-only Find similar issues only, no triage
index-only Just index issues to vector DB

Or define custom steps:

steps:
  - gatekeeper
  - similarity_search
  - response_builder
  - indexer

πŸ› οΈ Development

# Clone the repository
git clone https://github.com/similigh/simili-bot.git
cd simili-bot

# Build
go build ./...

# Run tests
go test ./...

# Lint
go vet ./...

πŸ“„ License

This project is licensed under the Apache License 2.0 β€” see the LICENSE file for details.


Made with ❀️ by the Simili Team

Directories ΒΆ

Path Synopsis
cmd
simili command
Package main is the entry point for the Simili-Bot CLI.
Package main is the entry point for the Simili-Bot CLI.
internal
core/config
Package config handles loading and merging Simili configuration.
Package config handles loading and merging Simili configuration.
core/pipeline
Package pipeline provides the core pipeline engine for Simili-Bot.
Package pipeline provides the core pipeline engine for Simili-Bot.
core/state
Package state provides a GitHub API-based implementation of GitStateManager.
Package state provides a GitHub API-based implementation of GitStateManager.
integrations/gemini
Package gemini provides Gemini AI integration for embeddings and LLM.
Package gemini provides Gemini AI integration for embeddings and LLM.
integrations/qdrant
Package qdrant provides the vector database integration.
Package qdrant provides the vector database integration.
steps
Package steps provides the action executor step.
Package steps provides the action executor step.
tui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL