█

AI/TLDR

Buy me a coffee
Buy me a coffee

Nasiko

One control-plane process that deploys, routes, secures and traces an A2A agent fleet

Multi-Agent SystemsOpen source
Language
Rust
License
Apache-2.0
$git clone https://github.com/Nasiko-Labs/nasiko.git
IN SHORT

What is Nasiko?

Nasiko is One control-plane process that deploys, routes, secures and traces an A2A agent fleet. It sits in the Multi-Agent Systems category of the Agents & Automation tools and is open-source, written in Rust and licensed Apache-2.0. To get started: clone and configure.

Overview

Running two agents is a programming problem; running twenty is an operations problem — who calls whom, which key each agent holds, what a call cost, why it failed. Nasiko is a single control-plane process that answers those questions for any agent that speaks the A2A protocol, in whatever language it is written: Python, Rust, Go or TypeScript, with no proprietary agent format.

The architectural commitment is that there is no separate gateway and no sidecar. Nasiko terminates TLS, authenticates every request, and proxies all agent-to-agent traffic through itself, so agents are never publicly reachable and every hop becomes a checkpoint for rate limits, ACLs and tracing. Requests either go through the routing engine — a three-stage pipeline that shortlists by embedding similarity, reranks on conversation context, then has an LLM make the final pick — or are proxied generically, and both paths originate inside the server.

Credentials never reach the agents. The LLM Router hands each agent an `OPENAI_BASE_URL` and a short-lived identity token, resolving the real provider, model and key server-side, so no agent and no log ever sees an API key; the MCP Gateway does the same for tools, giving every agent one permanent URL with a merged, permission-filtered view of Composio toolkits and custom MCP servers without holding the credentials. Per-agent secrets are AES-256-GCM encrypted at rest and injected only at deploy time.

Around that sit the operational parts: an embedded S3-backed OCI registry with layer dedup so `nasiko push` and `nasiko deploy` need nothing external, Redis-backed flow guards (depth, fan-out, token budget, timeout, cycle detection) that stop runaway agent loops, ownership/grant access control plus an independent agent-to-agent allowlist, and a real OpenTelemetry span per dispatch and proxy hop so a whole fan-out reads as one end-to-end trace with token usage and cost collected from `gen_ai.*` attributes.

What it does

  • Deploy anything that speaks A2A — `nasiko deploy` builds, pushes to the embedded OCI registry and runs it, with no external registry required
  • Three-stage routing engine: shortlist by embedding similarity, rerank on conversation context, then an LLM final pick, so callers need not know the fleet
  • Single ingress, always proxied — agents are never publicly reachable and every agent-to-agent call passes the same chokepoint
  • LLM Router and MCP Gateway hold the credentials, handing agents a base URL and a short-lived identity token instead of real keys
  • Flow guards backed by Redis — cascade depth, fan-out, token budget, timeout and cycle detection — to stop runaway loops
  • Full OpenTelemetry tracing with auto-collected token usage and cost, plus AES-256-GCM encrypted per-agent secrets and two independent layers of access control
  • CLI-first workflow (`nasiko new`, `run`, `chat`, `deploy`) with an embedded web dashboard

Getting started

The Docker-only path needs nothing but Docker with Compose V2 — the server compiles itself from source inside the image. Rust 1.85+ is needed only for the CLI / developer path. Agents must speak A2A spec v1.0 exactly; Nasiko hardcodes the A2A-Version: 1.0 header and rejects older spec versions.

Clone and configure

Copy the example environment file and fill in the two required values.

bashbash
git clone https://github.com/Nasiko-Labs/nasiko.git
cd nasiko
cp .env.example .env

Set the minimum environment

OPENAI_API_KEY is used by the routing engine and injected into agents; ADMIN_PASSWORD is the bootstrap admin account.

bashbash
# in .env
OPENAI_API_KEY=...
ADMIN_PASSWORD=...

Start the platform

This brings up Postgres, Redis, RustFS (S3), the OTel Collector, Tempo, Loki and nasiko-server. The first build takes a few minutes because Rust compiles inside Docker; later builds are fast.

bashbash
docker compose up -d

Open the dashboard

Log in with ADMIN_USERNAME / ADMIN_PASSWORD (default admin / changeme) to deploy agents, route traffic, manage tools and watch traces.

texttext
# http://localhost:8080

Day-to-day commands

bashbash
docker compose logs -f server   # follow server logs
docker compose up -d --build    # rebuild after pulling new changes
docker compose down             # stop everything

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Put a fleet of agents written in different languages behind one authenticated ingress, so none of them is directly reachable from the internet
  • Stop handing API keys to agents — let the router resolve provider, model and key server-side and keep keys out of agent code and logs
  • Answer 'what did that agent run cost and where did it fail' from a single OpenTelemetry trace spanning every dispatch and proxy hop
  • Contain a misbehaving agent graph with depth, fan-out, token-budget and cycle limits before it burns a budget

How Nasiko compares

Nasiko alongside other open-source multi-agent systems tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Paperclip★ 118kA self-hosted control plane that runs a team of AI agents like a company, with an org chart, tasks, budgets and approvals.
Ruflo★ 82.7kAgent meta-harness that wraps Claude Code and Codex with 100+ specialized agents, swarm coordination, vector memory, background workers and cross-machine agent federation.
MetaGPT★ 71.5kA multi-agent framework that models a software company, assigning roles like product manager, architect, and engineer to generate code from a single prompt.
AutoGen★ 62kMicrosoft Research's framework for building applications where multiple agents converse with each other and with tools to solve tasks.
CrewAI★ 61.4kA framework for assembling teams ('crews') of role-playing agents that divide tasks and collaborate to complete a goal.
AgentScope★ 36.9kA framework for building multi-agent applications with message passing, visual debugging tools, and distributed execution.
OpenAI Agents SDK★ 30.9kOpenAI's lightweight Python SDK for building multi-agent workflows using explicit handoffs, tools, and guardrails.
Nasiko★ 11.9kOne control-plane process that deploys, routes, secures and traces an A2A agent fleet