SAVRN
Search Contact SAVRN

Open-weight model · Text generation

SAGI

by Convergent Intelligence reaperdoesntknow/SAGI

SAGI is a novel causal language model that integrates swarm intelligence dynamics with transformer architecture.

Parameters53M
Context2,048
Weights211.0 MB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads4.2k

Runs On

What it takes to serve SAGI (53M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.0 GB 0.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

Model Card

By Convergent Intelligence, published under apache-2.0, revision 7d353342fe0c.

SAGI is a novel causal language model that integrates swarm intelligence dynamics with transformer architecture. The model treats cognition as a dynamic, adaptive system where multiple internal "agents" collaborate through differentiable routing, trust mechanisms, and shared memory. - Episodic + Semantic Memory: Dual memory system with trainable retrieval utility The swarm processes observations derived from token embeddings, updating its internal state S. This state conditions the transformer's attention patterns and feed-forward activations via learned projections, creating bidirectional information flow between symbolic (tokens) and subsymbolic (swarm dynamics) processing. - Educational…

Read Convergent Intelligence's full model card

SAGI - Swarm AGI Language Model

SAGI is a novel causal language model that integrates swarm intelligence dynamics with transformer architecture. The model treats cognition as a dynamic, adaptive system where multiple internal "agents" collaborate through differentiable routing, trust mechanisms, and shared memory.

Model Description

Property Value
Parameters 52.72M
Architecture Transformer Decoder + Swarm Dynamics
Hidden Size 512
Layers 6
Attention Heads 8
Context Length 2048
Vocabulary GPT-2 tokenizer (50,257 tokens)

Key Innovations

  • Differentiable Routing: Continuous mixture-of-experts via attention (DiffRouter) instead of hard module selection
  • Adaptive Gating & Trust: MetaController activates capacity under resource constraints; trust dynamics bias reliable components
  • Episodic + Semantic Memory: Dual memory system with trainable retrieval utility
  • Curiosity Engine: Injects novel goals when surprise is low, promoting exploration
  • Self-Model & Rollback: Predicts state transitions and detects anomalies for self-correction
  • Resource Dynamics: Soft conservation with learned converter; cognition consumes/recovers compute, memory, energy
  • Value Monitoring: Tracks alignment to core values and freezes plasticity under drift

How It Works

┌─────────────────────────────────────────────────────────┐
│                       SAGI Model                         │
├─────────────────────────────────────────────────────────┤
│  ┌─────────────────┐      ┌─────────────────────────┐   │
│  │   Swarm-7 V2.2  │─────▶│  Swarm State S, T       │   │
│  │  (Cognitive     │      │  (Working Memory)       │   │
│  │   Dynamics)     │      └───────────┬─────────────┘   │
│  └────────▲────────┘                  │                 │
│           │                           ▼                 │
│           │              ┌─────────────────────────┐    │
│           │              │  Transformer Decoder    │    │
│           │              │  - Swarm-conditioned    │    │
│           │              │    attention & FFN      │    │
│           │              │  - RoPE embeddings      │    │
│           │              └───────────┬─────────────┘    │
│           │                          │                  │
│  ┌────────┴────────┐      ┌─────────────────────────┐   │
│  │   Observation   │◀─────│      LM Head            │   │
│  │   (from tokens) │      └─────────────────────────┘   │
│  └─────────────────┘                                    │
└─────────────────────────────────────────────────────────┘

The swarm processes observations derived from token embeddings, updating its internal state S. This state conditions the transformer's attention patterns and feed-forward activations via learned projections, creating bidirectional information flow between symbolic (tokens) and subsymbolic (swarm dynamics) processing.

Usage

Installation

pip install torch transformers datasets

Quick Start

from transformers import AutoTokenizer
from transformers import  AutoModelForCausalLM, AutoConfig

# Load model and tokenizer
model = AutoModelForCausalLM.from_pretrained("reaperdoesntknow/SAGI")
tokenizer = AutoTokenizer.from_pretrained("reaperdoesntknow/SAGI")

# Generate text
model.eval()

prompt = "Once upon a time"
inputs = tokenizer(prompt, return_tensors="pt")

outputs = model.generate(
    **inputs,
    max_new_tokens=100,
    temperature=0.8,
    top_k=50,
    top_p=0.9,
    do_sample=True,
    pad_token_id=tokenizer.eos_token_id,
)

print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Model Architecture Details

Swarm Configuration

Parameter Value Description
max_agents 20 Number of internal cognitive agents
dim_s 64 State dimension
dim_t 32 Task/goal dimension
dim_obs 48 Observation dimension
topk_route 5 Sparse routing top-k
K_thought_max 5 Maximum thinking iterations per step

Resource Budgets

Resource Budget Description
Compute 60.0 Compute budget per step
Memory 20.0 Memory capacity
Energy 25.0 Energy budget

Trust & Plasticity

  • Trust Learning Rate: 0.07
  • Fast EMA (Plasticity): 0.10
  • Slow EMA (Consolidation): 0.002
  • Core Values: ["truth", "safety", "efficiency"]

Limitations

  • Early Research Model: This is an experimental architecture exploring swarm-transformer integration
  • Training Data: Currently trained on TinyStories subset; may produce simple, story-like outputs
  • Compute Requirements: Swarm dynamics add overhead compared to standard transformers
  • Generation Quality: Model is undertrained; outputs may be repetitive or incoherent

Intended Use

This model is intended for: - Research into multi-agent cognitive architectures - Exploration of dynamic, adaptive language models - Educational purposes in understanding swarm intelligence + LLMs

Not intended for: - Production applications - Safety-critical systems - Generation of factual content

Training Details

  • Dataset: TinyStories (subset)
  • Optimizer: AdamW (lr=3e-4, betas=(0.9, 0.999), weight_decay=0.01)
  • Scheduler: Cosine annealing
  • Precision: FP32
  • Hardware: CPU training (compatible with CUDA)

Citation

@software{sagi2026,
  title={SAGI: Swarm AGI Language Model},
  author={Reaperdoesntknow},
  year={2026},
  url={https://huggingface.co/your-reaperdoesntknow/SAGI}
}

Convergent Intelligence Portfolio

Part of the Standalone Models by Convergent Intelligence LLC: Research Division

Mathematical Foundations: Discrepancy Calculus (DISC)

SAGI's swarm intelligence dynamics connect to Discrepancy Calculus through Discrepancy Mechanics (Ch. 16 of the DISC monograph) — a reformulation of dynamics that replaces Newton/Lagrange with four discrepancy laws:

  • DL0 (Co-Motion): Agent kinematics via metric derivative and environment flow
  • DL1 (Discrepancy Energy): $E_{\text{disc}}[f] = \frac{1}{2}\int w(x)(Df(x))^2 d\mu(x)$ — stability through bounded discrepancy energy
  • DL2 (Force as Discrepancy Gradient): Trust routing gradients as Euler-Lagrange from discrepancy action
  • DL3 (Reciprocity): Symplectic invariance preserved across agent interactions

The discrepancy operator $Df(x) = \lim_{\varepsilon \downarrow 0} \frac{1}{\varepsilon} \int_x^{x+\varepsilon} \frac{|f(t) - f(x)|}{|t - x|} dt$ quantifies the local mismatch in each agent's contribution. The trust mechanism between agents is operationally a discrepancy energy minimization: agents whose outputs have high mutual discrepancy are weighted down; agents converging on shared structure are amplified.

Classical mechanics is recovered as a degenerate smooth limit of Discrepancy Mechanics — just as standard single-head attention is a degenerate limit of swarm routing.

Full theory: "On the Formal Analysis of Discrepancy Calculus" (CIx, 2026; Convergent Intelligence LLC: Research Division).

Related Models

Model Downloads Format
SMOLM2Prover 56 HF
SMOLM2Prover-GGUF 150 GGUF
DeepReasoning_1R 16 HF
S-AGI 0 HF

Top Models from Our Lab

Total Portfolio: 49 models, 22,598 total downloads

Last updated: 2026-03-28 12:58 UTC


From the Convergent Intelligence Portfolio

DistilQwen Collection — Our only BF16 series. Proof-weighted distillation from Qwen3-30B-A3B → 1.7B and 0.6B on H100. Three teacher variants (Instruct, Thinking, Coder), nine models, 2,788 combined downloads. The rest of the portfolio proves structure beats scale on CPU. This collection shows what happens when you give the methodology real hardware.

Top model: Qwen3-1.7B-Coder-Distilled-SFT — 508 downloads

Full methodology: Structure Over Scale (DOI: 10.57967/hf/8165)

Convergent Intelligence LLC: Research Division

Discrepancy Calculus Foundation

This model is part of the Convergent Intelligence LLC: Research Division portfolio. All models in this portfolio are developed under the Discrepancy Calculus (DISC) framework — a measure-theoretic approach to understanding and controlling the gap between what a model should produce and what it actually produces.

DISC treats training singularities (loss plateaus, mode collapse, catastrophic forgetting) not as failures to be smoothed over, but as structural signals that reveal the geometry of the learning problem. Key concepts:

  • Discrepancy Operator (D): Measures the gap between expected and observed behavior at each training step
  • Jump Sets: Boundaries where model behavior changes discontinuously — these are features, not bugs
  • Ghost Imprinting: Teacher knowledge that transfers to student models through weight-space topology rather than explicit distillation signal

For the full mathematical treatment, see Discrepancy Calculus: Foundations and Core Theory (DOI: 10.57967/hf/8194).

Citation chain: Structure Over Scale (DOI: 10.57967/hf/8165) → Three Teachers to Dual Cognition (DOI: 10.57967/hf/8184) → Discrepancy Calculus (DOI: 10.57967/hf/8194)

Configuration

Architecture
SwarmForCausalLM
Context length (tokens)
2,048
Layers
6
Hidden size
512
Feed-forward size
2,048
Attention heads
8
Vocabulary size
50,257
Model type
swarm_agi

Identity and Version

Repository
reaperdoesntknow/SAGI
Publisher
Convergent Intelligence
Task
Text generation
Modality
Text
Library
transformers
Parameters
53M parameters
Languages
en
Revision
7d353342fe0c4ac9e972d7a159e219cf1e6d7879
First published
2026-01-17
Last updated
2026-09-18

Files and Weights

10 files, 215.8 MB in total. The weights are 1 file totalling 211.0 MB in safetensors.

Weights1 file · 211.0 MB
Configuration3 files · 1.8 KB
Tokenizer4 files · 4.8 MB
Documentation1 file · 12.2 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights211.0 MB ddc132200d26
config.jsonConfiguration1.5 KB
generation_config.jsonConfiguration132 B
special_tokens_map.jsonConfiguration131 B
README.mdDocumentation12.2 KB
.gitattributesRepository1.5 KB
merges.txtTokenizer456.3 KB
tokenizer.jsonTokenizer3.6 MB
tokenizer_config.jsonTokenizer507 B
vocab.jsonTokenizer798.2 KB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
211.0 MB
Download from Convergent Intelligence

Released by Convergent Intelligence through its official repository on Hugging Face. Read the license.

Memory Requirements

PrecisionWeights in memory
As published211.0 MB
16-bit0.1 GB
8-bit0.1 GB
4-bit0.0 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About SAGI

How much GPU memory does SAGI need?

About 0.1 GB at 16-bit and 0 GB at 4-bit: the weights (53M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run SAGI on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use SAGI commercially?

Yes. SAGI is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is SAGI's context length?

2,048 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Text generation

DiscoverLM-70M

Convergent Intelligence

A 69M parameter causal language model built on the Mixture-of-Attentions (MoA) architecture — distance-based metric attention that respects the triangle inequality by construction, not approximation. Every attention head operates in a proper metric space. The geometry is enforced, not hoped for. Standard transformers compute attention as a dot product: Q·Kᵀ. This has no geometric meaning — it's a bilinear form, not a distance. Two tokens can be "close" by dot product while violating basic metric properties. MoA replaces this with negative squared distance under a learned diagonal Mahalanobis metric, then enforces the triangle inequality through a regularizer over random triples sampled…

Open weights cc 69M parameters 1,024 tokens transformers

Model · Text generation

Discovery

Convergent Intelligence

A 70M parameter causal language model built on the Mixture-of-Attentions (MoA) architecture — distance-based metric attention that respects the triangle inequality by construction, not approximation. Every attention head operates in a proper metric space. The geometry is enforced, not hoped for. Standard transformers compute attention as a dot product: Q·Kᵀ. This has no geometric meaning — it's a bilinear form, not a distance. Two tokens can be "close" by dot product while violating basic metric properties. MoA replaces this with negative squared distance under a learned diagonal Mahalanobis metric, then enforces the triangle inequality through a regularizer over random triples sampled…

Open weights cc 71M parameters 2,048 tokens transformers

Model · Text generation

distilgpt2

DistilBERT community

DistilGPT2 (short for Distilled-GPT2) is an English-language model pre-trained with the supervision of the smallest version of Generative Pre-trained Transformer 2 (GPT-2). Like GPT-2, DistilGPT2 can be used to generate text. Users of this model card should also consider information about the design, training, and limitations of GPT-2. CONTENT WARNING: Readers should be aware this section contains content that is disturbing, offensive, and can propagate historical and current stereotypes. As the developers of GPT-2 (OpenAI) note in their model card, “language models like GPT-2 reflect the biases inherent to the systems they were trained on.” Significant research has explored bias and…

Open weights apache-2.0 88M parameters transformers

Model · Text generation

pythia-70m-deduped

EleutherAI

The Pythia Scaling Suite is a collection of models developed to facilitate interpretability research (see paper). It contains two sets of eight models of sizes 70M, 160M, 410M, 1B, 1.4B, 2.8B, 6.9B, and 12B. For each size, there are two models: one trained on the Pile, and one trained on the Pile after the dataset has been globally deduplicated. All 8 model sizes are trained on the exact same data, in the exact same order. We also provide 154 intermediate checkpoints per model, hosted on Hugging Face as branches. The Pythia model suite was designed to promote scientific research on large language models, especially interpretability research. Despite not centering downstream performance as a…

Open weights apache-2.0 96M parameters 2,048 tokens transformers