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.
16 repos in AI safety & security matching “lms”
Red-teaming, guardrails, privacy and security tools for AI systems.
AI safety & security
Stars:3.9kjailbreak_llms
[CCS'24] A dataset consists of 15,140 ChatGPT prompts from Reddit, Discord, websites, and open-source datasets (including 1,405 jailbreak prompts).
Jupyter Notebook · MIT · updated 1 year agoDetails›AI safety & security
Stars:23.6kSelf-Hosting-Guide
Self-Hosting Guide. Learn all about locally hosting (on premises & private web servers) and managing software applications by yourself or your organization. Including Cloud, LLMs, WireGuard, Automation, Home Assistant, and Networking.
Dockerfile · updated 1 year agoDetails›AI safety & security
Stars:7.5kGuardrails
NeMo Guardrails is an open-source toolkit for easily adding programmable guardrails to LLM-based conversational systems.
Python · updated 11 days agoDetails›AI safety & security
Stars:3.2knesa
Run AI models end-to-end encrypted.
Python · updated 1 year agoDetails›AI safety & security
Stars:1.8kllmgateway
Route, manage, and analyze your LLM requests across multiple providers with a unified API interface.
TypeScript · 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.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.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: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: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: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: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: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›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.