Hacker News

Cooper

by @rmnclmnt

In the past few weeks, experimenting with a custom ai agent running entirely in the browser with sandboxed tools exec. The core is built in Rust, a native CLI is built on top for local experimentation but the most interesting part is the web version: the core is built to WASM and get augmented with many tools in the JS land: - OPFS access (read, list, edit files) - Sandbox Python exec (Pyodide in WASM) - Sandbox DuckDB exec (DuckDB-WASM) - Draw charts - Show images - etc OpenAI Completions compatible API providers are supported. But if you want a full local and sandboxed execution of the whole agent, the web version bundles also wllama to serve local GGUF models (with WebGPU optional support). Github repo: https://github.com/rclement/cooper

Discover more builders

Builderlust is an endless, joyful scroll of real projects people are shipping right now. Get the app to keep finding your next spark of inspiration.

📱 Coming soon to iOS & AndroidOpen in the app