ar

archgw: open-source, intelligent proxy for AI agents, built on Envoy

Hacker News

archgw: open-source, intelligent proxy for AI agents, built on Envoy

Hi HN! This is Adil, Salman, Co and Shuguang and we're excited to introduce archgw [1], an open source intelligent proxy for agents built on Envoy [2]. Arch moves the critical but crufty work around safety, observability, and routing of prompts outside business logic. Arch is a uniquely intelligent infrastructure primitive, engineered with purpose-built fast LLMs [3] for tasks like intent detection over multi-turn, parameter identification and extraction, triggering single/multiple function calls, and offers convenience features to auto dispatch LLM calls for summarization based on data from your APIs via system prompts configured in archgw. Today, the approach to build a smart production-ready agent is weaving together a large set of mono-functional opinionated libraries, adding extra layers like LLM-based preprocessing to determine things like relevance and safety of the user's prompt (e.g. applying governance and guardrails). Once past that stage, developers must extract relevant information from the user prompt to determine intent, extract parameters as necessary, package relevant tools calls to an LLM to trigger a backend API to execute particular domain-specific task. etc. After all that is done then only are developers ready to trigger an LLM call for summarization and must manage upstream error handling and retry logic themselves. Not to mention, if they want to experiment with multiple LLMs or move between LLM versions, they have to write crufty undifferentiated code. This entire experience is slow, error prone, cumbersome, and not specifically unique. Prior to building archgw, the team spent time building Envoy [2] at Lyft, API Gateway at AWS, specialized search and intent models at Microsoft Research and worked on safety at Meta. archgw was born out of the belief that several rules based mono-functional tools should be converged into a multi-functional infrastructure primitive designed for prompts and agents. We built archgw on the highly popular, battle-tested open source proxy Envoy and re-imagined it for prompts and agents. For this we had to build blazing fast LLMs [3] that can handle crufty, ahead-in-the-request-path type of work in handling and processing prompts that are sent to an agent, so that developers can focus on what matters most: building fast personalized agents without the unnecessary prompt engineering and systems integration work needed to get there. Here are some additional details about the open source project. arghw is written in rust, and the request path has three main parts: * Listener subsystem which handles downstream (ingress) and upstream (egress) request processing. * Prompt handler subsystem. This is where archgw makes decisions on the safety of the incoming request via its prompt_guard primitive and identifies where to forward the conversation to via its prompt_target primitive. * Model serving subsystem is the interface that hosts all the lightweight LLMs engineered in archgw and offers a framework for things like hallucination detection of our these models We loved building this open source project, and our belief is that this infra primitive would help developers build faster, safer and more personalized agents without all the manual prompt engineering and systems integration work needed to get there. We hope to invite other developers to use and improve Arch. Please give it a shot and leave feedback here, or at our discord channel [4] Also here is a quick demo of the project in action [5]. You can check out our public docs here at [6]. Our models are also available here [7]. [1] https://github.com/katanemo/archgw [2] https://www.envoyproxy.io/ [3] https://huggingface.co/collections/katanemo/arch-function-66... [4] https://discord.com/channels/1292630766827737088/12926307682... [5] https://www.youtube.com/watch?v=I4Lbhr-NNXk [6] https://docs.archgw.com/ [7] https://huggingface.co/katanemo

Share card

Actual performance

20points
14comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: agents, agent, model · Missing: mac, macos, cursor
98%98% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: para · Missing: supports, reddit linkedin, podcasting
91%91% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: excited, open source, ide · Missing: https docs, just released, exist
70%70% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: personal, way, para · Missing: mobile apps, ios, entrepreneurs
45%45% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: host, interface, calls · Missing: plus, platform, intuitive
34%34% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
16%16% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: introduce, smart · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Ag
AgentState – Open-source resilience and caching proxy for AI agents41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AgentState – Open-source resilience and caching proxy for AI agents

Hacker News2
Sw
Switchboard is an open-source easy-to-configure Envoy proxy66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Switchboard is an open-source easy-to-configure Envoy proxy

Hacker News4
So
Socks Proxy for AI Agents30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Socks Proxy for AI Agents

Hacker News2
DocsBot
DocsBot61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AI agents built for seamless support

Product Hunt+118Artificial Intelligence
De
DearAgent – Open-source email inboxes for AI agents51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

DearAgent – Open-source email inboxes for AI agents

Hacker News1
Ha
Harp Proxy – open-source API Proxy for reliability and observability63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Harp Proxy – open-source API Proxy for reliability and observability

Hacker News10
Se
SentinelGate – Access control for AI agents (open-source MCP proxy)39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SentinelGate – Access control for AI agents (open-source MCP proxy)

Hacker News6
Ro
Roids – Open Source Steroids for your Agents61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Roids – Open Source Steroids for your Agents

Hacker News2
Op
Open-source list of top AI agents48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Open-source list of top AI agents

Hacker News2
Ag
Agent Vault – Open-source credential proxy and vault for agents51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Agent Vault – Open-source credential proxy and vault for agents

Hacker News156