# veda-sec/guardai-agente-cibersecurity architecture

> Architecture diagram of the GitHub repository veda-sec/guardai-agente-cibersecurity, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/veda-sec/guardai-agente-cibersecurity
- Repository: https://github.com/veda-sec/guardai-agente-cibersecurity

## Overview

GuardAI is a file-based cybersecurity mentor for students and practitioners, loaded by a compatible AI harness or supplied to another AI. Its main workflow asks for authorization and scope, performs passive reconnaissance, filters observations, and guides a human through manual validation rather than exploiting or fixing issues itself. Confirmed findings become a structured Red/Blue Team report. The repository also includes code-audit guidance and other learning skills. Only README-documented relationships are shown; source excerpts were unavailable, so unsampled behavior and links are omitted.

Main entry points: [`skills/vulnerability-analysis/SKILL.md`](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/vulnerability-analysis/SKILL.md) (Independent verifier), [`AGENTS.md`](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/AGENTS.md) (Agent instructions), [`skills/vulnerability-analysis/CODE-AUDIT.md`](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/vulnerability-analysis/CODE-AUDIT.md) (Code audit guidance), [`agent/persona.md`](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/agent/persona.md) (GuardAI persona)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Agent setup"]
  node_agent_rules["Agent instructions<br/>[AGENTS.md]"]
  node_persona["GuardAI persona<br/>[persona.md]"]
  node_any_ai["Standalone instructions"]
end

subgraph group_pentest["Vulnerability analysis"]
  node_vuln_skill["Vulnerability workflow<br/>[SKILL.md]"]
  node_recon["Passive reconnaissance<br/>[SKILL.md]"]
  node_verifier["Independent verifier<br/>[SKILL.md]"]
  node_surface_map["Attack surface map<br/>[SKILL.md]"]
  node_action_plan["Manual action plan<br/>[SKILL.md]"]
  node_code_audit["Code audit guidance<br/>[CODE-AUDIT.md]"]
  node_coverage_ledger["Coverage ledger model"]
  node_report["Assessment report<br/>[SKILL.md]"]
end

subgraph group_knowledge["Security knowledge"]
  node_security_basics["Security fundamentals<br/>[security-basics.md]"]
  node_dio_knowledge["DIO platform knowledge<br/>[dio-platform.md]"]
  node_learning_knowledge["Learning experiences"]
end

subgraph group_learning["Learning skills"]
  node_builder_skill["AI builder path<br/>[SKILL.md]"]
  node_concept_skill["Concept explanations<br/>[SKILL.md]"]
  node_portfolio_skill["Portfolio review<br/>[SKILL.md]"]
  node_study_skill["Study planning<br/>[SKILL.md]"]
  node_unblock_skill["Challenge guidance<br/>[SKILL.md]"]
  node_web_skill["Web search<br/>[SKILL.md]"]
end

node_user(("Human user"))
node_harness{{"AI harness"}}
node_target{{"Authorized target"}}
node_manual_tools{{"Manual tools"}}

node_harness -->|"loads instructions"| node_agent_rules
node_agent_rules -->|"configures persona"| node_persona
node_user -->|"supplies instructions"| node_any_ai
node_user -->|"requests analysis"| node_vuln_skill
node_vuln_skill -->|"guides"| node_recon
node_recon -->|"reads passively"| node_target
node_recon -->|"submits observations"| node_verifier
node_verifier -->|"filters findings"| node_surface_map
node_surface_map -->|"informs"| node_action_plan
node_action_plan -->|"guides testing"| node_user
node_user -->|"runs tests"| node_manual_tools
node_user -->|"provides test results"| node_verifier
node_verifier -->|"supports report"| node_report
node_user -->|"requests code review"| node_code_audit
node_code_audit -->|"uses model"| node_coverage_ledger
node_user -->|"asks concepts"| node_security_basics

click node_agent_rules "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/AGENTS.md"
click node_persona "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/agent/persona.md"
click node_any_ai "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/INSTRUCOES-PARA-QUALQUER-IA.txt"
click node_vuln_skill "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/vulnerability-analysis/SKILL.md"
click node_recon "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/vulnerability-analysis/SKILL.md"
click node_verifier "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/vulnerability-analysis/SKILL.md"
click node_surface_map "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/vulnerability-analysis/SKILL.md"
click node_action_plan "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/vulnerability-analysis/SKILL.md"
click node_code_audit "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/vulnerability-analysis/CODE-AUDIT.md"
click node_coverage_ledger "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/vulnerability-analysis/coverage-ledger-exemplo.json"
click node_report "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/vulnerability-analysis/SKILL.md"
click node_security_basics "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/agent/knowledge/security-basics.md"
click node_dio_knowledge "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/agent/knowledge/dio-platform.md"
click node_learning_knowledge "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/agent/knowledge/learning-experiences.md"
click node_builder_skill "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/ai-builder-path/SKILL.md"
click node_concept_skill "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/explain-concept/SKILL.md"
click node_portfolio_skill "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/portfolio-review/SKILL.md"
click node_study_skill "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/study-plan/SKILL.md"
click node_unblock_skill "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/unblock-challenge/SKILL.md"
click node_web_skill "https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/web-search/SKILL.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_agent_rules,node_persona,node_any_ai,node_user toneBlue
class node_vuln_skill,node_recon,node_verifier,node_surface_map,node_action_plan,node_code_audit,node_coverage_ledger,node_report toneAmber
class node_security_basics,node_dio_knowledge,node_learning_knowledge toneMint
class node_builder_skill,node_concept_skill,node_portfolio_skill,node_study_skill,node_unblock_skill,node_web_skill toneRose
class node_harness,node_target,node_manual_tools toneIndigo
```

## Components

### Agent setup

- [Agent instructions](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/AGENTS.md): `AGENTS.md`
- [GuardAI persona](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/agent/persona.md): `agent/persona.md`
- [Standalone instructions](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/INSTRUCOES-PARA-QUALQUER-IA.txt): `INSTRUCOES-PARA-QUALQUER-IA.txt`

### Vulnerability analysis

- [Vulnerability workflow](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/vulnerability-analysis/SKILL.md): `skills/vulnerability-analysis/SKILL.md`
- [Passive reconnaissance](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/vulnerability-analysis/SKILL.md): `skills/vulnerability-analysis/SKILL.md`
- [Independent verifier](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/vulnerability-analysis/SKILL.md): `skills/vulnerability-analysis/SKILL.md`
- [Attack surface map](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/vulnerability-analysis/SKILL.md): `skills/vulnerability-analysis/SKILL.md`
- [Manual action plan](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/vulnerability-analysis/SKILL.md): `skills/vulnerability-analysis/SKILL.md`
- [Code audit guidance](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/vulnerability-analysis/CODE-AUDIT.md): `skills/vulnerability-analysis/CODE-AUDIT.md`
- [Coverage ledger model](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/vulnerability-analysis/coverage-ledger-exemplo.json): `skills/vulnerability-analysis/coverage-ledger-exemplo.json`
- [Assessment report](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/vulnerability-analysis/SKILL.md): `skills/vulnerability-analysis/SKILL.md`

### Security knowledge

- [Security fundamentals](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/agent/knowledge/security-basics.md): `agent/knowledge/security-basics.md`
- [DIO platform knowledge](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/agent/knowledge/dio-platform.md): `agent/knowledge/dio-platform.md`
- [Learning experiences](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/agent/knowledge/learning-experiences.md): `agent/knowledge/learning-experiences.md`

### Learning skills

- [AI builder path](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/ai-builder-path/SKILL.md): `skills/ai-builder-path/SKILL.md`
- [Concept explanations](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/explain-concept/SKILL.md): `skills/explain-concept/SKILL.md`
- [Portfolio review](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/portfolio-review/SKILL.md): `skills/portfolio-review/SKILL.md`
- [Study planning](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/study-plan/SKILL.md): `skills/study-plan/SKILL.md`
- [Challenge guidance](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/unblock-challenge/SKILL.md): `skills/unblock-challenge/SKILL.md`
- [Web search](https://github.com/veda-sec/guardai-agente-cibersecurity/blob/main/skills/web-search/SKILL.md): `skills/web-search/SKILL.md`

### Other components

- **Human user**
- **AI harness**
- **Authorized target**
- **Manual tools**

## Connections

- AI harness → Agent instructions: loads instructions (evidence: `README.md`)
- Agent instructions → GuardAI persona: configures persona (evidence: `README.md`)
- Human user → Standalone instructions: supplies instructions (evidence: `README.md`)
- Human user → Vulnerability workflow: requests analysis (evidence: `README.md`)
- Vulnerability workflow → Passive reconnaissance: guides (evidence: `README.md`)
- Passive reconnaissance → Authorized target: reads passively (evidence: `README.md`)
- Passive reconnaissance → Independent verifier: submits observations (evidence: `README.md`)
- Independent verifier → Attack surface map: filters findings (evidence: `README.md`)
- Attack surface map → Manual action plan: informs (evidence: `README.md`)
- Manual action plan → Human user: guides testing (evidence: `README.md`)
- Human user → Manual tools: runs tests (evidence: `README.md`)
- Human user → Independent verifier: provides test results (evidence: `README.md`)
- Independent verifier → Assessment report: supports report (evidence: `README.md`)
- Human user → Code audit guidance: requests code review (evidence: `README.md`)
- Code audit guidance → Coverage ledger model: uses model (evidence: `README.md`)
- Human user → Security fundamentals: asks concepts (evidence: `README.md`)
