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.
58 repos in AI safety & security matching “llm”
Red-teaming, guardrails, privacy and security tools for AI systems.
AI safety & security
Stars:1.3kattackgen
AttackGen is a cybersecurity incident response testing tool that leverages the power of large language models and the comprehensive MITRE ATT&CK framework. The tool generates tailored incident response scenarios based on user-selected threat actor groups and your…
Python · GPL-3.0 · updated 13 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: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: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:626CipherChat
A framework to evaluate the generalization capability of safety alignment for LLMs
Python · MIT · updated 1 year agoDetails›AI safety & security
Stars:609taOS
Self-hosted AI agent OS. Your memory, chat, agents, and files stay on hardware you own, offline by default, cloud by choice. Offline AI memory (taOSmd), self-hosted multi-framework group chat, a full web desktop + app store, and auto-clustering across the consumer hardware…
Python · AGPL-3.0 · updated 11 days 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:420aifw
AI Agent Identity and Access Management and Inference Firewall
Python · updated 1 month 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: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:354humla
Open-source AI meeting notes for Mac. Records mic + system audio with no bot, transcribes on-device or via OpenAI / Deepgram / Groq, identifies speakers offline, and writes summaries that fuse your notes with the transcript. Ask your notes and get cited answers. Tauri 2 +…
Rust · MIT · 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:309agent-safety-eval-lab
Agent trace and tool-use safety evaluation lab.
Python · MIT · updated 7 months 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:269floe-guard
AI Initiative Ledger — local spend meter and budget gate for AI tasks. Meters every vendor leg (LLM, speech, telephony, search, tools), hard-stops before the ceiling. MIT, no account.
Python · MIT · updated 15 days agoDetails›AI safety & security
Stars:230aisix
Open-source AI gateway for LLMs & AI agents, built in Rust. One OpenAI-compatible API for OpenAI, Anthropic, Gemini, Bedrock & more — routing, guardrails, caching, rate limits, observability.
Rust · Apache-2.0 · updated 11 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:94opencode-senses
The vision plugin for OpenCode that truly understands images. Inspect, read, and reason about any screenshot or picture with deeper understanding than any other plugin — fully local, private, and free.
TypeScript · MIT · updated 10 days 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›AI safety & security
Stars:46TeaLeaves
End-to-end pipeline for seeing how LLMs actually process your prompts. Capture attention across every layer, render heatmaps and cooking curves, compare variants with evidence — not vibes.
Python · updated 4 months agoDetails›AI safety & security
Stars:45pcl
Persona Control Language (PCL)
TypeScript · Apache-2.0 · updated 1 month agoDetails›AI safety & security
ai-security-tool
🛡️ Free open-source AI-powered security terminal & vulnerability scanner (CVE, SBOM). Supports SSH, SFTP, RDP, VNC, Serial, and 12+ autonomous AI agents (DeepSeek, OpenAI) for automated security workflows, CTF & DevSecOps. Cross-platform & Web UI.
HTML · MITDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.