frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

LLMs as Language Compilers: Lessons from Fortran for the Future of Coding

https://cyber-omelette.com/posts/the-abstraction-rises.html
1•birdculture•23s ago•0 comments

Projecting high-dimensional tensor/matrix/vect GPT–>ML

https://github.com/tambetvali/LaegnaAIHDvisualization
1•tvali•1m ago•1 comments

Show HN: Free Bank Statement Analyzer to Find Spending Leaks and Save Money

https://www.whereismymoneygo.com/
1•raleobob•4m ago•1 comments

Our Stolen Light

https://ayushgundawar.me/posts/html/our_stolen_light.html
1•gundawar•5m ago•0 comments

Matchlock: Linux-based sandboxing for AI agents

https://github.com/jingkaihe/matchlock
1•jingkai_he•8m ago•0 comments

Show HN: A2A Protocol – Infrastructure for an Agent-to-Agent Economy

1•swimmingkiim•12m ago•1 comments

Drinking More Water Can Boost Your Energy

https://www.verywellhealth.com/can-drinking-water-boost-energy-11891522
1•wjb3•15m ago•0 comments

Proving Laderman's 3x3 Matrix Multiplication Is Locally Optimal via SMT Solvers

https://zenodo.org/records/18514533
1•DarenWatson•17m ago•0 comments

Fire may have altered human DNA

https://www.popsci.com/science/fire-alter-human-dna/
3•wjb3•18m ago•1 comments

"Compiled" Specs

https://deepclause.substack.com/p/compiled-specs
1•schmuhblaster•23m ago•0 comments

The Next Big Language (2007) by Steve Yegge

https://steve-yegge.blogspot.com/2007/02/next-big-language.html?2026
1•cryptoz•24m ago•0 comments

Open-Weight Models Are Getting Serious: GLM 4.7 vs. MiniMax M2.1

https://blog.kilo.ai/p/open-weight-models-are-getting-serious
4•ms7892•34m ago•0 comments

Using AI for Code Reviews: What Works, What Doesn't, and Why

https://entelligence.ai/blogs/entelligence-ai-in-cli
3•Arindam1729•34m ago•0 comments

Show HN: Solnix – an early-stage experimental programming language

https://www.solnix-lang.org/
2•maheshbhatiya•34m ago•0 comments

DoNotNotify is now Open Source

https://donotnotify.com/opensource.html
5•awaaz•36m ago•2 comments

The British Empire's Brothels

https://www.historytoday.com/archive/feature/british-empires-brothels
2•pepys•36m ago•0 comments

What rare disease AI teaches us about longitudinal health

https://myaether.live/blog/what-rare-disease-ai-teaches-us-about-longitudinal-health
2•takmak007•41m ago•0 comments

The Brand Savior Complex and the New Age of Self Censorship

https://thesocialjuice.substack.com/p/the-brand-savior-complex-and-the
2•jaskaransainiz•43m ago•0 comments

Show HN: A Prompting Framework for Non-Vibe-Coders

https://github.com/No3371/projex
2•3371•43m ago•0 comments

Kilroy is a local-first "software factory" CLI

https://github.com/danshapiro/kilroy
2•ukuina•53m ago•0 comments

Mathscapes – Jan 2026 [pdf]

https://momath.org/wp-content/uploads/2026/02/1.-Mathscapes-January-2026-with-Solution.pdf
1•vismit2000•56m ago•0 comments

80386 Barrel Shifter

https://nand2mario.github.io/posts/2026/80386_barrel_shifter/
2•jamesbowman•56m ago•0 comments

Training Foundation Models Directly on Human Brain Data

https://arxiv.org/abs/2601.12053
1•helloplanets•57m ago•0 comments

Web Speech API on HN Threads

https://toulas.ch/projects/hn-readaloud/
1•etoulas•59m ago•0 comments

ArtisanForge: Learn Laravel through a gamified RPG adventure – 100% free

https://artisanforge.online/
2•grazulex•1h ago•1 comments

Your phone edits all your photos with AI – is it changing your view of reality?

https://www.bbc.com/future/article/20260203-the-ai-that-quietly-edits-all-of-your-photos
1•breve•1h ago•0 comments

DStack, a small Bash tool for managing Docker Compose projects

https://github.com/KyanJeuring/dstack
3•kppjeuring•1h ago•1 comments

Hop – Fast SSH connection manager with TUI dashboard

https://github.com/danmartuszewski/hop
2•danmartuszewski•1h ago•1 comments

Turning books to courses using AI

https://www.book2course.org/
8•syukursyakir•1h ago•6 comments

Top #1 AI Video Agent: Free All in One AI Video and Image Agent by Vidzoo AI

https://vidzoo.ai
2•Evan233•1h ago•1 comments
Open in hackernews

Ask HN: How does MCP tool calling work?

1•revskill•6mo ago
I found it's a bit confusing on how exactly the tool calling work, where does it work ?

Let's say we have a server, with an ai agent configured with tools.

We also have client, which call openai api , and it's also provided with mcp servers.

So when we prompt, how does the whole mcp servers, tool calling resolution and tool execution actually work ? Where does it execute ?

Comments

mrpound•6mo ago
In general, an agent will make an API call to an MCP server to get a list of available tools or to execute a specific tool. For example, when you send a request to OpenAI's Responses API and include a tool call to one of their tools (e.g. web search), the actual execution always occurs on the remote server.

You can also make remote MCP calls over the OpenAI Responses API, which will basically proxy the request to the remote MCP server URL you pass in the request. The execution is always happening on the MCP server hosting the tool.

You can run your own MCP server and expose your own custom tools, rather than hitting someone else's remote service. You can also use function calling w/ OpenAI to let a model decide which custom code to execute without using MCP. With my agents I use a bit of both depending on use case. Sometimes it's easier to use a prompt that outputs a JSON object containing some arguments and a function name defined in your agent code, you call your function and then pass the result back to the model.

At the end of the day MCP is just a protocol, so it's up to you how much you want to implement yourself and what you want to offload to remote providers (just be mindful of whose tools you're calling and what context is being passed in your tool calls).

revskill•6mo ago
Then how does control flow is executed ? You can prompt, check for something, then if condition then do something, or loop to do until something. How can the agent knows to interpret ?
mrpound•6mo ago
You send a request, the tool call executes and returns a response to the calling model or client, then you handle it somehow. You can add the output of the tool call into the context and prompt the model again...or just return the output of the tool execution. There are many ways to do it.
revskill•6mo ago
I need a generic system prompt to instruct to output all possible flows.