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.
77 repos in AI safety & security matching “py”
Red-teaming, guardrails, privacy and security tools for AI systems.
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.6kgaia
Build AI agents for your PC
Python · MIT · updated 10 days 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.6kFuzzyAI
A powerful tool for automated LLM fuzzing. It is designed to help developers and security researchers identify and mitigate potential jailbreaks in their LLM APIs.
Jupyter Notebook · Apache-2.0 · updated 9 months 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.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: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:1kphotoguard
Raising the Cost of Malicious AI-Powered Image Editing
Jupyter Notebook · MIT · updated 3 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: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: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 15 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 24 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: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›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.