Skip to content
View deathlegionteamlk's full-sized avatar

Block or report deathlegionteamlk

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
deathlegionteamlk/readme.md

Death Legion Team — Open Source Developers from Sri Lanka

Death Legion Team Sri Lanka open source developers DEMO X HEXA deathlegionteamlk
Death Legion Team coding — autonomous AI agents and mobile framework development



GitHub Profile - deathlegionteamlk Repositories Location License

LEGIONGASPER LEGIONHERCULES legionnative


Death Legion Team LK Python TypeScript Rust FastAPI Ollama open source Sri Lanka DEMO X HEXA
AI robot    lightning fast execution    terminal CLI    local CPU inference    autonomous agents    open source Sri Lanka    terminal hacking    parallel agents running

About Death Legion Team

Death Legion Team DEMO X HEXA

Death Legion Team (GitHub: deathlegionteamlk) is an open source group from Sri Lanka, building under the name DEMO × HEXA.

We've shipped apps with most of the popular frameworks, ran into the same walls every time, and eventually stopped complaining and started building. That's the whole origin story.

Three projects so far. LEGIONGASPER is a Python multi-agent AI system that coordinates parallel agents using a captain-agent pattern. LEGIONHERCULES is a local CLI agent framework that runs entirely on your own hardware via Ollama — no API keys, no cloud, no billing surprises. legionnative is a cross-platform mobile framework in TypeScript with a Rust core, built because we were tired of 3-second cold starts and bundles that ballooned with every dependency.

All three are MIT licensed. All three are built in public. All three exist because we needed them and nothing out there did the job.


Death Legion Team working on open source projects Sri Lanka

Death Legion Team DEMO X HEXA terminal development

Projects

Death Legion Team projects
Death Legion Team projects overview terminal


LEGIONGASPER — Multi-Agent AI System

LEGIONGASPER multi-agent AI system Death Legion Team Python FastAPI

Python FastAPI HTML MIT License

LEGIONGASPER is a Python multi-agent AI system. You give it a task. A captain agent breaks it into subtasks, assembles a squad of specialized agents, runs them in parallel, and merges the results back. You don't wire the handoffs. You don't babysit the coordination.

It runs on FastAPI with a REST + WebSocket API on port 8081, and ships with a live dashboard at localhost:8080 — active agents, task queue, completion rates, cost per provider, all updating live.

Memory runs across five layers so context isn't lost at the wrong time: Session (current run) → Working (current task) → Daily (survives the session) → Long-term (ChromaDB vector store, survives reboots) → Collective (shared across all agents).


LEGIONGASPER architecture multi-agent system

LEGIONGASPER agents running in parallel

Feature What it does
🤖 Captain-Agent Pattern Captain decomposes tasks, forms a squad, runs in parallel, aggregates results
🧠 5-Layer Memory Stack Session → Working → Daily → Long-term (ChromaDB) → Collective
🔀 Multi-Provider LLM Router OpenAI, Anthropic, OpenRouter — swap per agent or per task
📊 Live Dashboard localhost:8080 — agents, queue, cost, all real-time
🔌 REST + WebSocket API Full external API on :8081 — integrate from anything
🛡️ Governance Layer Audit logs, cost tracking, rate limiting, RBAC permissions
🏭 Agent Factory Define a template once, spawn as many copies as needed
🔧 Extensible Custom tools, custom agent templates, direct memory access

# LEGIONGASPER — captain-agent pattern
captain = Captain(agent_id="research_lead")

subtasks = captain.decompose_task("Analyze market trends in AI tooling")
squad    = captain.form_squad(subtasks)
results  = await squad.execute_parallel()
final    = captain.aggregate_results(results)


LEGIONHERCULES — Local CLI Agent Framework

LEGIONHERCULES local CLI agents Ollama Death Legion Team

Python Ollama Docs MIT

LEGIONHERCULES is a CLI framework for autonomous AI agents that run 100% locally via Ollama. No API key. No cloud. No billing page. Pull a model once and run agents on your own hardware, free.

These aren't chatbots with a tool call bolted on. They plan multi-step tasks, pick tools, execute them, read the results, and keep looping until they're done. Multiple agents run in parallel. The terminal UI uses Rich; the CLI uses Typer.


LEGIONHERCULES parallel agents running

LEGIONHERCULES tools autonomous execution

Feature What it means
🖥️ 100% Local via Ollama Nothing leaves your machine. Inference stays on your hardware.
🤖 Autonomous Agents Plan → pick tool → execute → read result → decide → repeat
Parallel Execution Multiple agents at once, not queued
🔧 5 Built-in Tools file_read · file_write · file_edit · bash · web_search
💸 Free Forever Ollama is free. Models are free. No hidden costs.
🔀 Model-Agnostic --model llama3.2 · --model codellama · --model mistral
💻 Coder Agent Reads files, edits code, runs tests, iterates until done
🔍 Researcher Agent Searches DuckDuckGo, reads, summarizes — hands-free

# LEGIONHERCULES — running in 3 commands
ollama serve
ollama pull llama3.2
legionhercules chat --agent coder "Refactor main.py to use async/await"

LEGIONHERCULES terminal execution

LEGIONHERCULES GitHub   LEGIONHERCULES docs

legionnative — Cross-Platform Mobile Framework

legionnative cross-platform mobile framework TypeScript Death Legion Team

TypeScript Rust Platforms MIT

legionnative came from shipping apps with Expo, React Native, and Flutter and hitting the same problems every time: 3-second cold starts, hot reload that lied about being instant, bundles that grew 400KB when you added one dependency, and "offline-first" that really meant "cache one screen."

TypeScript runtime. Rust core for what JS is slow at. Vite for dev. Skia for consistent rendering. WASM plugin system so native code can be written in any language.


legionnative performance metrics

legionnative mobile development

Metric Target Why it matters
🚀 Cold Start < 100ms Users don't wait. They leave.
🔄 Hot Reload < 50ms Actually instant. Measured, not claimed.
📦 Base Bundle < 50KB Downloads matter on 3G
💾 Memory Usage < 20MB Works on $100 Android phones
📶 Offline Full Real offline. Not "cache one screen."

# legionnative — first app in 4 commands
npm install -g @legion/cli
legion create my-app
cd my-app
legion start
// legionnative — what a component looks like
import { View, Text, Button } from '@legion/runtime';
import { useState } from 'react';

export default function App() {
  const [count, setCount] = useState(0);
  return (
    <View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
      <Text style={{ fontSize: 24 }}>Count: {count}</Text>
      <Button title="Add One" onPress={() => setCount(count + 1)} />
    </View>
  );
}

Stack: TypeScript Runtime · Rust Core · Node.js CLI · Vite HMR · Skia Rendering · WASM Plugin System


legionnative works Death Legion Team mobile



legionnative GitHub Death Legion Team

Tech Stack

Death Legion Team tech stack



              



Languages

Python TypeScript Rust JavaScript HTML5 CSS3


Frameworks & Runtimes

FastAPI Ollama Vite Node.js React


AI & Storage

OpenAI Anthropic OpenRouter ChromaDB Redis


Infrastructure & Tools

Git GitHub Actions Cloudflare Pages WebAssembly WebSocket Skia


GitHub Stats

Death Legion Team GitHub contributions



Death Legion Team GitHub stats   Death Legion Team top languages



Death Legion Team GitHub streak



Death Legion Team contribution activity graph




Contributing

Contributing to Death Legion Team open source

Death Legion open source community

All three projects are actively maintained. PRs welcome. Bug reports too — especially ones with reproduction steps.

Check the CONTRIBUTING.md in each repo before opening a PR. Mostly so we don't duplicate work.

Project What helps right now
🤖 LEGIONGASPER New agent templates, LLM provider adapters, memory backend integrations
💻 LEGIONHERCULES New built-in tools, agent presets, workflow examples
📱 legionnative Android Go testing, iOS edge cases, WASM plugin examples
📄 All repos Docs improvements, missing examples, anything confusing

Find Us

Death Legion Team links



Death Legion Team on GitHub LEGIONHERCULES Documentation


LEGIONGASPER LEGIONHERCULES legionnative


Death Legion Team footer



         



Profile Views


Death Legion Team · deathlegionteamlk · DEMO X HEXA · Sri Lanka open source developers · LEGIONGASPER multi-agent AI system Python FastAPI · LEGIONHERCULES local CLI agents Ollama · legionnative cross-platform mobile framework TypeScript Rust · Death Legion LK GitHub · autonomous AI agents open source · local LLM CLI Python · mobile framework Sri Lanka · Death Legion Team open source projects · deathlegionteamlk GitHub profile

Popular repositories Loading

  1. LEGIONGASPER LEGIONGASPER Public

    Python

  2. legionnative legionnative Public

    TypeScript

  3. LEGIONHERCULES LEGIONHERCULES Public

    legionhercules.pages.dev

    Python

  4. deathlegionteamlk deathlegionteamlk Public

  5. legion-mobile-sandbox legion-mobile-sandbox Public

    Jupyter Notebook

  6. legionheto legionheto Public

    Python