CONTRACT Contract Address (CA): Soon Available • Official launch will be announced on this repository
Autonomous Multi-Agent Mobile Architecture • v1.0.0 Release

An Entire Swarm of Intelligence.
Engineered for Android.

Move beyond single-turn chatbots. SwarmDroid brings a collaborative swarm of specialized autonomous AI agents to your phone—breaking complex natural-language goals into Directed Acyclic Graphs, delegating tasks, and running securely on-device with hardware-backed encryption.

Contract Address (CA) Soon Available

The official smart contract address will be published here upon mainnet launch. Beware of fake tokens and impersonators.

SOON CA Launch
8+ Specialized Agents
DAG Task Graph Engine
AES-256 Hardware Keystore
100% Open Source

Watch the Swarm Collaborate in Real Time

The Master Agent deconstructs complex goals into a dependency task graph, dispatches parallel subtasks across specialized agents, and streams execution results.

SwarmDroid Orchestrator v1.0.0
Workflow:
Live Execution Log
[00:00.00] ⚡ Swarm engine initialized. Master Agent (Aegis Prime) ready.
[00:00.01] 🤖 Ready to accept complex user tasks. Select a workflow preset and press Execute.

Engineered from Silicon to UI

Designed specifically for mobile constraints: low memory footprint, strict Android sandbox security, and graceful offline fallback.

👑

Autonomous DAG Task Decomposition

Rather than hallucinating answers in a single pass, the Master Agent decomposes user requests into an executable Directed Acyclic Graph with explicit dependency management, retry bounds, and parallel execution.

Topological Sort Bounded Concurrency Dynamic Re-planning
🔐

Hardware-Backed Security

API keys for Gemini, OpenAI, Claude, and OpenRouter are stored in the hardware-backed Android Keystore with AES-256-GCM encryption. Zero plain-text credentials.

Android Keystore AES-256-GCM
⚡

Dynamic Agent Spawning

When a workflow demands a novel capability not present in the pre-installed roster, the Master Agent instantiates a sandboxed agent with approved permission bounds.

Runtime Instantiation Scoped Tools
🛑

Human-in-the-Loop Safeguards

Irreversible actions—such as sending emails, publishing social media posts, or modifying system settings—strictly pause for explicit user confirmation via biometric or tap dialogs.

Approval Gate Audit Log
🧠

On-Device Semantic Vector Memory

Structured records stored locally in SQLite Room, backed by cosine-similarity vector embeddings. Inspect, export, or wipe memory at any time.

Room DB Cosine Similarity User Controlled
🌐

Multi-Provider AI Engine

Switch effortlessly between Google Gemini, OpenAI, Anthropic Claude, OpenRouter, and local offline Ollama models without re-architecting your workflows.

Gemini OpenAI Claude Ollama

8 Specialized Autonomous Agents

Each agent operates within an isolated permission boundary, explicit tool allowlist, and independent memory scope.

👑

Master Agent

Aegis Prime
Core Brain

Deconstructs natural-language prompts, analyzes dependencies, generates execution DAGs, assigns subtasks, and validates output.

DAG Planner Dynamic Spawner Synthesizer
🌐

Browser Agent

Aura Browser
Research

Crawls verified web sources, extracts structured factual markdown, inspects technical documentation, and validates citations.

web_search fetch_url
✉️

Communication Agent

Echo Communicator
Messaging

Drafts professional emails and message threads. Strictly holds execution for user biometric or tap approval before sending.

draft_email Approval Required
💻

Coding Agent

ByteForge
Development

Writes clean Kotlin and Python, inspects syntax trees, analyzes repository architectures, and runs code inside safe sandboxes.

AST Checker Safe Sandbox
📱

Social Media Agent

Nexus Social
Publishing

Composes technical posts for X and LinkedIn, suggests viral hooks and hashtags, and manages content calendars with approval gates.

draft_post Approval Required
🤖

Device Agent

DroidLink
Android API

Interfaces with approved Android capabilities: launching apps, sharing content, querying battery/network, and triggering text-to-speech.

launch_app share_text device_settings
🔬

Research Agent

Chronos
Knowledge

Cross-references multi-source facts, resolves conflicting data points, and commits synthesized briefs to shared vector memory.

synthesize_sources Vector Index
🛡️

Security Agent

Aegis Guardian
Defense

Intercepts prompt injection payloads, audits tool scopes, redacts credentials from execution logs, and enforces zero-trust boundaries.

PromptDefense SecretRedactor

Hardware-Backed Security.
Zero Silent Exfiltration.

SwarmDroid is built on the principle of least privilege. Your private keys never touch unencrypted storage, and sensitive actions never execute without your explicit consent.

🔐

Hardware Keystore Encryption

AI provider keys are secured on-device via Android Keystore MasterKeys and AES-256-GCM.

🛑

Mandatory Human Approval

Emails, social media posts, and system configurations are blocked until you tap or authenticate.

🛡️

Heuristic Prompt Shield

Pre-execution scanning detects instruction overriding, prompt leakage, and jailbreak strings.

Authorization Required
Echo (Communication Agent)

"Requesting permission to dispatch draft email to engineering@swarmdroid.ai with subject: 'v1.0 Milestone Release'."

Modern Clean Architecture

Built with Kotlin, Jetpack Compose Material 3, Room SQLite, FastAPI WebSocket streaming, and Python async execution.

@Composable
fun SwarmDashboardScreen(viewModel: SwarmViewModel) {
    val taskGraph by viewModel.activeTaskGraph.collectAsState()
    val swarmState by viewModel.swarmState.collectAsState()

    // Real-time animated Swarm canvas visualizer
    SwarmVisualizerView(
        graph = taskGraph,
        activeAgents = swarmState.activeAgents,
        onAgentClick = { agentId -> viewModel.inspectAgent(agentId) }
    )

    // Human-in-the-loop approval dialog triggered on sensitive tasks
    if (swarmState.pendingApproval != null) {
        ApprovalDialog(
            request = swarmState.pendingApproval!!,
            onApprove = { viewModel.approveTask(it) },
            onReject = { viewModel.rejectTask(it) }
        )
    }
}
from backend.orchestration.swarm_orchestrator import swarm_orchestrator
from backend.security.security_core import PromptDefense

# 1. Evaluate incoming prompt against injection attacks
defense = PromptDefense.evaluate(user_prompt)
if not defense.is_safe:
    raise SecurityViolation("Prompt injection detected")

# 2. Deconstruct goal into DAG & orchestrate parallel agents
result = await swarm_orchestrator.handle_user_request(
    prompt="Research Android AI runtimes and draft technical summary",
    user_id="user_mobile_01"
)

# 3. Stream real-time events over WebSocket to Android client
await websocket_manager.broadcast_event(result)
Official Release

Get SwarmDroid on Android

Experience the autonomous multi-agent ecosystem on your device. Free, fully open-source, and privacy-respecting.

File app-debug.apk
Version 1.0.0 Release
File Size 18.5 MB
OS Target Android 8.0+ (API 26-34)