frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Local-first observability for AI SDK on Next.js in 10 lines of code

https://github.com/The-Context-Company/observatory
2•armank-dev•2mo ago
Hey! Arman and Rohil here, we built a free, local-first observability tool for developers using the Vercel AI SDK on Next.js:

- Displays all AI SDK generations, tool calls, and failures in real-time

- 100% open-sourced, takes 7 lines of code to set up, and runs fully locally

The goal is to help you understand what your agent is doing without having to leave your local dev environment. Would appreciate feedback from any Next.js devs willing to try this!

// Motivation + background:

Arman used to work at Mintlify, where he spent most of his time optimizing user-facing AI agents built on the AI SDK. Rohil worked on Gmail Intelligence at Google, reducing hallucinations in intent detection across 26B+ daily emails.

Optimizing AI agents is very fun, but debugging them & understanding exactly what they do is annoying lol. Both of us found it especially painful to scrub through logs and find “silent failures” (doom loops, bad tool calls, hallucinations, etc.).

This tool was made to solve that exact issue. Instead of adding `console.log()` everywhere or inspecting hundreds of “UIMessage” objects, we propose a local-first solution that displays all AI SDK generations locally. We care deeply about DX; it’s our single biggest priority.

// Video demo:

https://github.com/The-Context-Company/observatory/raw/main/...

// How this works under the hood:

You can see the full codebase here: https://github.com/The-Context-Company/observatory/

At its core, this is essentially a light-weight sync engine:

- On the server, we initialize a WebSocket server and store AI SDK generations in memory. - On the browser, we render a lightweight Preact widget that opens a connection with the server to display new runs.

Diagram: https://github.com/The-Context-Company/observatory/blob/main...

We took a lot of inspiration from react-scan, especially when thinking about the DX we want to offer. We internally set these requirements:

- UI must display just the right information and make copying any value easy.

- The widget should not be too obtrusive - must be resizable, movable, and dockable.

- Minimal code changes. This means:

  - Setting up the widget must be as easy as copying and pasting a single <script /> tag.

  - Instrumentation should also be easy to set up and must work alongside other OTel configs (e.g. Sentry) and wrapped functions (e.g. Braintrust).
// What’s next:

We plan on maintaining and improving the tool based on feedback from the Next.js and AI SDK communities by releasing new features and improving the UX.

Both of us are now working full-time on The Context Company, where we’re rethinking context engineering from the ground up, starting with agent observability. AI agents often fail quietly: picking the wrong tools, looping, hallucinating, and more. Our goal is to uncover these silent failures that standard monitoring misses.

// Links:

https://github.com/The-Context-Company/observatory

https://docs.thecontext.company/frameworks/ai-sdk/local

https://thecontext.company/

- Your friendly neighborhood devs, Arman and Rohil

The Search Engine Map

https://www.searchenginemap.com
1•cratermoon•54s ago•0 comments

Show HN: Souls.directory – SOUL.md templates for AI agent personalities

https://souls.directory
1•thedaviddias•2m ago•0 comments

Real-Time ETL for Enterprise-Grade Data Integration

https://tabsdata.com
1•teleforce•5m ago•0 comments

Economics Puzzle Leads to a New Understanding of a Fundamental Law of Physics

https://www.caltech.edu/about/news/economics-puzzle-leads-to-a-new-understanding-of-a-fundamental...
2•geox•6m ago•0 comments

Switzerland's Extraordinary Medieval Library

https://www.bbc.com/travel/article/20260202-inside-switzerlands-extraordinary-medieval-library
2•bookmtn•6m ago•0 comments

A new comet was just discovered. Will it be visible in broad daylight?

https://phys.org/news/2026-02-comet-visible-broad-daylight.html
2•bookmtn•11m ago•0 comments

ESR: Comes the news that Anthropic has vibecoded a C compiler

https://twitter.com/esrtweet/status/2019562859978539342
1•tjr•13m ago•0 comments

Frisco residents divided over H-1B visas, 'Indian takeover' at council meeting

https://www.dallasnews.com/news/politics/2026/02/04/frisco-residents-divided-over-h-1b-visas-indi...
1•alephnerd•13m ago•0 comments

If CNN Covered Star Wars

https://www.youtube.com/watch?v=vArJg_SU4Lc
2•keepamovin•19m ago•0 comments

Show HN: I built the first tool to configure VPSs without commands

https://the-ultimate-tool-for-configuring-vps.wiar8.com/
2•Wiar8•22m ago•2 comments

AI agents from 4 labs predicting the Super Bowl via prediction market

https://agoramarket.ai/
1•kevinswint•27m ago•1 comments

EU bans infinite scroll and autoplay in TikTok case

https://twitter.com/HennaVirkkunen/status/2019730270279356658
4•miohtama•30m ago•1 comments

Benchmarking how well LLMs can play FizzBuzz

https://huggingface.co/spaces/venkatasg/fizzbuzz-bench
1•_venkatasg•32m ago•1 comments

Why I Joined OpenAI

https://www.brendangregg.com/blog/2026-02-07/why-i-joined-openai.html
13•SerCe•33m ago•6 comments

Octave GTM MCP Server

https://docs.octavehq.com/mcp/overview
1•connor11528•34m ago•0 comments

Show HN: Portview what's on your ports (diagnostic-first, single binary, Linux)

https://github.com/Mapika/portview
3•Mapika•36m ago•0 comments

Voyager CEO says space data center cooling problem still needs to be solved

https://www.cnbc.com/2026/02/05/amazon-amzn-q4-earnings-report-2025.html
1•belter•40m ago•0 comments

Boilerplate Tax – Ranking popular programming languages by density

https://boyter.org/posts/boilerplate-tax-ranking-popular-languages-by-density/
1•nnx•40m ago•0 comments

Zen: A Browser You Can Love

https://joeblu.com/blog/2026_02_zen-a-browser-you-can-love/
1•joeblubaugh•42m ago•0 comments

My GPT-5.3-Codex Review: Full Autonomy Has Arrived

https://shumer.dev/gpt53-codex-review
1•gfortaine•43m ago•0 comments

Show HN: FastLog: 1.4 GB/s text file analyzer with AVX2 SIMD

https://github.com/AGDNoob/FastLog
2•AGDNoob•45m ago•1 comments

God said it (song lyrics) [pdf]

https://www.lpmbc.org/UserFiles/Ministries/AVoices/Docs/Lyrics/God_Said_It.pdf
1•marysminefnuf•46m ago•0 comments

I left Linus Tech Tips [video]

https://www.youtube.com/watch?v=gqVxgcKQO2E
1•ksec•46m ago•0 comments

Program Theory

https://zenodo.org/records/18512279
1•Anonymus12233•51m ago•0 comments

Show HN: Local DNA analysis skill for OpenClaw

https://github.com/wkyleg/personal-genomics
2•wkyleg•51m ago•0 comments

Ask HN: Non-profit, volunteers run org needs CRM. Is Odoo Community a good sol.?

1•netfortius•1h ago•0 comments

WiFi Could Become an Invisible Mass Surveillance System

https://scitechdaily.com/researchers-warn-wifi-could-become-an-invisible-mass-surveillance-system/
6•mgh2•1h ago•0 comments

Build your own Mac cloud

https://ciderstack.com
2•ciderdev•1h ago•0 comments

Anduril announces AI Grand Prix – autonomous drone racing competition (2026)

https://www.dcl-project.com/
1•aanet•1h ago•0 comments

How the Tandy Color Computer Works [video]

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