go

Qompass AI go-lang

https://github.com/qompassai/go

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org, researchgate.net, zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.6%) to scientific vocabulary

Keywords

go golang
Last synced: 6 months ago · JSON representation ·

Repository

Qompass AI go-lang

Basic Info
  • Host: GitHub
  • Owner: qompassai
  • License: agpl-3.0
  • Language: Shell
  • Default Branch: main
  • Size: 92.8 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 16
Topics
go golang
Created 10 months ago · Last pushed 6 months ago
Metadata Files
Readme Funding License Citation Zenodo

README.md

Go-lang: For microservices

Qompass AI on Go

Repository Views GitHub all releases

Go
Go Documentation Go Tutorials
License: AGPL v3 License: Q-CDA

Go Logo Qompass AI Go Solutions
* [Qompass ADNS](https://github.com/qompassai/adns) * [Qompass Azimuth](https://github.com/qompassai/azimuth) * [Qompass Beacon](https://github.com/qompassai/beacon) * [Qompass Go Template](https://github.com/qompassai/gtemplate) * [Qompass Rose](https://github.com/qompassai/rose) * [Qompass Sherpadoc](https://github.com/qompassai/sherpadoc) * [Qompass Sherpats](https://github.com/qompassai/Sherpats)
▶️ Qompass AI Quick Start
```sh curl -fSsL https://raw.githubusercontent.com/qompassai/go/main/scripts/quickstart.sh | sh ```
📄 We STRONGLY advise you read the script BEFORE running it 😉
#!/usr/bin/env sh
# /qompassai/go/scripts/quickstart.sh
# Qompass AI Go Quick Start
# Copyright (C) 2025 Qompass AI, All rights reserved
########################################################
set -eu
GO_VERSION="go1.24.5"
GO_TOOLS="
github.com/bradfitz/apicompat@latest
github.com/canha/golang-tools-install-script@latest
golang.org/x/tools/cmd/stringer@latest
github.com/go-delve/delve/cmd/dlv@latest
github.com/go-swagger/go-swagger/cmd/swagger@latest
github.com/golangci/golangci-lint/cmd/golangci-lint@latest
github.com/mitchellh/gox@latest
github.com/securego/gosec/v2/cmd/gosec@latest
github.com/getsops/sops/v3/cmd/sops@latest
github.com/vektra/mockery/v2@latest
golang.org/x/tools/cmd/goimports@latest
golang.org/x/tools/gopls@latest
honnef.co/go/tools/cmd/staticcheck@latest
golang.org/x/tools/go/analysis/passes/buildssa@latest
golang.org/x/tools/cmd/gonew@latest
google.golang.org/protobuf/cmd/protoc-gen-go@latest
google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
github.com/cloudflare/circl/cmd/circl@latest
github.com/crazy-max/xgo@latest
github.com/hexops/zgo/cmd/zgo@latest
golang.org/x/text/cmd/gotext@latest
"
LOCAL_PREFIX="$HOME/.local"
BIN_DIR="${LOCAL_PREFIX}/bin"
CONFIG_DIR="$HOME/.config/go"
GOPATH="${HOME}/.go"
GOBIN="${GOPATH}/bin"
GOCACHE="${HOME}/.cache/go-build"
GOMODCACHE="${HOME}/.cache/go-mod"
GOENV="${HOME}/.config/go/env"
export GOPATH GOBIN GOCACHE GOMODCACHE GOENV
mkdir -p "$BIN_DIR" "$CONFIG_DIR" "$GOBIN" "$GOCACHE" "$GOMODCACHE"
PATH="$BIN_DIR:$GOBIN:$PATH"
export PATH
print_info()  { printf "\033[0;32m[INFO]\033[0m %s\n" "$1"; }
print_warn()  { printf "\033[0;33m[WARN]\033[0m %s\n" "$1"; }
print_error() { printf "\033[0;31m[ERROR]\033[0m %s\n" "$1" >&2; }
command_exists() { command -v "$1" >/dev/null 2>&1; }
echo '╭────────────────────────────────────────────╮'
echo '│       Qompass AI Go Quickstart             │'
echo '╰────────────────────────────────────────────╯'
echo "   (c) 2025 Qompass AI. All rights reserved"
echo
NEEDED_TOOLS="git curl tar make clang bash"
MISSING=""
for tool in $NEEDED_TOOLS; do
  if ! command_exists "$tool"; then
    if [ -x "/usr/bin/$tool" ]; then
      ln -sf "/usr/bin/$tool" "$BIN_DIR/$tool"
      echo " → Added symlink for $tool in $BIN_DIR (not originally in PATH)"
    else
      MISSING="$MISSING $tool"
    fi
  fi
done
if [ -n "$MISSING" ]; then
  print_error "The following tools are missing: $MISSING"
  echo "Please install them with your package manager to continue."
  exit 1
fi
if ! command_exists gvm; then
  print_info "GVM not found. Installing GVM for per-user Go versioning..."
  curl -sSL https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer -o /tmp/gvm-installer.sh
  sh /tmp/gvm-installer.sh
  rm -f /tmp/gvm-installer.sh
fi
if [ -f "$HOME/.gvm/scripts/gvm" ]; then
  . "$HOME/.gvm/scripts/gvm"
else
  print_error "GVM install failed (or $HOME/.gvm/scripts/gvm missing)"
  exit 1
fi
if ! gvm list | grep -q "$GO_VERSION"; then
  print_info "Installing Go toolchain $GO_VERSION via gvm (this may take a few minutes)..."
  gvm install "$GO_VERSION" --prefer-binary || gvm install "$GO_VERSION"
fi
gvm use "$GO_VERSION" --default || {
  print_error "Failed to switch Go version using gvm (check your install)."
  exit 1
}
print_info "Active Go version: $(go version)"
TOOLS_COUNT=$(printf "%s\n" "$GO_TOOLS" | grep -c .)
print_info "Installing Go CLI tools ($TOOLS_COUNT)..."
echo "$GO_TOOLS" | while IFS= read -r tool; do
  [ -z "$tool" ] && continue
  print_info "Installing: $tool"
  if go install "$tool"; then
    print_info "Installed $tool ✅"
  else
    print_warn "Failed to install $tool ❌"
  fi
done
for extra in zig clang lld llvm; do
  if ! command_exists "$extra"; then
    print_warn "$extra not found - some advanced/cross features may be unavailable."
  fi
done
echo
print_info "✅ Go development environment for Qompass AI projects is READY!"
print_info "→ Please add the following to your shell rc if not already present:"
echo "   export PATH=\"$BIN_DIR:$GOBIN:\$PATH\""
print_info "Run \`gvm use $GO_VERSION\` in new shells or add to your rc/init if needed."
print_info "Ready, Set, Go!"
exit 0

Or, View the quickstart script.

🧭 About Qompass AI

Matthew A. Porter
Former Intelligence Officer
Educator & Learner
DeepTech Founder & CEO

Publications

ORCID ResearchGate Zenodo

Developer Programs

[![NVIDIA Developer](https://img.shields.io/badge/NVIDIA-Developer_Program-76B900?style=for-the-badge\&logo=nvidia\&logoColor=white)](https://developer.nvidia.com/) [![Meta Developer](https://img.shields.io/badge/Meta-Developer_Program-0668E1?style=for-the-badge\&logo=meta\&logoColor=white)](https://developers.facebook.com/) [![HackerOne](https://img.shields.io/badge/-HackerOne-%23494649?style=for-the-badge\&logo=hackerone\&logoColor=white)](https://hackerone.com/phaedrusflow) [![HuggingFace](https://img.shields.io/badge/HuggingFace-qompass-yellow?style=flat-square\&logo=huggingface)](https://huggingface.co/qompass) [![Epic Games Developer](https://img.shields.io/badge/Epic_Games-Developer_Program-313131?style=for-the-badge\&logo=epic-games\&logoColor=white)](https://dev.epicgames.com/)

Professional Profiles

Personal LinkedIn Startup LinkedIn

Social Media

X/Twitter Instagram Qompass AI YouTube

🔥 How Do I Support
🏛️ Qompass AI Pre-Seed Funding 2023-2025 🏆 Amount 📅 Date
RJOS/Zimmer Biomet Research Grant $30,000 March 2024
Pathfinders Intern Program
View on LinkedIn
$2,000 October 2024

🤝 How To Support Our Mission

[![GitHub Sponsors](https://img.shields.io/badge/GitHub-Sponsor-EA4AAA?style=for-the-badge\&logo=github-sponsors\&logoColor=white)](https://github.com/sponsors/phaedrusflow) [![Patreon](https://img.shields.io/badge/Patreon-Support-F96854?style=for-the-badge\&logo=patreon\&logoColor=white)](https://patreon.com/qompassai) [![Liberapay](https://img.shields.io/badge/Liberapay-Donate-F6C915?style=for-the-badge\&logo=liberapay\&logoColor=black)](https://liberapay.com/qompassai) [![Open Collective](https://img.shields.io/badge/Open%20Collective-Support-7FADF2?style=for-the-badge\&logo=opencollective\&logoColor=white)](https://opencollective.com/qompassai) [![Buy Me A Coffee](https://img.shields.io/badge/Buy%20Me%20A%20Coffee-Support-FFDD00?style=for-the-badge\&logo=buy-me-a-coffee\&logoColor=black)](https://www.buymeacoffee.com/phaedrusflow)
🔐 Cryptocurrency Donations **Monero (XMR):**
Monero QR Code
42HGspSFJQ4MjM5ZusAiKZj9JZWhfNgVraKb1eGCsHoC6QJqpo2ERCBZDhhKfByVjECernQ6KeZwFcnq8hVwTTnD8v4PzyH

Funding helps us continue our research at the intersection of AI, healthcare, and education

Frequently Asked Questions ### Q: How do you mitigate against bias? **TLDR - we do math to make AI ethically useful** ### A: We delineate between mathematical bias (MB) - a fundamental parameter in neural network equations - and algorithmic/social bias (ASB). While MB is optimized during model training through backpropagation, ASB requires careful consideration of data sources, model architecture, and deployment strategies. We implement attention mechanisms for improved input processing and use legal open-source data and secure web-search APIs to help mitigate ASB. [AAMC AI Guidelines | One way to align AI against ASB](https://www.aamc.org/about-us/mission-areas/medical-education/principles-ai-use) ### AI Math at a glance ## Forward Propagation Algorithm $$ y = w_1x_1 + w_2x_2 + ... + w_nx_n + b $$ Where: - $y$ represents the model output - $(x_1, x_2, ..., x_n)$ are input features - $(w_1, w_2, ..., w_n)$ are feature weights - $b$ is the bias term ### Neural Network Activation For neural networks, the bias term is incorporated before activation: $$ z = \sum_{i=1}^{n} w_ix_i + b $$ $$ a = \sigma(z) $$ Where: - $z$ is the weighted sum plus bias - $a$ is the activation output - $\sigma$ is the activation function ### Attention Mechanism- aka what makes the Transformer (The "T" in ChatGPT) powerful - [Attention High level overview video](https://www.youtube.com/watch?v=fjJOgb-E41w) - [Attention Is All You Need Arxiv Paper](https://arxiv.org/abs/1706.03762) The Attention mechanism equation is: $$ Attention(Q, K, V) = softmax(\frac{QK^T}{\sqrt{d_k}})V $$ Where: - $Q$ represents the Query matrix - $K$ represents the Key matrix - $V$ represents the Value matrix - $d_k$ is the dimension of the key vectors - $\text{softmax}(\cdot)$ normalizes scores to sum to 1 ### Q: Do I have to buy a Linux computer to use this? I don't have time for that! ### A: No. You can run Linux and/or the tools we share alongside your existing operating system: - Windows users can use Windows Subsystem for Linux [WSL](https://learn.microsoft.com/en-us/windows/wsl/install) - Mac users can use [Homebrew](https://brew.sh/) - The code-base instructions were developed with both beginners and advanced users in mind. ### Q: Do you have to get a masters in AI? ### A: Not if you don't want to. To get competent enough to get past ChatGPT dependence at least, you just need a computer and a beginning's mindset. Huggingface is a good place to start. - [Huggingface](https://docs.google.com/presentation/d/1IkzESdOwdmwvPxIELYJi8--K3EZ98_cL6c5ZcLKSyVg/edit#slide=id.p) ### Q: What makes a "small" AI model? ### A: AI models ~=10 billion(10B) parameters and below. For comparison, OpenAI's GPT4o contains approximately 200B parameters.
What a Dual-License Means ### Protection for Vulnerable Populations The dual licensing aims to address the cybersecurity gap that disproportionately affects underserved populations. As highlighted by recent attacks[1], low-income residents, seniors, and foreign language speakers face higher-than-average risks of being victims of cyberattacks. By offering both open-source and commercial licensing options, we encourage the development of cybersecurity solutions that can reach these vulnerable groups while also enabling sustainable development and support. ### Preventing Malicious Use The AGPL-3.0 license ensures that any modifications to the software remain open source, preventing bad actors from creating closed-source variants that could be used for exploitation. This is especially crucial given the rising threats to vulnerable communities, including children in educational settings. The attack on Minneapolis Public Schools, which resulted in the leak of 300,000 files and a $1 million ransom demand, highlights the importance of transparency and security[8]. ### Addressing Cybersecurity in Critical Sectors The commercial license option allows for tailored solutions in critical sectors such as healthcare, which has seen significant impacts from cyberattacks. For example, the recent Change Healthcare attack[4] affected millions of Americans and caused widespread disruption for hospitals and other providers. In January 2025, CISA[2] and FDA[3] jointly warned of critical backdoor vulnerabilities in Contec CMS8000 patient monitors, revealing how medical devices could be compromised for unauthorized remote access and patient data manipulation. ### Supporting Cybersecurity Awareness The dual licensing model supports initiatives like the Cybersecurity and Infrastructure Security Agency (CISA) efforts to improve cybersecurity awareness[7] in "target rich" sectors, including K-12 education[5]. By allowing both open-source and commercial use, we aim to facilitate the development of tools that support these critical awareness and protection efforts. ### Bridging the Digital Divide The unfortunate reality is that too many individuals and organizations have gone into a frenzy in every facet of our daily lives[6]. These unfortunate folks identify themselves with their talk of "10X" returns and building towards Artificial General Intelligence aka "AGI" while offering GPT wrappers. Our dual licensing approach aims to acknowledge this deeply concerning predatory paradigm with clear eyes while still operating to bring the best parts of the open-source community with our services and solutions. ### Recent Cybersecurity Attacks Recent attacks underscore the importance of robust cybersecurity measures: - The Change Healthcare cyberattack in February 2024 affected millions of Americans and caused significant disruption to healthcare providers. - The White House and Congress jointly designated October 2024 as Cybersecurity Awareness Month. This designation comes with over 100 actions that align the Federal government and public/private sector partners are taking to help every man, woman, and child to safely navigate the age of AI. By offering both open source and commercial licensing options, we strive to create a balance that promotes innovation and accessibility. We address the complex cybersecurity challenges faced by vulnerable populations and critical infrastructure sectors as the foundation of our solutions, not an afterthought. ### References

Owner

  • Name: Qompass
  • Login: qompassai
  • Kind: organization
  • Email: map@qompass.ai
  • Location: United States of America

Cost-Conscious GenAI Microservices

Citation (CITATION.cff)

cff-version: 1.2.0
title: "go"
message: "If you use this software, please cite it as below."
authors:
  - family-names: "Porter"
    given-names: "Matthew A."
    orcid: "https://orcid.org/0000-0002-0302-4812"
    affiliation: "Qompass AI"
version: "v2025-09-04"
date-released: "2025-09-04"
repository-code: "https://github.com/qompassai/go"
license: "Q-CDA-1.0"
keywords:
  - AI
  - Education
  - Healthcare
  - Post-Quantum Cryptography
  - Quantum
  - opensource
  - software
abstract: "Qompass AI go-lang"

GitHub Events

Total
  • Release event: 11
  • Delete event: 3
  • Push event: 135
  • Create event: 18
Last Year
  • Release event: 11
  • Delete event: 3
  • Push event: 135
  • Create event: 18

Issues and Pull Requests

Last synced: 6 months ago