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.
69 repos in AI safety & security matching “python”
Red-teaming, guardrails, privacy and security tools for AI systems.
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.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 10 days agoDetails›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 12 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: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 9 days 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 12 days agoDetails›AI safety & security
Stars:868SydneyQt
A cross-platform desktop client for the jailbroken New Bing AI Copilot (Sydney ver.) built with Go and Wails (previously based on Python and Qt).
Go · Unlicense · updated 2 years 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 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:560langtest
Deliver safe & effective language models
Python · Apache-2.0 · updated 11 days agoDetails›AI safety & security
Stars:540hackagent
HackAgent is an open-source security toolkit to detect vulnerabilities of your AI Agents
Python · Apache-2.0 · updated 10 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: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: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:470AutoHarness
AutoHarness: Automated Harness Engineering for AI Agents
Python · MIT · updated 7 months agoDetails›AI safety & security
Stars:435Bello
3x more usage on your coding agent, same quality. Have an multi-agent setup in mind? Bello already supports it. Mix models, run agents in parallel, have them check each other’s work, and reduce unnecessary model calls and noisy tool output. Turn on only what you need.
Python · MIT · updated 23 days 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:420aifw
AI Agent Identity and Access Management and Inference Firewall
Python · updated 1 month 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:366orbit
Self-hosted AI gateway for private RAG, natural-language data access, and tool-calling agents.
Python · Apache-2.0 · updated 11 days 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 17 days agoDetails›AI safety & security
Stars:354ai-health-vault
AI + Obsidian private health management system template
Python · MIT · updated 7 months 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›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.