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.
33 repos in AI safety & security matching “cti”
Red-teaming, guardrails, privacy and security tools for AI systems.
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:52.2kshannon
Shannon is an AI pentester for web applications and APIs. It analyzes your source code, identifies attack vectors, and executes real exploits to prove vulnerabilities before they reach production.
TypeScript · AGPL-3.0 · updated 10 days agoDetails›AI safety & security
Stars:12kpresidio
An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.
Python · MIT · updated 12 days agoDetails›AI safety & security
Stars:6.9ksuperagent
Superagent protects your AI applications against prompt injections, data leaks, and harmful outputs. Embed safety directly into your app and prove compliance to your customers.
TypeScript · MIT · updated 3 months agoDetails›AI safety & security
Stars:6.3kadversarial-robustness-toolbox
Adversarial Robustness Toolbox (ART) - Python Library for Machine Learning Security - Evasion, Poisoning, Extraction, Inference - Red and Blue Teams
Python · MIT · updated 17 days agoDetails›AI safety & security
Stars:5kPyRIT
The Python Risk Identification Tool for generative AI (PyRIT) is an open source framework built to empower security professionals and engineers to proactively identify risks in generative AI systems.
Python · MIT · updated 10 days agoDetails›AI safety & security
Stars:3.8kAI-Engineer-Headquarters
A collection of scientific methods, processes, algorithms, and systems to build stories & models.
Jupyter Notebook · updated 1 month agoDetails›AI safety & security
Stars:3kopenrecall
OpenRecall is a fully open-source, privacy-first alternative to proprietary solutions like Microsoft's Windows Recall. With OpenRecall, you can easily access your digital history, enhancing your memory and productivity without compromising your privacy.
Python · AGPL-3.0 · updated 1 year agoDetails›AI safety & security
Stars:2.5kpentest-ai-agents
Turn Claude Code into your offensive security research assistant. Specialized AI subagents for authorized penetration testing plan engagements, analyze recon, research exploits, build detections, audit STIGs, and write reports.
Shell · MIT · updated 1 month agoDetails›AI safety & security
Stars:2.1kcc-safety-net
A pre-execution guard for AI coding agents. It blocks destructive Git and file system commands, plus common attempts to access sensitive files, before a tool call runs. Supports Amp Code, Antigravity CLI, Claude Code, Codex, Cursor, DeepSeek Harness, Devin CLI, GitHub Copilot…
TypeScript · MIT · updated 11 days agoDetails›AI safety & security
Stars:1.1kagentdojo
A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.
Python · MIT · updated 5 months agoDetails›AI safety & security
Stars:1kmedusa
AI-first security scanner. NEW in v2026.7: Claude Code compromise detection — vet .claude/ hooks, permissions & skills before you clone — plus an always-on AI attack-signature scanner and native Rust & PHP rules. Also: medusa scan --git to vet any repo, medusa secrets scan for leaked API keys. 40,0…
Python · AGPL-3.0 · updated 3 months agoDetails›AI safety & security
Stars:1kMulti-Agent-Medical-Assistant
GenAI powered multi-agentic medical diagnostics and healthcare research assistance chatbot. Designed for healthcare professionals, researchers and patients.
Python · Apache-2.0 · updated 1 year agoDetails›AI safety & security
Stars:1klangkit
LangKit: An open-source toolkit for monitoring Large Language Models (LLMs). Extracts signals from prompts & responses, ensuring safety & security. Features include text quality, relevance metrics, & sentiment analysis. A comprehensive tool for LLM observability.
Jupyter Notebook · Apache-2.0 · updated 2 years agoDetails›AI safety & security
Stars:951skylos
Open source local-first PR scanner that finds dead code, security bugs, secrets, quality regressions, and AI-code mistakes before merge. For first timers refer to https://duriantaco.github.io/skylos/repo-map/
Python · Apache-2.0 · updated 10 days 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:560langtest
Deliver safe & effective language models
Python · Apache-2.0 · updated 11 days agoDetails›AI safety & security
Stars:511vigil-llm
Vigil Detect prompt injections, jailbreaks, and other potentially risky Large Language Model (LLM) inputs
Python · Apache-2.0 · updated 2 years 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:390ash-agents
A swarm of disposable agents for unattributable web interaction
Python · MIT · updated 4 months agoDetails›AI safety & security
Stars:360LLMVault
An intentionally vulnerable OWASP LLM Top 10 training platform for AI Security, Prompt Injection, RAG Security, Agent Security, and GenAI penetration testing.
Python · MIT · updated 18 days 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 10 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›AI safety & security
Stars:249ScreenMind
AI-powered screen memory — captures, analyzes, and lets you search/chat your screen history. Powered by Gemma 4 . 100% local, 100% private.
Python · MIT · updated 28 days agoDetails›AI safety & security
Stars:183ai-runtime-lab
Engineering deterministic, production-grade systems around non-deterministic LLMs — FSM, durable execution, retries, DAGs, agent runtimes, model routing, edge inference, RAG, memory, multi-agent orchestration, security, and observability. 14 runnable proof-of-concept phases.
Python · updated 4 months agoDetails›AI safety & security
Stars:127orloj
An orchestration runtime for multi-agent AI systems. Declare agents, tools, and policies as YAML; Orloj schedules, executes, routes, and governs them for production-grade operation.
Go · Apache-2.0 · updated 11 days agoDetails›AI safety & security
Stars:123guardian-sdk
Ethicore Engine is an AI safety, ethics, and compliance platform. This repo consists of the open-source components of Ethicore Engine - Guardian SDK; designed to protect your AI applications from prompt injection, jailbreaks, role hijacking, system-prompt extraction, and 100+…
Python · updated 10 days agoDetails›AI safety & security
Stars:116VoxShield
Protecting digital communications against audio deepfakes with real-time AI. This system analyzes audio streams to detect synthesized voices and actively prevents voice cloning impersonation attacks.
JavaScript · MIT · updated 2 months agoDetails›AI safety & security
Stars:76aiml-companion
AI-ML Companion: an interactive platform to learn AI & ML by watching it work - 28 tracks, 400+ modules, live visualizations - plus 20+ end-to-end real world projects from classical ML, DL, Computer Vision to production LLM & multi-agent systems.
Jupyter Notebook · updated 15 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.