Sponsoring sqlite-vec to enable more powerful Local AI applications

Stephen Hood · 2024年6月25日

AI 摘要 AI 生成,可能有误

Mozilla Builders 正在赞助 sqlite-vec,这是由独立开发者 Alex Garcia 开发的一个项目,为 SQLite 嵌入式数据库添加向量搜索功能。这使得强大的本地 AI 应用(如检索增强生成和语义搜索)能够完全在消费级设备上运行,同时保护隐私。继 llamafile 之后,这是 Mozilla 下一个支持的项目,旨在让开源 AI 更易于使用、更加公平。

Mozilla’s recently announced Builders program supports projects that advance the cause of open source AI. Our inaugural theme is “Local AI”: AI-powered applications that can run entirely locally on consumer devices like desktops, laptops, and smartphones. We are keenly interested in this area because it fosters greater privacy and control by putting AI technology directly into the hands of users. It also democratizes AI development by reducing costs, making powerful tools accessible to individual developers and small communities.

As a part of Mozilla Builders, we’ve launched an accelerator that developers can apply to join, but in parallel we have also been proactively recruiting specific open source projects that we feel have the potential to move AI forward and would benefit from Mozilla’s investment, expertise, and support. Our first such Builders project is llamafile, led by open source developer Justine Tunney. llamafile makes open LLMs run fast on everyday consumer hardware while also making open source AI dramatically more accessible and usable.

Today we’re proud to announce the next Mozilla Builders project: sqlite-vec. Led by independent developer Alex Garcia, this project brings vector search functionality to the beloved SQLite embedded database.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Mozilla Hacks

Intent to Ship: JPEG XL

AI 摘要Mozilla has announced its intent to ship JPEG XL support in Firefox, based on jxl-rs, a safe and compact Rust decoder built by Google Research after concerns about the attack surface of the original 100,000-line C++ implementation. Firefox's implementation includes progressive rendering, which lets images display as they download, a feature Safari's earlier version lacked. The article also compares JPEG XL with AVIF, noting that AVIF tends to produce smaller files at web quality, while JPEG XL excels at lossless imagery and recompressing existing JPEGs, so developers should choose based on their use case.

PACT: Anonymous Credentials for the Web

AI 摘要The article describes how websites' anti-bot defenses are increasingly failing, as browser privacy protections erase passive signals and generative AI renders CAPTCHAs ineffective, forcing users into a dilemma between privacy and access. It critiques device-attestation solutions like Google's Web Environment Integrity and Apple's Private Access Tokens for concentrating control in hardware manufacturers and threatening the open web's openness. As an alternative, Mozilla proposes a system of anonymous credentials built on Privacy Pass-style cryptography, where sites can rate-limit users anchored to scarce resources (such as email addresses or VPN subscriptions) without learning their identities, while open challenges like issuer blinding and issuer trust evaluation remain to be solved.

Announcing Web Serial Support in Firefox

AI 摘要Firefox 151 for Desktop now supports the Web Serial API, enabling web applications to communicate directly with serial-connected hardware such as microcontrollers, development boards, 3D printers, and power meters without native software. Mozilla collaborated with Adafruit to test the implementation against real hardware workflows, and security is handled through explicit per-site, per-port user permission prompts. Mozilla is also pursuing standardization of the API through the WHATWG.

Behind the Scenes Hardening Firefox with Claude Mythos Preview

AI 摘要Mozilla explains how it used Claude Mythos Preview and other AI models, driven by an agentic harness built atop its fuzzing infrastructure, to find and fix an unprecedented number of latent security bugs in Firefox, including sandbox escapes and bugs dating back 15-20 years, with 271 fixes shipped in Firefox 150. The team scaled the effort by parallelizing bug-hunting jobs across ephemeral VMs and integrating discovery into its full security bug lifecycle of deduplication, triage, and shipping fixes, noting that better models and harnessing techniques transformed AI bug reports from low-value noise into high-signal findings. Mozilla has published a sample of the bug reports, recommends that other software projects begin using these AI-assisted hardening techniques now, and plans to integrate this analysis into continuous integration to scan patches as they land.

Trustworthy JavaScript for the Open Web

AI 摘要Mozilla introduces WAICT (Web Application Integrity, Consistency and Transparency), a mechanism that cryptographically binds client-side web code to manifests committed to publicly auditable logs, protecting applications—even end-to-end encrypted ones—against malicious or compromised servers serving modified code. Sites can opt in to enforcement so browsers reject any code that has not been publicly logged, making attacks observable and attributable. An early prototype is available in Firefox Nightly and can be tested at waict.dev, with Mozilla collaborating with partners like Cloudflare, the Freedom of the Press Foundation, and Meta while developing the specifications openly.