Open-source AI repos
Open-source AI, all in one place.
13,356 open-source AI repositories for learning, teaching, research and building. Kept up to date by the community: anyone can add a repo with a pull request.
131 repos in AI safety & security matching “r”
Red-teaming, guardrails, privacy and security tools for AI systems.
AI safety & security
Stars:2.2kadversarial-attacks-pytorch
PyTorch implementation of adversarial attacks [torchattacks]
Python · MIT · updated 2 years agoDetails›AI safety & security
Stars:2kprivacy
Library for training machine learning models with privacy for training data
Python · Apache-2.0 · updated 13 days agoDetails›AI safety & security
Stars:1.9kclaude-prism
An offline-first scientific writing workspace powered by Claude. LaTeX + Python + 100+ scientific skills all running locally.
TypeScript · MIT · updated 10 days agoDetails›AI safety & security
Stars:1.7kragbits
Building blocks for rapid development of GenAI applications
Python · MIT · updated 6 months agoDetails›AI safety & security
Stars:1.6ksafe-rlhf
Safe RLHF: Constrained Value Alignment via Safe Reinforcement Learning from Human Feedback
Python · Apache-2.0 · updated 1 year agoDetails›AI safety & security
Stars:1.5kNeuroSploit
NeuroSploit is an advanced, AI-powered penetration testing framework designed to automate and augment various aspects of offensive security operations.
Rust · MIT · updated 10 days agoDetails›AI safety & security
Stars:1.5kwww-project-top-10-for-large-language-model-applications
OWASP Top 10 for Large Language Model Apps (Part of the GenAI Security Project)
Python · updated 3 months agoDetails›AI safety & security
Stars:1.3kairunner
Offline inference engine for art, real-time voice conversations, LLM powered chatbots and automated workflows
Python · GPL-3.0 · updated 11 days agoDetails›AI safety & security
Stars:1.2kBricksLLM
Enterprise-grade API gateway that helps you monitor and impose cost or rate limits per API key. Get fine-grained access control and monitoring per user, application, or environment. Supports OpenAI, Azure OpenAI, Anthropic, vLLM, and open-source LLMs.
Go · MIT · updated 1 year agoDetails›AI safety & security
Stars:1kphotoguard
Raising the Cost of Malicious AI-Powered Image Editing
Jupyter Notebook · MIT · updated 3 years agoDetails›AI safety & security
Stars:935stealing-ur-feelings
Winner of Mozilla's $50,000 prize for AI
JavaScript · updated 3 years agoDetails›AI safety & security
Stars:925api-relay-audit
Local security audit for AI API relays and LLM proxies: detects prompt injection, model substitution, tool-call rewriting, SSE anomalies, error leakage, and Web3 wallet risks.
Python · AGPL-3.0 · updated 13 days agoDetails›AI safety & security
Stars:838pasteguard
AI gets the context. Not your private data. Local-first privacy proxy for browser chat, AI APIs, and coding agents.
TypeScript · Apache-2.0 · updated 14 days agoDetails›AI safety & security
Stars:770recall
Stop wasting tokens and re-explaining your project every session. Recall gives Claude Code , Opencode durable memory — entirely offline.
Python · MIT · updated 2 months agoDetails›AI safety & security
Stars:700speech-to-text-benchmark
speech to text benchmark framework
Python · Apache-2.0 · updated 15 days agoDetails›AI safety & security
Stars:663enterprise-system-design
A source-grounded course and architectural reference for engineers designing systems that must survive real traffic, partial failure, security review, and changing requirements, spanning enterprise system design, distributed systems, AI systems, cybersecurity, reliability, cloud, HPC, edge, and mis…
updated 19 days agoDetails›AI safety & security
Stars:626CipherChat
A framework to evaluate the generalization capability of safety alignment for LLMs
Python · MIT · updated 1 year agoDetails›AI safety & security
Stars:529PromptInject
PromptInject is a framework that assembles prompts in a modular fashion to provide a quantitative analysis of the robustness of LLMs to adversarial prompt attacks. Best Paper Awards @ NeurIPS ML Safety Workshop 2022
Python · MIT · updated 7 months agoDetails›AI safety & security
Stars:511willow-inference-server
Open source, local, and self-hosted highly optimized language inference server supporting ASR/STT, TTS, and LLM across WebRTC, REST, and WS
Python · Apache-2.0 · updated 9 months agoDetails›AI safety & security
Stars:481gerbil
A desktop app for running Large Language Models locally.
TypeScript · AGPL-3.0 · updated 28 days agoDetails›AI safety & security
Stars:470AutoHarness
AutoHarness: Automated Harness Engineering for AI Agents
Python · MIT · updated 7 months agoDetails›AI safety & security
Stars:451ai-jailbreaks
AI jailbreaks: 35 paste-ready AI jailbreak prompts for 25+ frontier and open-weight models - system prompts, AGENTS.md specs, and Ollama Modelfiles. Built for AI security research and red-team testing.
updated 1 month agoDetails›AI safety & security
Stars:428rules
Project CodeGuard is an AI model-agnostic security framework and ruleset that embeds secure-by-default practices into AI coding workflows (generation and review). It ships core security rules, translators for popular coding agents, and validators to test rule compliance.
Python · updated 10 months agoDetails›AI safety & security
Stars:403tiger
Open Source LLM toolkit to build trustworthy LLM applications. TigerArmor (AI safety), TigerRAG (embedding, RAG), TigerTune (fine-tuning)
Jupyter Notebook · Apache-2.0 · updated 3 years agoDetails›AI safety & security
Stars:369prompt-hacker-collections
prompt attack-defense, prompt Injection, reverse engineering notes and examples | 提示词对抗、破解例子与笔记
MIT · updated 1 year agoDetails›AI safety & security
Stars:366orbit
Self-hosted AI gateway for private RAG, natural-language data access, and tool-calling agents.
Python · Apache-2.0 · updated 12 days agoDetails›AI safety & security
Stars:350secureclaw
SecureClaw - Security Plugin and Skill for OpenClaw OWASP-Aligned
TypeScript · updated 7 months agoDetails›AI safety & security
Stars:315greywall
Container-free, deny-by-default sandbox for AI coding agents. Kernel-enforced filesystem, network, and syscall isolation for Linux and macOS
Go · Apache-2.0 · updated 1 month agoDetails›AI safety & security
Stars:304clawdstrike
Agentic AI EDR for developer workstations and autonomous agent swarms. Build Swarm Detection & Response platforms with Clawdstrike.
TypeScript · Apache-2.0 · updated 11 days agoDetails›AI safety & security
Stars:279SecurityClaw
A modular, skill-based autonomous Security Operations Center (SOC) agent that monitors OpenSearch/Elasticsearch data, builds RAG-based behavioral memory, and validates real-time anomalies using LLMs.
Python · MIT · updated 1 month agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.