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.
71 repos in AI safety & security matching “ai-”
Red-teaming, guardrails, privacy and security tools for AI systems.
AI safety & security
Stars:1.4kaibeat
Break your AI before they do. Join Discord: https://discord.gg/NXXz8JG74
HTML · updated 1 month 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 13 days 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:1kAgentLens
Agentlens is a trusted agent trading platform. Here, you can quickly find the Agent that meets your needs, and you can also publish your own Agent to turn it into your digital asset. We encourage everyone to transform their areas of expertise into Agents and turn them into…
TypeScript · 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: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: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:691agentos
TypeScript AI agent framework: cognitive memory, dynamic personalities, emergent behaviors and self-building designs
TypeScript · Apache-2.0 · updated 10 days agoDetails›AI safety & security
Stars:663enterprise-system-design
A source-grounded course and architectural reference for engineers designing systems that must survive real traffic, partial failure, security review, and changing requirements, spanning enterprise system design, distributed systems, AI systems, cybersecurity, reliability, cloud, HPC, edge, and mis…
updated 19 days 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: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: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:411agentsh
Execution-Layer Security (ELS) for AI agents — policy-enforced shell with audit.
Go · Apache-2.0 · updated 23 days 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: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 12 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 18 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: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: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›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.