Better HN
topnewbestaskshowjobs
Log inSign up

sparacha

18 karma · joined Jul 1, 2024 (2y ago) · 57 submissions

Submissions

1.

Show HN: Signals – finding the most informative agent traces without LLM judges(arxiv.org ↗)

3 points · by sparacha · 7mo ago · discuss

2.

Show HN: Preference-aware routing for OpenClaw via Plano(github.com ↗)

1 points · by sparacha · 9mo ago · discuss

3.

The two agentic loops – how to build and scale agentic apps(planoai.dev ↗)

1 points · by sparacha · 9mo ago · discuss

comment 1y ago · link · parent

Hi HN — we’re the team behind Arch-Router [1], A 1.5B preference-aligned LLM router that guides model selection by matching queries to user-defined domains (e.g., travel) or action types (e.g., image editing). Offering a practical mechanism to encode preferences and subjective evaluation criteria in routing decisions.

Today we’re extending that approach to Claude Code via Arch Gateway[2], bringing multi-LLM access into a single CLI agent with two main benefits:

1. Model Access: Use Claude Code alongside Grok, Mistral, Gemini, DeepSeek, GPT or local models via Ollama.

2. Preference-aware Routing: Assign different models to specific coding tasks, such as – Code generation – Code reviews and comprehension – Architecture and system design – Debugging

Why not route based on public benchmarks? Most routers lean on performance metrics — public benchmarks like MMLU or MT-Bench, or raw latency/cost curves. The problem: they miss domain-specific quality, subjective evaluation criteria, and the nuance of what a “good” response actually means for a particular user. They can be opaque, hard to debug, and disconnected from real developer needs.

[1] Arch-Router: https://huggingface.co/katanemo/Arch-Router-1.5B

[2] Arch Gateway: https://github.com/katanemo/archgw

comment 1y ago · link · parent

Hey! I built this. AMA. The model router is built into the proxy layer here: https://github.com/katanemo/archgw

comment 1y ago · link · parent

But you can also use tokens to implement routing decisions in a proxy. You can make RBAC natively available to all agents outside code. The incremental feature work in code vs an out of process server is the trade off. One gets you going super fast the other offers a design choice that (I think) scales a lot better

comment 1y ago · link · parent

There is liteLLM, OpenRouter, Arch (although that’s an edge/service proxy for agents) and now this. We all need a new problem to solve

comment 1y ago · link · parent

That’s an example of what the edge component could do. Did you give the preference-based automatic routing a try?

9.

Arch-Function LLMs promise lightning-fast agentic AI for enterprise workflows(venturebeat.com ↗)

2 points · by sparacha · 1y ago · discuss

comment 1y ago · link · parent

RouteLLM is essentially a benchmark-driven approach. Their framework chooses between a weak and a strong model and helps developers optimize for a metric called APGR (Average Performance Gap Recovered) — a measure of how much of the stronger model’s performance can be recovered when routing some queries to the weaker, cheaper model. However, their routing models are trained to maximize performance on public benchmarks like MMLU, BBH, or MT-Bench. These benchmarks may not capture subjective, domain-specific quality signals that surface in practice.

Arch-Router takes a different approach. Instead of focusing benchmark scores, we lets developers define routing policies in plain language based on their preferences — like “contract analysis → GPT-4o” or “lightweight brainstorming → Gemini Flash.” Our 1.5B model learns to map prompts (along with conversational context) to these policies, enabling routing decisions that align with real-world expectations, not abstract leaderboards. Also our approach doesn't require router model retraining when new LLMs are swapped in or when preferences change.

Hope this helps.

comment 1y ago · link · parent

https://news.ycombinator.com/item?id=44436031

comment 1y ago · link · parent

Arch is developer friendly, but designed for enterprise-grade customers in mind. The core contributors of Envoy redesigned the proxy substrate to handle prompts - offering something that is battle tested in terms of resiliency, speed, and deployments. Second, OpenRouter offers choice of models, but dynamically routing to LLMs based on user-defined usage policies is uniquely available in Arch. Hope that helps

comment 1y ago · link · parent

Overall performance degrades from 93.17 -> 92.99 with a quantized version

comment 1y ago · link · parent

Can you share more about your evaluation setup? I would love to see the specific usage pattern as we have tested our model against smaller LLMs and foundational models and our results show things differently. Of course, routing policies should follow best practices here: https://docs.archgw.com/guides/llm_router.html

Nonetheless, super curious to learn more and see what we may be able to improve. This is technically not a classifier model - its a usage prediction model (feels like a classifier, but not quite in terms of intended usage)

comment 1y ago · link · parent

yes - we have already published a quantized version here: https://huggingface.co/katanemo/Arch-Router-1.5B.gguf. The performance difference with a quant version is negligible. I'll run another analysis and update the thread shortly

comment 1y ago · link · parent

Hi HN! I am one of the co-authors of the paper. If there are any questions about our approach, I would love to answer them.

comment 1y ago · link · parent

good one!

comment 1y ago · link · parent

build MCP servers that get plugged into different apps like Claude desktop. But what if you want to go from FastAPI functions and build your own agentic app - added bonus have common tool calls be blazing fast.

Just updated https://github.com/katanemo/archgw (the AI-native proxy server for agents) that can directly plug into your MCP tools and FastAPI functions so that you can ship an exceptionally high-quality agentic app. The proxy is designed to handle multi-turn, progressively ask users clarifying questions as required by input parameters of your functions, and accurately extract information from prompts to trigger downstream function calls - added bonus get built-in W3C tracing for all inbound and outbound request, gaudrails, etc.

Early days for the project. But would love contributors and if you like what you see please don't forget to the project too.

19.

The rise of intelligent infrastructure for LLM applications(archgw.com ↗)

3 points · by sparacha · 1y ago · 1 comment

12