Github Top Repositories
14.1K subscribers
2.87K photos
59 videos
10 files
3K links
Top GitHub repositories in one place 🚀
Explore the best projects in programming, AI, data science, and more.
Download Telegram
Github Top Repositories
Photo
🔍 Deep-diving into Tencent/AI-Infra-Guard — fresh off the trending list.

🔗 https://github.com/Tencent/AI-Infra-Guard
📝 A full-stack AI Red Teaming platform securing AI ecosystems via Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.
──────────────────────────────

What is AI‑Infra‑Guard (A.I.G)?
A.I.G is Tencent Zhuque Lab’s all‑in‑one AI red‑team platform. It bundles security scanners for AI models, AI‑agent skills, model‑centered components (MCP) and jailbreak evaluation, plus a marketplace for vetted security skills. In short, it lets you stress‑test your AI stack from code to deployment with a single, user‑friendly interface.

Key Features

🔎 Skill‑Scan Engine – Detects nine categories of skill‑level risks (instruction hijacking, memory poisoning, code execution, privilege escalation, tool hijacking, insecure dependencies, etc.) and scores on the public SkillTrustBench leaderboard (top F1 0.9848 with Claude Opus 4.6).

🛡️ ClawScan (OpenClaw Security Scan) – One‑click audit of OpenClaw configurations, skill vulnerabilities, CVE exposures and privacy leaks.

🤖 Agent‑Scan – Automated multi‑agent framework that checks agent‑side skills, web‑exfiltration, OWASP‑style issues and more.

🧩 MCP‑Scan – Scans model‑centered components for tool poisoning, credential exfiltration, command injection and dozens of LLaMA cpp CVEs.

🚪 Jailbreak Evaluation – Runs multi‑turn jailbreak attacks (Many‑Shot, PAIR, GOAT, ActorAttack) to gauge model resistance.

🛒 AI Security Skill Market – Official marketplace where you can publish or acquire security‑hardened skills; the frontend is fully open‑sourced.

⚙️ Stand‑alone CLI Toolsaig-skill-scan, aig-agent-scan, aig-mcp-scan can be run independently or embedded into CI/CD pipelines.

📊 API‑Checker & Model Relay – Unified service that lists available LLM endpoints and validates request/response formats.

How to Get Started

🐳 Docker (quickest)

git clone https://github.com/Tencent/AI-Infra-Guard.git
cd AI-Infra-Guard
docker-compose -f docker-compose.images.yml up -d

Open a browser at http://localhost:8088 to reach the web UI.

🚀 One‑Click Install Script (installs Docker if needed)

curl https://raw.githubusercontent.com/Tencent/AI-Infra-Guard/refs/heads/main/docker.sh | bash


🛠️ Python CLI for Skill Scan

pip install aig-skill-scan
export LLM_API_KEY="your-api-key"
aig-skill-scan --repo /path/to/skill \
-m deepseek-v4-flash \
--language en \
-o result.json


🔧 Build from Source – Clone the repo, then run docker-compose up -d (or build the Go CLI with go build -o ai-infra-guard ./cmd/cli/main.go) for full control.

Technical Highlights

- Performance‑focused: Skill‑scan runs in parallel across LLM backends, achieving sub‑second latency on typical models.
- Extensible rule base: > 2000 CVE rules, continuously updated; users can add custom policies via simple YAML.
- Multi‑mode MCP scanning: Dynamic mode enforces tool whitelisting to block RCE attempts.
- Zero‑trust deployment: Designed for internal enterprise use; no public auth layer, so keep it behind a firewall.
- Cross‑language support: Scanners accept Python, JavaScript, and compiled bytecode (.pyc) with bypass detection.

Who Should Use It?
(1/2)
Github Top Repositories
Photo
🚀 Meet RyanCodrai/turbovec: a gem from today's GitHub trending list.

🔗 https://github.com/RyanCodrai/turbovec
📝 A vector index built on TurboQuant, written in Rust with Python bindings
──────────────────────────────

What is turbovec?
is a fast, memory‑efficient vector search library written in Rust with Python bindings. It implements Google Research’s TurboQuant algorithm – a data‑oblivious quantizer that needs no separate training phase and delivers near‑optimal distortion.

Why you’ll care
- A 10 M‑document float‑32 corpus (~31 GB) fits in ~4 GB of RAM.
- Search is consistently faster than FAISS IndexPQFastScan (≈3.4× speed‑up at 4‑bit, ≈20‑30 % at 2‑bit).
- No “train‑then‑load” step – you can add vectors on the fly.
- Incremental, crash‑safe persistence (`sync`) writes only what changed.
- Built‑in filtering lets you restrict searches to an allow‑list without extra post‑processing.
- Pure‑local deployment – perfect for privacy‑sensitive or latency‑critical RAG pipelines.

Key features at a glance
- Online ingest: `add()` vectors anytime; no rebuilding.
- SIMD‑optimized search: hand‑written kernels (NEON SDOT/SMMLA, AVX‑512 VNNI, AVX2, scalar fallback).
- Incremental saves: `sync(path)` persists deltas with a single fsync; full snapshots still available via `write`/`load`.
- Filter‑aware search: pass an id allowlist or slot bitmask; the kernel skips irrelevant blocks.
- Stable external IDs: `IdMapIndex` keeps your own uint64 identifiers and supports O(1) deletes.
- Framework adapters: drop‑in replacements for LangChain, LlamaIndex, Haystack, Agno.

Getting started – Python

pip install turbovec


from turbovec import TurboQuantIndex

# create a 1536‑dim index, 4‑bit quantization
index = TurboQuantIndex(dim=1536, bit_width=4)

# add vectors (numpy float32, shape (n, dim))
index.add(vectors)
index.add(more_vectors)

# search
scores, ids = index.search(query, k=10)

# persistence
index.write("my_index.tv") # full snapshot
index.sync("my_index.tv") # incremental, crash‑safe
loaded = TurboQuantIndex.load("my_index.tv")


Stable IDs example

from turbovec import IdMapIndex
import numpy as np

idx = IdMapIndex(dim=1536, bit_width=4)
idx.add_with_ids(vectors, np.array([1001, 1002, 1003], dtype=np.uint64))

scores, external_ids = idx.search(query, k=10)
idx.remove(1002) # O(1) delete by id
idx.sync("my_index.tvim")


Hybrid (filtered) search – combine a coarse external retriever with dense reranking:

allowed = np.array(db.execute(
"SELECT id FROM docs WHERE tenant=?", (t,)
).fetchall(), dtype=np.uint64)

scores, ids = idx.search(query, k=10, allowlist=allowed)


The filter is evaluated inside the SIMD kernel, so only the allowed blocks incur any computation.

Getting started – Rust

cargo add turbovec


use turbovec::TurboQuantIndex;

let mut index = TurboQuantIndex::new(1536, 4).unwrap();
index.add(&vectors);
let (scores, ids) = index.search(&queries, 10);
index.write("index.tv").unwrap();
let loaded = TurboQuantIndex::load("index.tv").unwrap();

(1/2)
Technical highlights
- TurboQuant provides data‑oblivious quantization with near‑optimal distortion and no training overhead.
- SIMD kernels operate on a vector‑major layout, allowing direct dot‑product computation without costly transposes.
- On ARM, kernels use NEON SDOT/SMMLA; on x86 they leverage AVX‑512 VNNI and `vpermb`.
- Benchmarks (100 K vectors, 1 K queries, k = 64) show median single‑thread speeds 3.4× faster than FAISS at 4‑bit and 20‑30 % faster at 2‑bit across both architectures.
- Insertion latency per vector is 6‑20 µs (≈8‑14× faster than FAISS), and deletions are O(1) at sub‑microsecond cost.
- Compression plots demonstrate up to 8× reduction in RAM vs raw float32.

Who should use turbovec?
- Engineers building Retrieval‑Augmented Generation (RAG) systems where memory, latency, or data‑privacy are critical.
- Teams that need a drop‑in FAISS alternative but want better speed and smaller footprints.
- Rust or Python developers who prefer a single‑library solution with native SIMD performance.
- Anyone integrating vector stores into LangChain, LlamaIndex, Haystack, or custom pipelines.

One‑liner takeaway
lets you store massive embedding collections in a few gigabytes and search them faster than FAISS – all while staying completely local.

──────────────────────────────
🧠 Channel: https://t.me/GithubRe
(2/2)
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
1
🔥 More models. Lower cost. One API key.

Access GPT, Claude, Grok, Gemini, DeepSeek, Kimi, Qwen and more through one gateway.

💰 Better value
Access leading models at prices below official API list rates.

🔌 One unified gateway
Connect apps, agents and coding tools with one Smart API key.

📈 Clear costs
Track every request, token and cost in one place.

🛡️ Reliable access
Choose model groups with ordered fallback options.

👉 Models & pricing:
https://modelflare.dev/pricing?utm_source=telegram&utm_medium=organic_social&utm_campaign=telegram_cn_202608&utm_content=value_models_one_api_v1

⚡️ Create an account:
https://modelflare.dev/sign-up?utm_source=telegram&utm_medium=organic_social&utm_campaign=telegram_cn_202608&utm_content=value_models_one_api_signup_v1

💬 Join the ModelFlare community:
https://t.me/+GxEEPAsQ0ERiOGUx
Please open Telegram to view this post
VIEW IN TELEGRAM
3
Please open Telegram to view this post
VIEW IN TELEGRAM
1
Please open Telegram to view this post
VIEW IN TELEGRAM
1
Please open Telegram to view this post
VIEW IN TELEGRAM
1