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

Skip to content

ApiliumCode/aingle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AIngle

The Semantic Infrastructure for Intelligent Applications

Enabling enterprises to build secure, scalable, and intelligent distributed systems

Build Status License Rust

Solutions β€’ Capabilities β€’ Get Started β€’ Website


Why AIngle?

Modern enterprises face a critical challenge: legacy systems can't keep pace with the demands of IoT, real-time compliance, and intelligent automation. Traditional databases are too slow. Blockchains are too heavy. Point solutions create silos.

AIngle is different.

Built from the ground up as a Semantic DAG (Directed Acyclic Graph), AIngle combines the best of distributed ledgers, graph databases, and edge computing into a single, unified platform.

The Result?

Traditional Approach With AIngle
Weeks to detect compliance violations Real-time detection
Knowledge lost when employees leave Captured and searchable forever
IoT devices can't run complex logic Full intelligence at the edge
Separate systems for data, logic, privacy One unified platform

Enterprise Solutions

πŸ” Deep Context β€” Preserve Institutional Knowledge

The Problem: When senior developers leave, they take critical knowledge with them. New team members see what the code does, but not why decisions were made. This creates technical debt and repeated mistakes.

The Solution: Deep Context captures architectural decisions, design rationale, and semantic relationships directly in your development workflow.

Business Impact:

  • βœ… 50% faster onboarding for new developers
  • βœ… Reduce technical debt from uninformed decisions
  • βœ… Audit-ready decision history
  • βœ… Searchable knowledge base that grows with your codebase
"Why did we choose microservices for the payment system?"
β†’ Deep Context returns the original decision, alternatives considered,
  and the business context from 2 years ago.

Explore Deep Context β†’


🏦 Semantic Compliance β€” Real-Time AML/KYC

The Problem: Financial institutions review customers annually. If an entity appears on a sanctions list today, it can take weeks to detect. Manual processes create compliance gaps and regulatory risk.

The Solution: AIngle's Semantic Compliance monitors sanctions lists in real-time, using graph analysis to detect hidden relationships and fuzzy matching to catch name variations.

Business Impact:

  • βœ… Instant detection when sanctions lists change
  • βœ… Uncover hidden networks through graph analysis
  • βœ… Reduce false positives with semantic matching
  • βœ… Immutable audit trail for regulatory proof
Traditional: Annual review β†’ 365-day exposure window
AIngle:      Real-time sync β†’ Minutes to detection

Explore Semantic Compliance β†’


πŸ“‘ Edge Intelligence β€” IoT Without Compromise

The Problem: IoT devices have limited resources but need to make intelligent decisions. Cloud round-trips add latency. Connectivity isn't guaranteed. Yet you need security, coordination, and smart behavior.

The Solution: AIngle Minimal runs on devices with less than 1MB RAM, providing full DAG capabilities, peer-to-peer gossip, and embedded intelligence at the edge.

Business Impact:

  • βœ… Sub-second decisions without cloud dependency
  • βœ… Automatic anomaly detection on-device
  • βœ… Mesh networking between devices
  • βœ… Zero infrastructure costs for device-to-device communication

Supported Protocols: CoAP β€’ mDNS β€’ Gossip β€’ DTLS

Explore IoT Capabilities β†’


Key Capabilities

🧠 Semantic Graph Engine

Native graph database with SPARQL queries. Model complex relationships, run pattern matching, and traverse connectionsβ€”all without external dependencies.

πŸ” Zero-Knowledge Privacy

Prove facts without revealing data. Schnorr signatures, Pedersen commitments, and Bulletproofs built-in. Perfect for identity verification and confidential transactions.

⚑ HOPE Agents

Hierarchical Optimistic Policy Engine. Reinforcement learning (Q-Learning, SARSA, TD) for autonomous decision-making. From anomaly detection to resource optimization.

🌐 Unified API Layer

One interface, three protocols. REST for simplicity, GraphQL for flexibility, SPARQL for semantic queries. The Cortex API adapts to your needs.

πŸ“œ Smart Contracts

Rust-based DSL compiled to WASM. Type-safe, sandboxed execution with deterministic results. Deploy business logic that runs anywhere.

πŸ“Š Real-Time Visualization

Interactive D3.js dashboard. Watch your DAG evolve in real-time. Filter, search, export, and analyze system behavior visually.


Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                         APPLICATION LAYER                               β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚   β”‚    Zomes     β”‚  β”‚   Contracts  β”‚  β”‚ HOPE Agents  β”‚  β”‚  DAG Viz  β”‚ β”‚
β”‚   β”‚   (WASM)     β”‚  β”‚  (Rust DSL)  β”‚  β”‚    (RL)      β”‚  β”‚  (D3.js)  β”‚ β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                            API LAYER                                    β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚   β”‚              Cortex API (REST β€’ GraphQL β€’ SPARQL)               β”‚  β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                          CORE SERVICES                                  β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚   β”‚  Semantic    β”‚  β”‚    Logic     β”‚  β”‚  ZK Proofs   β”‚  β”‚ Contracts β”‚ β”‚
β”‚   β”‚   Graph      β”‚  β”‚   Engine     β”‚  β”‚  (Privacy)   β”‚  β”‚  Runtime  β”‚ β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                         NETWORK LAYER                                   β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚   β”‚ Kitsune P2P  β”‚  β”‚    CoAP      β”‚  β”‚   Gossip     β”‚  β”‚   mDNS    β”‚ β”‚
β”‚   β”‚   (QUIC)     β”‚  β”‚   (IoT)      β”‚  β”‚ (Optimized)  β”‚  β”‚ Discovery β”‚ β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Getting Started

Quick Start

# Clone
git clone https://github.com/ApiliumCode/aingle.git
cd aingle

# Build
cargo build --workspace --release

# Test
cargo test --workspace

# Documentation
cargo doc --workspace --no-deps --open

Prerequisites

  • Rust 1.70 or later
  • libsodium-dev (cryptography)
  • libssl-dev (TLS)
  • pkg-config

Run Examples

# Deep Context - Semantic Git
cd examples/deep_context
cargo run --release -- --help

# Semantic Compliance - AML/KYC
cd examples/semantic_compliance
cargo run --release -- --help

Documentation

Guide Description
Getting Started Build your first AIngle application
IoT Networks Deploy sensors with edge intelligence
HOPE Agents Add autonomous decision-making
Semantic Queries Master GraphQL and SPARQL
Privacy (ZK) Implement zero-knowledge proofs
Visualization Monitor your system in real-time

Full API Reference:

cargo doc --workspace --no-deps --open

Platform Components

Core

Component Purpose
aingle Main conductor and runtime
aingle_minimal Ultra-light IoT node (<1MB)
kitsune_p2p P2P networking (QUIC)
aingle_sqlite Persistent storage

Intelligence

Component Purpose
hope_agents Reinforcement learning framework
aingle_logic Prolog-style reasoning engine
aingle_graph Semantic graph database

Security & Privacy

Component Purpose
aingle_zk Zero-knowledge proofs
aingle_contracts Smart contract runtime
aingle_cortex API gateway with auth

SDKs

Official SDKs for integrating AIngle into your applications:

Language Package Repository
JavaScript/TypeScript @apilium/aingle-sdk aingle-sdk-js
Python aingle-sdk aingle-sdk-python
Go github.com/ApiliumCode/aingle-sdk-go aingle-sdk-go
Swift AIngleSDK aingle-sdk-swift
Kotlin com.apilium:aingle-sdk aingle-sdk-kotlin

Quick Example (JavaScript)

import { AIngleClient } from '@apilium/aingle-sdk';

const client = new AIngleClient('http://localhost:8080');

// Create an entry
const hash = await client.createEntry({ sensor: 'temp', value: 23.5 });

// Subscribe to real-time updates
client.subscribe((entry) => {
  console.log('New entry:', entry.hash);
});

Running with SDK Support

# Start node with REST API enabled
aingle-minimal run --rest-port 8080

Contributing

We welcome contributions from the community.

  1. Fork the repository
  2. Create your feature branch
  3. Write tests for new functionality
  4. Ensure all tests pass: cargo test --workspace
  5. Format code: cargo fmt --all
  6. Submit a pull request

See our contribution guidelines for details.


License

Apache License 2.0

Copyright Β© 2019-2025 Apilium Technologies

See LICENSE for the full license text.


Ready to transform your enterprise?

Visit apilium.com Β β€’Β  Contact Us Β β€’Β  GitHub

Apilium Technologies β€’ Tallinn, Estonia

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published