Repository navigation
Conversation
Contributor
Try this script
COMMUNITY_SCRIPTS_URL=https://raw.githubusercontent.com/andy-vdg/DevScripts/agentgateway \
bash -c "$(curl -fsSL https://raw.githubusercontent.com/andy-vdg/DevScripts/agentgateway/ct/agentgateway.sh)"
Against a core branch as wellAdd Useful flags while testing
|
…ownload or checksum fails
…ng; restore it on any update failure
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✍️ Description
New script: agentgateway — the Linux Foundation's open-source proxy for AI agents (MCP servers, LLM providers, HTTP APIs), Apache-2.0, Rust, single static binary.
ct/agentgateway.sh,install/agentgateway-install.sh,json/agentgateway.json.fetch_and_deploy_gh_release … "singlefile"(latest release), then the binary is checked against the release's own.sha256asset before anything runs it./etc/agentgateway/config.yamlis the config agentgateway bootstraps itself when started without one: adefaultgateway on port 4000 with the UI on it, state in SQLite (here/opt/agentgateway_data/data.db, outside the deploy target). The easy way in ishttp://<IP>:4000/ui, where agentgateway's Welcome to Agentgateway wizard guides the first setup. The admin interface stays on127.0.0.1:15000, upstream's default (it has no authentication and serves shutdown/config-dump endpoints).ui.policies(basicAuth, OIDC, JWT).check_for_gh_release, redeploy, checksum check again. No backup needed: config (/etc/agentgateway) and data (/opt/agentgateway_data) live outside the deploy target.Upstream research: agentgateway ships prebuilt
agentgateway-linux-amd64/-arm64binaries with.sha256files on every GitHub release; no external runtime or database server (SQLite is built in). The config is exactly whatagentgatewaywrites to~/.config/agentgateway/config.yamlon a first run without-f(checked on v1.6.0:config.database.urlsqlite,gateways.default.port: 4000,ui.gateways: default), with the database moved to/opt/agentgateway_data. Without that database the Welcome wizard does not appear. No Dockerfile is needed for a bare-metal install of a static binary.🔗 Related PR / Issue
Link: none
✅ Prerequisites
🏗️ arm64 Support
agentgateway-linux-arm64v1.6.0 checksum matched the release.sha256, the script's config validated, the UI answered 200 on port 4000 and the SQLite database was created. Upstream publishes the arm64 binary and checksum on every release, sovar_arm64=yes.)🖥️ Tested on
Tested on Proxmox VE 9, Debian 13 template, unprivileged: unattended create and an interactive create through the menus; from another LAN host
:4000/ui→ 200 and the Welcome wizard opens,:15000not reachable;pct reboot→ UI back; update path from a lowered~/.agentgateway→ new release deployed, checksum verified, config and data unchanged, UI 200.🛠️ Type of Change
🔍 Code & Security Review
CODE-AUDIT.md&CONTRIBUTING.mdguidelinesAppName.sh,AppName-install.sh,AppName.json)🤖 AI Assistance
AGENTS.mdand.github/agents/pve-script-creator.agent.mdas guidance, output reviewed and corrected to match.Claude Opus 5.5 (Anthropic), in Claude Code, used to draft both scripts and the JSON from
AGENTS.md, run the test builds on my Proxmox host, and fix what the tests found. I reviewed the result and directed the changes.One addition beyond the template: after
fetch_and_deploy_gh_release, both the install and the update verify the binary against the.sha256file upstream publishes for each release asset, and stop if it does not match. No helper covers this, so it is a few lines ofcurl+sha256sum. If you would rather keep to the template, I will remove it.📦 Application Requirements
🌐 Source