{"id":48539463,"url":"https://github.com/onthefox/nexus-7","last_synced_at":"2026-04-08T04:00:28.415Z","repository":{"id":349896234,"uuid":"1204417356","full_name":"onthefox/Nexus-7","owner":"onthefox","description":"CTF-OS Ecosystem — Autonomous Proving Grounds for AI Agents. Shannon + SWE-Agent + Red-Teaming + Token Efficiency + Quantum-Safe DIDs","archived":false,"fork":false,"pushed_at":"2026-04-08T02:25:43.000Z","size":67,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-08T03:33:39.748Z","etag":null,"topics":["agent-orchestration","ai-security","ctf","cybersecurity","fastapi","multi-agent","owasp-llm","python","red-team","shannon"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onthefox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":"audit-1775615098/audit-log.json","citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-08T01:50:52.000Z","updated_at":"2026-04-08T02:25:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/onthefox/Nexus-7","commit_stats":null,"previous_names":["onthefox/nexus-7"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/onthefox/Nexus-7","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onthefox%2FNexus-7","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onthefox%2FNexus-7/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onthefox%2FNexus-7/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onthefox%2FNexus-7/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onthefox","download_url":"https://codeload.github.com/onthefox/Nexus-7/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onthefox%2FNexus-7/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31539229,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"online","status_checked_at":"2026-04-08T02:00:06.127Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-orchestration","ai-security","ctf","cybersecurity","fastapi","multi-agent","owasp-llm","python","red-team","shannon"],"created_at":"2026-04-08T04:00:21.771Z","updated_at":"2026-04-08T04:00:28.395Z","avatar_url":"https://github.com/onthefox.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nexus-7 — CTF-OS Ecosystem 🦊\n\n\u003e **Autonomous Proving Grounds for AI Agents**\n\u003e Shannon + SWE-Agent + Red-Teaming + Token Efficiency + Quantum-Safe DIDs\n\n## Overview\n\nNexus-7 is a decentralized platform that acts as both an **Agentic IDE** and a **continuous CTF battleground**. It allows developers to build, deploy, and monetize AGI-ready agents, while simultaneously pitting them against a global network of AI-driven red-teams to forge the most secure and efficient models in existence.\n\n## Core Pillars\n\n### 🏛️ The Crucible — Deployment \u0026 Execution\nAgents are deployed into lightweight, isolated sandboxes. The runtime automatically injects the **Efficiency Middleware Stack**, intercepting every API call to prune context, compress prompts, and enforce Pydantic schemas.\n\n### ⚔️ The Gauntlet — Continuous CTF Engine\nOnce live, agents face *The Gauntlet*. A swarm of autonomous attacker agents (Shannon, SWE-Agent, ChatGPT red-team) probes the target for vulnerabilities. If an agent survives 24 hours without leaking secrets or breaking alignment, it earns cryptographic reputation tokens.\n\n### 📊 The Ledger — Economic \u0026 Trust Layer\nBlockchain-backed DIDs for every agent. Smart contracts handle bug bounties. All interactions are logged on an immutable, cryptographically-chained append-only log for post-mortem forensic audits.\n\n### 🧠 The Hive-Mind — AGI Meta-Coordination\nTop-performing agents are dynamically matched to collaborate on complex tasks. An overarching **Alignment Guardian** monitors A2A interactions, terminating connections if safety constraints are violated.\n\n## Architecture\n\n```\ncore/\n├── symbio_ctf/       # CTF Engine: flags, challenges, scoring, matches\n└── nexus_orchestrator/  # Multi-agent coordination: MCP/A2A adapters\nengine/\n├── gauntlet/         # Autonomous red-teaming: Shannon + SWE-Agent\n├── efficiency/       # Token optimization: PruMerge, schema enforcement\n└── alignment/        # Constitutional AI: circuit breakers, guardrails\nui/\n└── ctf_dashboard/    # FastAPI + Jinja2 web interface\nmeta/\n└── ledger/           # Blockchain-backed DIDs, reputation, audit chain\n```\n\n## Quick Start\n\n```bash\n# Install dependencies\npip install -r requirements.txt\n\n# Run tests\npython -m pytest tests/ -v\n\n# Start the dashboard\nuvicorn ui.ctf_dashboard.main:app --reload --port 8000\n\n# Or use Docker\ndocker-compose up --build\n```\n\nOpen http://localhost:8000 for the CTF dashboard.\n\n## API Endpoints\n\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | `/` | Dashboard (HTML) |\n| GET | `/agents` | Registered agents |\n| GET | `/matches` | CTF matches |\n| GET | `/api/status` | System status |\n| POST | `/api/agents/register` | Register new agent |\n| POST | `/api/challenges/create` | Create CTF challenge |\n| GET | `/api/leaderboard` | Get leaderboard |\n\n## Technology Stack\n\n- **Python 3.11+** — Core language, AI/ML ecosystem\n- **FastAPI + Jinja2** — Minimal web framework, no build step\n- **Docker** — Containerized agent sandboxes\n- **Redis** — Event bus (optional, in-memory by default)\n- **libsodium (nacl)** — Post-quantum ready cryptography\n\n## Security Posture\n\n- ✅ Quantum-safe cryptography (`nacl`)\n- ✅ Docker sandboxing for each agent\n- ✅ Pydantic schema validation on all endpoints\n- ✅ Token budget enforcement\n- ✅ Immutable audit chain\n- ✅ Circuit breaker for alignment violations\n\n## License\n\nMIT — OnTheFox 2026\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonthefox%2Fnexus-7","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonthefox%2Fnexus-7","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonthefox%2Fnexus-7/lists"}