TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Arch – an intelligent prompt gateway built on Envoy

21 pointsby adilhafeez7 months ago
Hi HN! My name is Adil Hafeez, and I am the Co-Founder at Katanemo and the lead developer behind Arch - an open source project for developers to build faster, generative AI apps. Previously I worked on Envoy at Lyft.<p>Engineered with purpose-built LLMs, Arch handles the critical but undifferentiated tasks related to the handling and processing of prompts, including detecting and rejecting jailbreak attempts, intelligently calling “backend” APIs to fulfill the user’s request represented in a prompt, routing to and offering disaster recovery between upstream LLMs, and managing the observability of prompts and LLM interactions in a centralized way - all outside business logic.<p>Here are some additional key details of the project,<p>* Built on top of Envoy and is written in rust. It runs alongside application servers, and uses Envoy&#x27;s proven HTTP management and scalability features to handle traffic related to prompts and LLMs.<p>* Function calling for fast agentic and RAG apps. Engineered with purpose-built fast LLMs to handle fast, cost-effective, and accurate prompt-based tasks like function&#x2F;API calling, and parameter extraction from prompts.<p>* Prompt guardrails to prevent jailbreak attempts and ensure safe user interactions without writing a single line of code.<p>* Manages LLM calls, offering smart retries, automatic cutover, and resilient upstream connections for continuous availability.<p>* Uses the W3C Trace Context standard to enable complete request tracing across applications, ensuring compatibility with observability tools, and provides metrics to monitor latency, token usage, and error rates, helping optimize AI application performance.<p>This is our first release, and would love to build alongside the community. We are just getting started on reinventing what we could do at the networking layer for prompts.<p>Do check it out on GitHub at <a href="https:&#x2F;&#x2F;github.com&#x2F;katanemo&#x2F;arch&#x2F;">https:&#x2F;&#x2F;github.com&#x2F;katanemo&#x2F;arch&#x2F;</a>.<p>Please leave a comment or feedback here and I will be happy to answer!

8 comments

lionkor7 months ago
Hi, I&#x27;m curious how preventing jailbreaks protects the <i>user</i>?<p>&gt; Prompt guardrails to prevent jailbreak attempts and ensure safe user interactions [...]
评论 #41851564 未加载
评论 #41851500 未加载
评论 #41854302 未加载
debarshri7 months ago
Lately, I have seen few gateways around LLM. Namely, openrouter, portkey.ai, etc.<p>My key question is, who would be the ideal customer who would need a proxy or a gateway like this? Why couldn&#x27;t it be an extension or plugin of existing LBs, proxies etc.
评论 #41853757 未加载
评论 #41856163 未加载
crb7 months ago
Tetrate and Bloomberg want to contribute their code to Envoy to create &quot;Envoy AI Gateway&quot;, similarly to how there is an &quot;Envoy Gateway&quot; spec. Do you see this as being complementary or competitive with your work?<p><a href="https:&#x2F;&#x2F;tetrate.io&#x2F;press&#x2F;tetrate-and-bloomberg-collaborate-on-community-led-open-standard-for-ai-gateways-built-on-cncfs-envoy-gateway-project&#x2F;" rel="nofollow">https:&#x2F;&#x2F;tetrate.io&#x2F;press&#x2F;tetrate-and-bloomberg-collaborate-o...</a>
评论 #41854068 未加载
sparacha8 months ago
Hey HN - my name is Salman and I am Adil’s Co-Founder. Would love to hear and get feedback. Here is a link to our public roadmap, please lets us know if there are things you’d like for us to work on first<p><a href="https:&#x2F;&#x2F;github.com&#x2F;orgs&#x2F;katanemo&#x2F;projects&#x2F;1">https:&#x2F;&#x2F;github.com&#x2F;orgs&#x2F;katanemo&#x2F;projects&#x2F;1</a>
评论 #41801389 未加载
edude037 months ago
Envoy is legendary in (dev)ops circles, but I don&#x27;t understand what it lends to the AI space. I feel like building a separate backend service that runs behind envoy would make more sense but that&#x27;s just me.
评论 #41853992 未加载
hahdflakdfwdasd7 months ago
Since its an envoy filter it was trivial to setup in Istio Ingress. Good stuff.
评论 #41864596 未加载
评论 #41864438 未加载
dang7 months ago
Offtopic technical note: I&#x27;ve created a new post for this because the previous one (<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41801315">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41801315</a>) was old enough to fall out of the ranked stories on HN.<p>We picked it for the second-chance pool (<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26998308">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26998308</a>) when it was already several days old, and by the time the thread got going, it basically got evicted from cache. This is a manual workaround to correct that. Sorry all!<p>I&#x27;ve moved the comments from the other thread hither, which is why most of them are hours older than the current submission is.
3np7 months ago
That&#x27;s quite an overloaded name... Good luck with SEO for &quot;how do i run arch on linux?&quot; :p
评论 #41855102 未加载