Thanks to visit codestin.com
Credit goes to github.com

Skip to content

nbajpai-code/agenticSOC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agentic SOC Reference Architecture

This repository contains a reference implementation of an Agentic Security Operations Center (SOC) using LangChain and LangGraph.

It demonstrates a multi-agent workflow where specialized AI agents collaborate to handle security alerts:

  1. Triage Agent: Analyzes raw alerts to determine severity and validity.
  2. Investigation Agent: Gathers context using (mock) security tools like SIEM logs and Threat Intel.
  3. Response Agent: Proposes remediation actions based on the investigation.

Architecture

graph TD
    Start([Alert In]) --> Triage
    Triage -- "False Positive" --> End([End w/ Note])
    Triage -- "Incident" --> Investigation
    Investigation --> Response
    Response --> End
Loading

Features

  • Stateful Workflow: Uses LangGraph to maintain context (alert data, investigation findings) across agent steps.
  • Mock Tools: Includes simulated tools for search_logs, virustotal_lookup, and firewall_block_ip to demonstrate tool use without needing live API keys.
  • Extensible: Designed to be easily adapted to real integrations (Splunk, Microsoft Sentinel, etc.).

Setup

  1. Clone the repository.
  2. Install dependencies:
    pip install -r requirements.txt
  3. Run the demo:
    python main.py

Project Structure

  • main.py: Entry point for the simulation.
  • soc/: Core package.
    • graph.py: Defines the LangGraph workflow.
    • state.py: Defines the shared application state.
    • agents/: Agent implementations (prompts and logic).
    • tools/: Tool definitions.

EC COUNCIL GITHUB

LANGSMITH HUB

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages