CircleAI.Aether 1.3.0

dotnet add package CircleAI.Aether --version 1.3.0
                    
NuGet\Install-Package CircleAI.Aether -Version 1.3.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CircleAI.Aether" Version="1.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CircleAI.Aether" Version="1.3.0" />
                    
Directory.Packages.props
<PackageReference Include="CircleAI.Aether" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CircleAI.Aether --version 1.3.0
                    
#r "nuget: CircleAI.Aether, 1.3.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CircleAI.Aether@1.3.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CircleAI.Aether&version=1.3.0
                    
Install as a Cake Addin
#tool nuget:?package=CircleAI.Aether&version=1.3.0
                    
Install as a Cake Tool

Circle AI — 10-Language SDK

English · Français · Español · العربية · 中文简体 · 日本語 · Deutsch · Português (BR) · Русский · فارسی · 한국어

The portable core of the Circle AI companion stack. Runs natively alongside every Aether Protocol node — wearable, phone, IoT, HarmonyOS — with no FFI overhead and no runtime bridging.


Portable Core (8 modules)

Module Key types
models ChatMessage, DownloadProgress
memory AffectState, EpisodicMemoryEntry, PersonaState, Goal
identity CircleIdentity, RegisteredDevice, IdentityTier
languages LanguageTag, KnownLanguages (20 BCP-47 tags), WritingSystem
companion CompanionContext, CompanionTurn, ICompanionSession
inference GenerationOptions, IChatGenerator
tools ToolDefinition, ToolInvocation, ToolResult, IToolBridge
sync SyncDelta, SyncDeliveryMode, ISyncChannel

Language Quickstart

C# (.NET)

dotnet add package CircleAI.Core
using CircleAI.Memory;
using CircleAI.Languages;

var state = new AffectState();
state.ApplyPositiveSignal();
Console.WriteLine(state.Engagement); // 0.52

var lang = KnownLanguages.Zulu;
Console.WriteLine(lang.BcpTag); // "zu"

Python

pip install circle-ai-sdk
from circle_ai.memory import AffectState
from circle_ai.languages import KnownLanguages

state = AffectState()
state.apply_positive_signal()
print(state.engagement)  # 0.52

reg = KnownLanguages()
print(reg.find_by_bcp_tag("zu").english_name)  # Zulu

TypeScript / Node.js

npm install @bhengubv/circle-ai
import { AffectState, KnownLanguages } from '@bhengubv/circle-ai';

const state = new AffectState();
state.applyPositiveSignal();
console.log(state.engagement); // 0.52

const reg = new KnownLanguages();
console.log(reg.findByBcpTag('zu')?.englishName); // Zulu

Go

go get github.com/bhengubv/CircleAI/go
import "github.com/bhengubv/CircleAI/go"

state := circleai.NewAffectState()
state.ApplyPositiveSignal()
fmt.Println(state.Engagement) // 0.52

lang := circleai.FindLanguage("zu")
fmt.Println(lang.EnglishName) // Zulu

Kotlin (JVM)

// build.gradle.kts
implementation("com.bhengubv:circle-ai:0.1.0")
import com.bhengubv.circleai.AffectState
import com.bhengubv.circleai.KnownLanguages

val state = AffectState()
state.applyPositiveSignal()
println(state.engagement) // 0.52

println(KnownLanguages.findByBcpTag("zu")?.englishName) // Zulu

Swift

// Package.swift
.package(url: "https://github.com/bhengubv/CircleAI.git", from: "0.1.0")
import CircleAI

let state = AffectState()
state.applyPositiveSignal()
print(state.engagement) // 0.52

let reg = KnownLanguages()
print(reg.findByBcpTag("zu")?.englishName ?? "") // Zulu

Rust

# Cargo.toml
circle-ai = "0.1.0"
use circle_ai::memory::AffectState;
use circle_ai::languages::KnownLanguages;

let mut state = AffectState::default();
state.apply_positive_signal();
println!("{}", state.engagement); // 0.52

let lang = KnownLanguages::find_by_bcp_tag("zu").unwrap();
println!("{}", lang.english_name); // Zulu

C (CMake)

# CMakeLists.txt
FetchContent_Declare(circle_ai
    GIT_REPOSITORY https://github.com/bhengubv/CircleAI.git
    GIT_TAG        v0.1.0
    SOURCE_SUBDIR  c
)
FetchContent_MakeAvailable(circle_ai)
target_link_libraries(my_app circle_ai)
#include "circle_ai/circle_ai.h"

ca_affect_state_t s = ca_affect_state_default();
ca_affect_state_positive_signal(&s);
printf("%.2f\n", s.engagement); /* 0.52 */

const ca_language_tag_t* zu = ca_find_language("zu");
printf("%s\n", zu->english_name); /* Zulu */

Android (Kotlin)

// build.gradle.kts
implementation("com.bhengubv:circle-ai-android:0.1.0")
import com.bhengubv.circleai.AffectState
import com.bhengubv.circleai.KnownLanguages

val state = AffectState()
state.applyPositiveSignal()
Log.d("CircleAI", "Engagement: ${state.engagement}") // 0.52

HarmonyOS / ArkTS

// oh-package.json5
"dependencies": { "@bhengubv/circle-ai": "^0.1.0" }
import { AffectState, KnownLanguages } from '@bhengubv/circle-ai';

const state = new AffectState();
state.applyPositiveSignal();
console.log(state.engagement); // 0.52

AffectState — Cross-Language Math

All 10 implementations produce identical float results (ε ≤ 1e-5).

Operation Effect
applyPositiveSignal() engagement +0.02, rapport +0.01, uncertainty −0.02 (clamped [0, 1])
applyNegativeSignal() engagement −0.03, uncertainty +0.03 (clamped)
applyIdleDecay(hours) decay = min(0.3, hours × 0.02); engagement and energy lerp toward 0.5

Test vectors in fixtures/affect_state.json (12 vectors). Validated by CI across all 10 languages.


Languages Registry (20 BCP-47 tags)

zu · st · af · sw · ha · am · yo · ig · xh · nso · tn · so · om · ar · en · pt · fr · es · zh · hi


Repository Layout

CircleAI/
├── src/            C# reference implementation (CircleAI.*)
├── tests/          C# test suite
├── fixtures/       Cross-language test vectors (JSON)
├── docs/           CONTRACTS.md · MEMORY_SPEC.md · COMPANION_SPEC.md
├── android/        Kotlin/Android library
├── c/              Pure C99, CMake
├── go/             Go module
├── harmonyos/      ArkTS, OpenHarmony
├── kotlin/         Kotlin/JVM
├── python/         Python 3.12+
├── rust/           Rust, Cargo
├── swift/          Swift 5.9+, Swift Package Manager
└── typescript/     TypeScript, npm

CI

Workflow Trigger
Fixture Validation push/PR to master — runs all 10 test suites
Publish git tag v*.*.* — publishes to NuGet, crates.io, PyPI, npm, GitHub Packages

License

MIT

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on CircleAI.Aether:

Package Downloads
CircleAI.Security.Aether

Aether mesh bridge for CircleAI.Security. Two surfaces: • Mesh telemetry / intelligence — translates mesh events into transport- agnostic PeerSecurityEvents and adapts intelligence output to CircleAI.Aether's IAetherIntelligence + IAISecurityLayer. • Mesh-directive store (NEW in 1.4.0) — MeshDirectiveStore records SecurityDirectives the mesh has issued; MeshSecurityGate exposes the fast-path "is this user blocked?" query for chat / API / moderation code. Wire via AddCircleAiMeshSecurity(). Contracts-only — no external Aether runtime dependency.

CircleAI.Networking.Aether

Aether mesh implementation of CircleAI.Networking. Signal-Protocol E2E, AODV routing, DTN store-and-forward, SOS flood. Wraps any IAetherContext provided by the host — contracts-only, no compile-time Aether runtime dependency. To wire a real mesh, install CircleAI.Aether.AetherMesh.

CircleAI.Networking.AetherMesh

AetherMesh-targeted networking adapter for CircleAI. Signal-Protocol E2E, AODV routing, DTN store-and-forward, SOS flood. Wraps any IAetherContext provided by the host — contracts-only, no compile-time Aether runtime dependency. To wire a real mesh, install CircleAI.AetherMesh. Renamed from CircleAI.Networking.Aether 1.3.0 → CircleAI.Networking.AetherMesh 1.0.0 to be honest about the runtime it targets. CircleAI.Networking.Aether 1.3.0 remains the last build under the old name.

CircleAI.Security.AetherMesh

AetherMesh-targeted security bridge for CircleAI. Two surfaces: • Mesh telemetry / intelligence — translates mesh events into transport- agnostic PeerSecurityEvents and adapts intelligence output to CircleAI.Aether's IAetherIntelligence + IAISecurityLayer. • Mesh-directive store — MeshDirectiveStore records SecurityDirectives the mesh has issued; MeshSecurityGate exposes the fast-path "is this user blocked?" query for chat / API / moderation code. Wire via AddCircleAiMeshSecurity(). Renamed from CircleAI.Security.Aether 1.4.0 → CircleAI.Security.AetherMesh 1.0.0 to be honest about the runtime it targets. CircleAI.Security.Aether 1.4.0 remains the last build under the old name.

CircleAI.Networking.AetherNet

AetherNet-targeted networking adapter for CircleAI. Signal-Protocol E2E, AODV routing, DTN store-and-forward, SOS flood. Wraps any IAetherContext provided by the host — contracts-only, no compile-time Aether runtime dependency. To wire a real mesh, install CircleAI.AetherNet. Renamed from CircleAI.Networking.Aether 1.3.0 → CircleAI.Networking.AetherNet 1.0.0 to be honest about the runtime it targets. CircleAI.Networking.Aether 1.3.0 remains the last build under the old name.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.0 0 6/6/2026
1.2.0 7 6/6/2026