frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Inverting Agent Model (App as Clients, Chat as Server and Reflection)

https://github.com/RAIL-Suite/RAIL
1•ddddazed•2h ago
Hello HN. I’d like to start by saying that I am a developer who started this research project to challenge myself. I know standard protocols like MCP exist, but I wanted to explore a different path and have some fun creating a communication layer tailored specifically for desktop applications.

The project is designed to handle communication between desktop apps in an agentic manner, so the focus is strictly on this IPC layer (forget about HTTP API calls).

At the heart of RAIL (Remote Agent Invocation Layer) are two fundamental concepts. The names might sound scary, but remember this is a research project:

Memory Logic Injection + Reflection Paradigm shift: The Chat is the Server, and the Apps are the Clients.

Why this approach? The idea was to avoid creating huge wrappers or API endpoints just to call internal methods. Instead, the agent application passes its own instance to the SDK (e.g., RailEngine.Ignite(this)).

Here is the flow that I find fascinating:

-The App passes its instance to the RailEngine library running inside its own process.

-The Chat (Orchestrator) receives the manifest of available methods.The Model decides what to do and sends the command back via Named Pipe.

-The Trigger: The RailEngine inside the App receives the command and uses Reflection on the held instance to directly perform the .Invoke().

Essentially, I am injecting the "Agent Logic" directly into the application memory space via the SDK, allowing the Chat to pull the trigger on local methods remotely.

A note on the Repo: The GitHub repository has become large. The core focus is RailEngine and RailOrchestrator. You will find other connectors (C++, Python) that are frankly "trash code" or incomplete experiments. I forced RTTR in C++ to achieve reflection, but I'm not convinced by it. Please skip those; they aren't relevant to the architectural discussion.

I’d love to focus the discussion on memory-managed languages (like C#/.NET) and ask you:

-Architecture: Does this inverted architecture (Apps "dialing home" via IPC) make sense for local agents compared to the standard Server/API model?

-Performance: Regarding the use of Reflection for every call—would it be worth implementing a mechanism to cache methods as Delegates at startup? Or is the optimization irrelevant considering the latency of the LLM itself?

-Security: Since we are effectively bypassing the API layer, what would be a hypothetical security layer to prevent malicious use? (e.g., a capability manifest signed by the user?)

I would love to hear architectural comparisons and critiques.

Show HN: Skill.Fish – NPM-style package manager for AI agent skills

https://github.com/knoxgraeme/skillfish
1•knoxgraeme•2m ago•0 comments

Free Corpus Tracker – Budget, stocks, gold, mutual funds in one place

https://icorpus.vercel.app
1•mathan_karthik•4m ago•1 comments

Sudo

https://www.sudo.ws/
1•vinhnx•13m ago•0 comments

Moltbook Smcp Plugin

https://github.com/sanctumos/smcp-moltbook
1•actuallyrizzn•16m ago•1 comments

I replaced a $120/year micro-SaaS in 20 minutes with LLM-generated code

https://blog.pragmaticengineer.com/i-replaced-a-120-year-micro-saas-in-20-minutes-with-llm-genera...
3•vinhnx•18m ago•1 comments

Chased Through Amsterdam, Robbed of $1M, yet Still Building: Matthew's Plans

https://altcoindesk.com/perspectives/interviews/after-a-1m-scam-in-amsterdam-matthew-jones-moves-...
1•CapricornQueen•26m ago•0 comments

The Art of Unix Usability

http://www.catb.org/~esr/writings/taouu/html/index.html
1•js216•27m ago•0 comments

Oakland Firestorm of 1991

https://en.wikipedia.org/wiki/Oakland_firestorm_of_1991
1•petethomas•33m ago•0 comments

What If Trump Discovers That Unpaid UK (and French) Debt from WWI?

https://podcasts.apple.com/us/podcast/ep-155-what-if-trump-discovers-that-unpaid-uk-and/id1528208...
2•KnuthIsGod•40m ago•0 comments

Stop panicking about AI. Start preparing

https://www.economist.com/leaders/2026/01/29/stop-panicking-about-ai-start-preparing
2•petethomas•43m ago•0 comments

Network Applications of Bloom Filters: A Survey [pdf]

https://www.eecs.harvard.edu/~michaelm/postscripts/im2005b.pdf
1•mfiguiere•48m ago•1 comments

Show HN: Kindler: A declarative, Lua-based, build system

https://setsunasoftware.com/kindler/
1•ThatGuyRaion•48m ago•0 comments

The Context Gravity Well

https://mapwriting.substack.com/p/the-context-gravity-well
1•doitLP•50m ago•0 comments

LinkedIn, Everyone's an AI Detective Now

https://www.bloomberg.com/news/articles/2026-01-30/chatgpt-written-linkedin-posts-have-users-anal...
1•petethomas•57m ago•1 comments

Tautologism Language

https://zenodo.org/records/18446476
2•KaoruAK•58m ago•0 comments

Show HN: Licobox – Container runtime with Docker Engine on a macOS

https://licobox.dev
1•yunusefendi52•59m ago•0 comments

Show HN: Using OpenClaw chat to manage tasks with an Eisenhower Matrix

https://4to.do/integrations/openclaw
1•haoya•1h ago•0 comments

Why Do Lawyers Want to Abolish ICE? [video]

https://www.youtube.com/watch?v=zkgNnbTrsgw
1•zdw•1h ago•0 comments

Chrome Extension lets you watch YouTube while browsing the web

https://chromewebstore.google.com/detail/watch-youtube-sidebar/nfgnokdbenjkocebgekljbdolmfjbnhg
2•eeko_systems•1h ago•0 comments

RPyC – Transparent, symmetric distributed computing

https://rpyc.readthedocs.io/en/latest/
2•benswerd•1h ago•0 comments

Start (Vibe) Coding Fast

https://chadnauseam.com/coding/tips/start-vibe-coding-fast
2•ChadNauseam•1h ago•2 comments

Show HN: ShotOne – Screenshot API with built-in playground for quick testing

https://shotone.io/
1•DebianXMR•1h ago•0 comments

Free Online Guitar Tuner: No download required, works on any device

https://www.online-guitartuner.com/
1•ashing•1h ago•1 comments

Apple Hooks Fifty Thousand Methods [video]

https://www.youtube.com/watch?v=SuQGQ1vh9k0
2•todsacerdoti•1h ago•0 comments

The (AI) Nature of the Firm

https://camerongordon0.substack.com/p/the-ai-nature-of-the-firm
1•iciac•1h ago•1 comments

PyInfra: Infrastructure Deserves Real Code in Python, Not YAML Soup

https://marp.kalvad.com/fosdem_2026
3•nogajun•1h ago•1 comments

China's 'gold fever' sparks US$1B scandal as trading platform collapses

https://www.scmp.com/economy/china-economy/article/3341633/chinas-gold-fever-sparks-us1-billion-s...
9•latchkey•1h ago•0 comments

Gemini 3 Pro on AI Studio has been capped at 10 uses per day

https://old.reddit.com/r/Bard/comments/1qqw8o4/gemini_3_pro_on_ai_studio_has_finally_been_capped/
1•Kholin•1h ago•0 comments

SpacemiT K3 RISC-V AI CPU launch event [video]

https://www.youtube.com/watch?v=PxxUsUqgOFg
1•sxzygz•1h ago•0 comments

Scalable Power Sampling: Training-Free Reasoning for LLMs via Distrib Sharpening

https://medium.com/@haitham.bouammar71/we-didnt-train-the-model-it-started-reasoning-better-anywa...
2•verdverm•1h ago•1 comments