frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Offline RAG on iOS with Spatial Integration

1•CartoType•15m ago
I'm the developer behind CartoType. I’ve been working on bridging local language models with offline mapping, and I have just put together a demo of a completely offline Spatial RAG pipeline running natively on an iPhone. The new system is named the CartoType Field Assistant. You can find the website at https://cartotype.com

Demo (1m 19s): https://www.youtube.com/shorts/a8yQPn7_jyI

Use cases: Any organisation with field technicians or emergency first responders needs complex procedural knowledge tied to physical locations ('assets') where they don't have guaranteed network connectivity. Examples include offshore wind farms, power distribution networks, railway infrastructure, mountain rescue, and military uses.

For this demo I query the iPhone app in Airplane mode: "A hiker near Tuolumne Meadows has a dislocated shoulder. What is the reduction protocol, and where is the Tuolumne Meadows Ranger Station?"

HOW IT WORKS

The core is a portable C++ engine running vector search across an encrypted, on-device SQLite database. The database contains the user's proprietary manuals, chunked and converted into embeddings. The search finds relevant chunks and uses them as a prompt for a local LLM (Gemma). This process is RAG (Retrieval-Augmented Generation).

Spatial integration is provided by connecting assets in the map to a table in the database and using the table to find any assets referred to in queries and pan the map to them.

Everything runs on-device with no API keys or cloud dependencies. The demo app is written in Swift and uses the CartoType framework, which provides a wrapper over the underlying core API giving asynchronous and synchronous access to the AI functions.

DATA PREPARATION

To get up and running, the user creates a map containing the assets, using CartoType's makemap tool, then feeds the map and their proprietary documentation into CartoType's makedata tool, which writes the encrypted SQLite database to be stored on the device. The map, which may also be encrypted, is also stored on the device. The CartoType library, when running the Field Assistant's RAG system, also provides full map rendering, location searching, routing and geocoding as it always has done.

Junghans Force Mega Solar

https://junghans-shop.com
1•zombot•30s ago•1 comments

AI Coding Agents Adoption Trends

https://blog.jetbrains.com/research/2026/08/ai-coding-agent-adoption-2026/
1•nreece•3m ago•0 comments

Moderna pins hopes on mRNA 'game-changer' for cancer vaccines

https://www.ft.com/content/cd52173f-5863-4996-93b2-c4adb81ad210
1•TooSmugToFail•5m ago•0 comments

Fungi found on coconut husks can decompose plastic, sunscreen

https://www.hawaii.edu/news/2026/05/11/coconut-fungi-decompose-plastic/
3•thunderbong•9m ago•0 comments

Spotify Soloist, official terminal client for headless and DIY setups

https://developer.spotify.com/blog/2026-08-13-introducing-spotify-soloist
2•mdrzn•10m ago•0 comments

I've built an iOS Lockscreen Calendar inspired by an old jailbreak Cydia tweak

https://apps.apple.com/de/app/lockcal/id6794340782
1•daymir•11m ago•1 comments

Offline RAG on iOS with Spatial Integration

1•CartoType•15m ago•0 comments

How does a USB keyboard work? (2021) [video]

https://www.youtube.com/watch?v=wdgULBpRoXk
1•nesk_•16m ago•0 comments

Show HN: An attempt to do a healthy screentime app for toddlers

https://tadidum.com/
1•animeshjain•16m ago•0 comments

Sensor Watch

https://www.sensorwatch.net/
1•matheusmoreira•18m ago•0 comments

Chinese company lands a reusable Falcon-9 analog

https://arstechnica.com/space/2026/08/the-floodgates-are-open-after-another-chinese-company-lands...
2•huhtenberg•21m ago•0 comments

Don't Paste the AI, please

https://dontpastetheai.com/
19•pjerem•22m ago•9 comments

ADK is the open-source agent development framework

https://adk.dev/
1•Bluestein•22m ago•0 comments

The wrong unit – Shipping sooner, not faster

https://blog.codemanship.dev/smaller-steps-six-ai-coding-agents
1•Andugal•23m ago•0 comments

Show HN: Nexus Suite – Modular enterprise project management platform

https://nexus-suite-tau.vercel.app
1•pranav_tech26•23m ago•0 comments

AI Influence Level (Ail) v1.0

https://danielmiessler.com/blog/ai-influence-level-ail
3•doener•27m ago•0 comments

μCOM-87: The Strangest Architecture You've Never Worked With

https://ajxs.me/blog/uCOM-87_The_Strangest_Architecture_Youve_Never_Worked_With.html
1•Bluestein•28m ago•0 comments

I Went Looking for the Last Wild Apple Forests [video]

https://www.youtube.com/watch?v=80dkYKwJPv4
1•zeristor•28m ago•0 comments

200B Tokens Later: A Month of Letting AI Agents Decompile MW2

https://momo5502.com/posts/2026-08-17-mw2-decompilation/
1•sunbum•28m ago•0 comments

A perfect example of concept entanglement in generative AI

https://martinanderson.ai/blog/entanglement-in-ai-generation-veronica-carlson-hair.html
1•50kIters•29m ago•0 comments

Purchased a small farm during the lockdown era (w/o a rural background)

https://twitter.com/amandaorson/status/2090128591983898873
2•tosh•30m ago•0 comments

LinkVault – A local-first archive for online learning

https://github.com/Howard-Starfield/LinkVault-Linkedin-Learning-Courses-Downloader
1•sdokdyg5656•35m ago•0 comments

Test-Time Scaling in the Wild: Why Exploitation, Not Exploration

https://arxiv.org/abs/2608.18931
1•sbulaev•36m ago•0 comments

"skipping their no-op fuel starves nothing"

https://github.com/phpstan/phpstan-src/commit/a9260cb3584854f33576b79e20825f8eee3d7a6c
1•Bluestein•41m ago•1 comments

Show HN: OpenIndex – Organising domain knowledge into structured data for agents

https://github.com/DrDroidLab/open-index
1•TheBengaluruGuy•43m ago•0 comments

Carbon memory safety: a first deep dive

https://chandlerc.blog/slides/2026-memory-safety-deep-3/#/
1•coffeeaddict1•44m ago•1 comments

What's happening in a chronic wound? Bacteria, Biofilms, & Senescent cells

https://www.thenakedscientists.com/articles/interviews/whats-happening-chronic-wound
1•zeristor•45m ago•1 comments

Framework responds to complaints that BIOS update bricks Ryzen 7040 laptops

https://arstechnica.com/gadgets/2026/08/framework-responds-to-complaints-that-bios-update-bricked...
2•anthonj•48m ago•1 comments

AWS London gets a new AZ (EU-west-2d)

https://old.reddit.com/r/aws/comments/1vskxac/london_gets_a_4th_az/
3•znpy•48m ago•0 comments

New research shows how psychedelics reorganise the patterns in your brain

https://theconversation.com/new-research-shows-how-psychedelics-reorganise-the-patterns-in-your-b...
1•XzetaU8•48m ago•0 comments