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.
34 repos in AI safety & security matching “pi”
Red-teaming, guardrails, privacy and security tools for AI systems.
AI safety & security
Stars:15.3kvosk-api
Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Jupyter Notebook · Apache-2.0 · updated 1 month agoDetails›AI safety & security
Stars:1.4koffensive-ai-compilation
A curated list of useful resources that cover Offensive AI.
HTML · CC-BY-SA-4.0 · updated 0 months 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:68NoPII
Ready-to-run examples showing NoPII PII protection with OpenAI, Anthropic, LangChain, LlamaIndex, and more
Python · MIT · updated 6 months agoDetails›AI safety & security
Stars:58comfy-api-liberation
Use your own API keys with ComfyUI. No account required.
Python · MIT · updated 7 months 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:39.7kquivr
An open-source engine that turns continuous content streams into search and monitoring. Durable ingestion, hybrid search, alerts, and plugins for formats, models and business rules.
Go · MIT · updated 15 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:9.9kBlackFriday-GPTs-Prompts
List of free GPTs that doesn't require plus subscription
MIT · updated 8 months 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:3kSnapOtter
Open-source, self-hosted file-processing tool. Convert, compress, OCR, transcribe & run local AI across image, video, audio, PDF & documents, via UI, REST API & pipelines. Your files never leave your network.
TypeScript · AGPL-3.0 · updated 10 days 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.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.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:1.2kpentestcode
PentestCode - Multi-agent AI penetration testing system with persistent engagement state, strategic coordination, and parallel autonomous operations.
TypeScript · MIT · updated 26 days 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: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: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: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: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: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: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:269wrench-board
A senior microsoldering technician, available to every repair shop from the seasoned pro to the apprentice. Powered by Claude Opus 5
Python · updated 4 months 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: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: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: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:54llmtrace
Zero-code LLM security & observability proxy. Real-time prompt injection detection, PII scanning, and cost control for OpenAI-compatible APIs. Built in Rust.
Python · MIT · updated 3 months agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.