{"id":46662999,"url":"https://github.com/beyond5959/ngent","last_synced_at":"2026-03-13T09:02:36.206Z","repository":{"id":341170943,"uuid":"1169088987","full_name":"beyond5959/ngent","owner":"beyond5959","description":"Ngent wraps command-line agents that speak the Agent Client Protocol (ACP) into a web service, making them accessible via HTTP API and Web UI.","archived":false,"fork":false,"pushed_at":"2026-03-08T13:16:46.000Z","size":493,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-08T14:43:48.048Z","etag":null,"topics":["acp","agent-client-protocol"],"latest_commit_sha":null,"homepage":"","language":"Go","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/beyond5959.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-02-28T06:47:08.000Z","updated_at":"2026-03-08T13:20:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/beyond5959/ngent","commit_stats":null,"previous_names":["beyond5959/go-acp-server","beyond5959/ngent"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/beyond5959/ngent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyond5959%2Fngent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyond5959%2Fngent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyond5959%2Fngent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyond5959%2Fngent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beyond5959","download_url":"https://codeload.github.com/beyond5959/ngent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyond5959%2Fngent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30463567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T06:34:02.089Z","status":"ssl_error","status_checked_at":"2026-03-13T06:33:49.182Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["acp","agent-client-protocol"],"created_at":"2026-03-08T14:04:25.119Z","updated_at":"2026-03-13T09:02:36.196Z","avatar_url":"https://github.com/beyond5959.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ngent\n\n[![CI](https://github.com/beyond5959/ngent/actions/workflows/ci.yml/badge.svg)](https://github.com/beyond5959/ngent/actions/workflows/ci.yml)\n[![Go Version](https://img.shields.io/github/go-mod/go-version/beyond5959/ngent)](https://go.dev/)\n[![License](https://img.shields.io/github/license/beyond5959/ngent)](LICENSE)\n\n\u003e **Web Service Wrapper for ACP-compatible Agents**\n\u003e\n\u003e Ngent wraps command-line agents that speak the [Agent Client Protocol (ACP)](https://github.com/beyond5959/acp-adapter) into a web service, making them accessible via HTTP API and Web UI.\n\n## What is Ngent?\n\nNgent acts as a bridge between **ACP-compatible agents** (like Claude Code, Codex, Gemini CLI, Kimi CLI) and **web clients**:\n\n```\n┌─────────────┐     HTTP/WebSocket     ┌─────────┐     JSON-RPC (ACP)     ┌──────────────┐\n│  Web UI     │ ◄────────────────────► │  Ngent  │ ◄────────────────────► │  CLI Agent   │\n│  /v1/* API  │   SSE streaming        │  Server │   stdio                │  (ACP-based) │\n└─────────────┘                        └─────────┘                        └──────────────┘\n```\n\n### How it Works\n\n1. **ACP Protocol**: Agents like Claude Code, Codex, and Kimi CLI expose their capabilities through the Agent Client Protocol (ACP) — a JSON-RPC protocol over stdio\n2. **Ngent Bridge**: Ngent spawns these CLI agents as child processes and translates their ACP protocol into HTTP/JSON APIs\n3. **Web Interface**: Provides a built-in Web UI and REST API for creating conversations, sending prompts, and managing permissions\n\n### Features\n\n- 🔌 **Multi-Agent Support**: Works with any ACP-compatible agent (Codex, Claude Code, Gemini, Kimi, Qwen, OpenCode)\n- 🌐 **Web API**: HTTP/JSON endpoints with Server-Sent Events (SSE) for streaming responses\n- 🖥️ **Built-in UI**: No separate frontend deployment needed — the web UI is embedded in the binary\n- 🔒 **Permission Control**: Fine-grained approval system for agent file/system operations\n- 💾 **Persistent State**: SQLite-backed conversation history across sessions\n- 📱 **Mobile Friendly**: QR code for easy access from mobile devices on the same network\n\n\n## Supported Agents\n\n| Agent | Supported |\n|---|---|\n| Codex | ✅ |\n| Claude Code | ✅ |\n| Gemini CLI | ✅ |\n| Kimi CLI | ✅ |\n| Qwen Code | ✅ |\n| OpenCode | ✅ |\n\n\n\n## Installation\n\n### Quick Install (recommended for Linux/macOS)\n\n```bash\ncurl -sSL https://raw.githubusercontent.com/beyond5959/ngent/master/install.sh | bash\n\n# Or install to a custom directory:\ncurl -sSL https://raw.githubusercontent.com/beyond5959/ngent/master/install.sh | INSTALL_DIR=~/.local/bin bash\n```\n\n## Run\n\nStart with default settings (local-only):\n\n```bash\nngent\n```\n\nLAN-accessible mode (allows connections from other devices):\n\n```bash\nngent --allow-public=true\n```\n\nCustom port:\n\n```bash\nngent --port 8080\n```\n\nWith authentication:\n\n```bash\nngent --auth-token \"your-token\"\n```\n\nShow all options:\n\n```bash\nngent --help\n```\n\n**Default paths:**\n- Database: `$HOME/.ngent/ngent.db`\n\nNotes:\n\n- `/v1/*` requests must include `X-Client-ID`.\n\n## Quick Check\n\n```bash\ncurl -s http://127.0.0.1:8686/healthz\ncurl -s -H \"X-Client-ID: demo\" http://127.0.0.1:8686/v1/agents\n```\n\n## Web UI\n\nOpen the URL shown in the startup output (e.g., `http://127.0.0.1:8686/`). \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyond5959%2Fngent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeyond5959%2Fngent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyond5959%2Fngent/lists"}