AIOS DNA

connectors-README

AIOSDNA Connector Architecture

The AIOSDNA Connector Architecture provides a unified framework for integrating external systems with the AIOSDNA Control Plane. It enables secure, reliable data flow from edge systems to the central intelligence layer.

Overview

┌─────────────────────────────────────────────────────────────────────────────┐
│                          AIOSDNA Control Plane                               │
├─────────────────────────────────────────────────────────────────────────────┤
│  ┌──────────────┐   ┌───────────────────┐   ┌──────────────────┐           │
│  │  Ingestion   │──▶│  Normalization    │──▶│     Routing      │           │
│  │    Layer     │   │      Layer        │   │      Layer       │           │
│  └──────────────┘   └───────────────────┘   └──────────────────┘           │
│         │                                            │                      │
│         │                                            ▼                      │
│         │                              ┌─────────────────────────┐          │
│         │                              │    Kernel Dispatch      │          │
│         │                              │  Trading│Security│Ops   │          │
│         │                              └─────────────────────────┘          │
└─────────┼───────────────────────────────────────────┼───────────────────────┘
          │                                           │
          │              Outbound Only                │
          ▼                                           ▼
┌─────────────────────────────────────────────────────────────────────────────┐
│                              Connectors                                      │
├────────────────┬────────────────┬───────────────┬───────────────────────────┤
│   SDK          │   Mini Agent   │    Data       │      Webhook              │
│  Connectors    │   (Sidecar)    │  Connectors   │     Receivers             │
│                │                │               │                           │
│  • Python SDK  │  • Log Tailer  │  • Snowflake  │  • HTTP Endpoints         │
│  • Node.js SDK │  • DB Poller   │  • BigQuery   │  • Event Ingestion        │
│                │  • HTTP Poller │  • PostgreSQL │                           │
│                │  • Metrics     │               │                           │
└────────────────┴────────────────┴───────────────┴───────────────────────────┘

Key Concepts

Connectors

Connectors are the bridge between external systems and AIOSDNA. They:

  • Collect data from various sources (logs, metrics, databases)
  • Transform events into normalized format
  • Send securely to the Control Plane via authenticated channels

Event Types

AIOSDNA supports several event categories:

CategoryEvent TypesRouted To
Tradingtrading.trade_executed, trading.order_submitted, etc.Trading Kernel
Securitysecurity.alert, security.auth_failure, etc.Security Kernel
Operationsops.metric, ops.log_line, ops.service_healthOps Kernel

Authentication

All connectors authenticate using API keys:

python
from aiosx.connectors.sdk import AIOSDNAClient
client = AIOSDNAClient(
api_key="aiosk_your_api_key_here",
org_id="org_your_org_id",
)

Capabilities

Connectors have capability-based access control:

  • send_trades - Can send trading events
  • send_metrics - Can send operational metrics
  • send_logs - Can send log events
  • send_security_alerts - Can send security events

Architecture Principles

  1. Intelligence at the Center - Complex processing happens in the Control Plane
  2. Lightweight Edge - Connectors are simple data collectors
  3. Outbound Only - Connectors initiate connections (no inbound ports)
  4. Strong Tenant Isolation - org_id enforced at every layer
  5. Capability-Based Access - Fine-grained permissions per connector

Installation

Python SDK

bash
pip install aiosdna-sdk

Node.js SDK

bash
npm install @aiosdna/sdk

Mini Agent

bash
# Docker
docker run -d aiosdna/mini-agent:latest
# Binary
curl -sSL https://get.aiosdna.io/mini-agent | bash

Next Steps

  1. Create your first connector
  2. Send your first event
  3. Set up the Mini Agent

Was this helpful?