Network-AI AGENTS.md

An AGENTS.md instruction file for Network-AI, a TypeScript and Node.js system that coordinates multiple AI agents. It lists the project's packages, commands, structure, and testing requirements.

In plain words
What is it for?
Use it when building, type-checking, testing, or changing Network-AI's orchestrator, security code, adapters, command-line tools, or integrations.
Why use it?
It gives compatible coding agents the shared project context and the checks required before committing changes.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/jovancoding/network-ai/agents-md
Clone the repo
git clone --depth 1 https://github.com/Jovancoding/Network-AI

Made for: Codex, OpenCode.

Per session 975 This file is loaded in full into every session.
When invoked 975 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00975 $0.00975
Opus 5 $0.00487 $0.00487
Sonnet 5 $0.00195 $0.00195
Haiku 4.5 $0.00097 $0.00097

Measured 2d ago against content hash e92a5f8595c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Network-AI AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

Instructions for AI coding agents (OpenAI Codex, Gemini CLI, Cursor, Factory, and any other AGENTS.md-compatible tool) working in this repository. Claude Code users: see CLAUDE.md (same content, Claude-specific extras).

Project Overview

Network-AI is a TypeScript/Node.js multi-agent orchestrator — shared state, guardrails, budgets, and cross-framework coordination. It ships as an npm package (network-ai), an MCP server, a CLI, a Claude Code plugin, a Gemini CLI extension, and an OpenClaw skill.

Build & Test Commands

npm install                   # Install dependencies
npx tsc --noEmit              # Type-check (zero errors expected)
npm run test:all              # Run the full test suite (all suites)
npm test                      # Core orchestrator tests only
npm run test:security         # Security module tests
npm run test:adapters         # All framework adapter tests
npm run test:cli              # CLI layer tests

All tests must pass before any commit. No test may be skipped or marked .only.

Project Structure

  • index.ts — Core engine: SwarmOrchestrator, AuthGuardian, FederatedBudget, QualityGateAgent, all exports
  • security.ts — SecureTokenManager, InputSanitizer, RateLimiter, DataEncryptor, SecureAuditLogger
  • lib/locked-blackboard.ts — LockedBlackboard: atomic propose → validate → commit with file-system mutex
  • lib/auth-guardian.ts — AuthGuardian: weighted permission scoring (justification 40%, trust 30%, risk 30%)
  • lib/claude-hooks.ts — ClaudeHookBridge: AuthGuardian-backed permission gating for coding-agent tool calls
  • lib/mcp-elicitation.ts — MCP elicitation channel: native in-client approval prompts
  • lib/a2a-server.ts — A2AServer: expose the orchestrator as a Google A2A agent
  • adapters/ — 32 framework adapters (LangChain, AutoGen, CrewAI, MCP, Gemini, OpenAI Responses, Claude Agent SDK, etc.)
  • bin/cli.ts — CLI entry point (npx network-ai)
  • bin/mcp-server.ts — MCP server (stdio + SSE transports)
  • types/ — TypeScript declaration files
  • data/ — Runtime data (gitignored): audit log, pending changes

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 89 lines · 975 tokens per session scan A e92a5f8595c8

Subscribe to this mod's changes

Network-AI AGENTS.md is an instructions file published in the GitHub repository Jovancoding/Network-AI (72 stars, last pushed 8d ago), licensed MIT. It adds 975 tokens to every session, about $0.0049 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

open-multi-agent AGENTS.md

AGENTS.md instructions for open-multi-agent/open-multi-agent, covering agents.md, repository map, commands, working rules and validation by change type.

open-multi-agent/open-multi-agent · 2,996 tokens

kungfu CLAUDE.md

Instructions for kungfu-systems/kungfu: Read and follow AGENTS.md before working in this repository. It routes both product use and contribution work to the repository sources of truth, including the requirement that development and build tasks enter through Shifu.

kungfu-systems/kungfu · 54 tokens

kungfu copilot-instructions.md

Instructions for kungfu-systems/kungfu: Read and follow AGENTS.md before proposing or running changes. It is the shared agent router for this repository, including the canonical Shifu development and build entrypoint.

kungfu-systems/kungfu · 45 tokens

pi-agent-dashboard AGENTS.md

Instructions for BlackBeltTechnology/pi-agent-dashboard, covering pi dashboard, docs-first gate — kb before grep (per-turn doctrine), code instructions (per-turn doctrine), investigation protocol — index first and documentation update protocol.

BlackBeltTechnology/pi-agent-dashboard · 3,617 tokens

semantix CLAUDE.md

Instructions for Gnosil/semantix, covering 项目规则(claude code) and 1. 改动须经用户过目;由 claude 提交到分支 + pr,用户 review 后合并.

Gnosil/semantix · 301 tokens

BuildersGate CLAUDE.md

Instructions for Thepizzapie/BuildersGate, covering setting up builders gate for a user, ask two things first, install, point it at a game and keys.

Thepizzapie/BuildersGate · 1,737 tokens