Skip to content

Developer Hub

Entry point for developers and contributors to understand, extend, and contribute to Home Security Intelligence.


Quick Start

Task Link
Set up development environment Local Setup
Explore the codebase Codebase Tour
Understand the architecture Architecture
Learn the patterns Patterns & Testing
Contribute code Contributing Guide

Interactive API Docs: Available at /docs (Swagger UI) when the backend is running.


Architecture

System design, data flow, and technology decisions.

Document Description
Architecture Overview High-level system design and component diagram
Data Model PostgreSQL schemas and entity relationships
AI Pipeline Overview FileWatcher -> YOLO26 -> Nemotron flow

AI Pipeline Deep Dives:


API Reference

Full REST and WebSocket API documentation.

Resource Link
API Overview Overview
Core Resources Core Resources
AI Pipeline AI Pipeline
System Operations System Operations
Real-time Real-time
WebSocket Contracts WebSocket Contracts

Interactive Docs: Start the backend and visit http://localhost:8000/docs for Swagger UI.


Patterns & Testing

Code patterns, testing strategies, and quality standards.

Document Description
Testing Guide TDD workflow, fixtures, coverage
Backend Patterns Repository pattern, Result types, errors
Resilience Patterns Circuit breakers, retry logic
UX Patterns Toast notifications, transitions
Keyboard Patterns Shortcuts and command palette
Accessibility WCAG compliance and ARIA patterns

Contributing

Everything you need to contribute to the project.

Document Description
Contributing Guide Full contributor workflow
Code Quality Tools Linting, formatting, analysis
Pre-commit Hooks Hook configuration and usage

Quick Contribution Workflow

# 1. Set up environment
uv sync --extra dev

# 2. Find work in Linear
# https://linear.app/nemotron-v3-home-security/team/NEM/active

# 3. Create branch and implement
git checkout -b feature/my-feature

# 4. Run validation before PR
./scripts/validate.sh

# 5. Create PR
gh pr create --title "feat: my feature"

Key Resources

Service Ports

Service Port Protocol
Frontend 5173 HTTP
Backend API 8000 HTTP/WS
PostgreSQL 5432 TCP
Redis 6379 TCP
YOLO26 8095 HTTP
Nemotron 8091 HTTP

AGENTS.md Navigation

Every directory contains an AGENTS.md file with purpose, key files, and patterns:

# List all AGENTS.md files
find . -name "AGENTS.md" -type f | head -20
Directory Purpose
/AGENTS.md Project overview
/backend/AGENTS.md Backend architecture
/frontend/AGENTS.md Frontend architecture
/ai/AGENTS.md AI pipeline details

Development Workflow

Core development documentation for contributing to the project.

Document Description
Testing Guide TDD workflow, fixtures, coverage
Testing Workflow RED-GREEN-REFACTOR cycle
Code Quality Tools Linting, formatting, static analysis
Git Workflow Git safety, pre-commit rules
Pre-commit Hooks Hook configuration and usage
Contributing Guide PR process and code standards
Linear Integration Issue tracking with Linear MCP tools
Coverage Guide Test coverage requirements
Setup Guide Development environment setup

Hub Audience
User Hub End users - dashboard usage
Operator Hub Admins - deployment, monitoring
Developer Hub You are here

Back to Documentation Index