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 Highest Exam: How the Gaokao Shapes China

https://www.lrb.co.uk/the-paper/v48/n02/iza-ding/studying-is-harmful
1•mitchbob•32s ago•1 comments

Open-source framework for tracking prediction accuracy

https://github.com/Creneinc/signal-tracker
1•creneinc•2m ago•0 comments

India's Sarvan AI LLM launches Indic-language focused models

https://x.com/SarvamAI
1•Osiris30•3m ago•0 comments

Show HN: CryptoClaw – open-source AI agent with built-in wallet and DeFi skills

https://github.com/TermiX-official/cryptoclaw
1•cryptoclaw•6m ago•0 comments

ShowHN: Make OpenClaw respond in Scarlett Johansson’s AI Voice from the Film Her

https://twitter.com/sathish316/status/2020116849065971815
1•sathish316•8m ago•1 comments

CReact Version 0.3.0 Released

https://github.com/creact-labs/creact
1•_dcoutinho96•10m ago•0 comments

Show HN: CReact – AI Powered AWS Website Generator

https://github.com/creact-labs/ai-powered-aws-website-generator
1•_dcoutinho96•10m ago•0 comments

The rocky 1960s origins of online dating (2025)

https://www.bbc.com/culture/article/20250206-the-rocky-1960s-origins-of-online-dating
1•1659447091•16m ago•0 comments

Show HN: Agent-fetch – Sandboxed HTTP client with SSRF protection for AI agents

https://github.com/Parassharmaa/agent-fetch
1•paraaz•17m ago•0 comments

Why there is no official statement from Substack about the data leak

https://techcrunch.com/2026/02/05/substack-confirms-data-breach-affecting-email-addresses-and-pho...
5•witnessme•21m ago•1 comments

Effects of Zepbound on Stool Quality

https://twitter.com/ScottHickle/status/2020150085296775300
2•aloukissas•24m ago•1 comments

Show HN: Seedance 2.0 – The Most Powerful AI Video Generator

https://seedance.ai/
2•bigbromaker•27m ago•0 comments

Ask HN: Do we need "metadata in source code" syntax that LLMs will never delete?

1•andrewstuart•33m ago•1 comments

Pentagon cutting ties w/ "woke" Harvard, ending military training & fellowships

https://www.cbsnews.com/news/pentagon-says-its-cutting-ties-with-woke-harvard-discontinuing-milit...
6•alephnerd•36m ago•2 comments

Can Quantum-Mechanical Description of Physical Reality Be Considered Complete? [pdf]

https://cds.cern.ch/record/405662/files/PhysRev.47.777.pdf
1•northlondoner•36m ago•1 comments

Kessler Syndrome Has Started [video]

https://www.tiktok.com/@cjtrowbridge/video/7602634355160206623
2•pbradv•39m ago•0 comments

Complex Heterodynes Explained

https://tomverbeure.github.io/2026/02/07/Complex-Heterodyne.html
4•hasheddan•39m ago•0 comments

EVs Are a Failed Experiment

https://spectator.org/evs-are-a-failed-experiment/
3•ArtemZ•51m ago•5 comments

MemAlign: Building Better LLM Judges from Human Feedback with Scalable Memory

https://www.databricks.com/blog/memalign-building-better-llm-judges-human-feedback-scalable-memory
1•superchink•52m ago•0 comments

CCC (Claude's C Compiler) on Compiler Explorer

https://godbolt.org/z/asjc13sa6
2•LiamPowell•54m ago•0 comments

Homeland Security Spying on Reddit Users

https://www.kenklippenstein.com/p/homeland-security-spies-on-reddit
14•duxup•56m ago•2 comments

Actors with Tokio (2021)

https://ryhl.io/blog/actors-with-tokio/
1•vinhnx•58m ago•0 comments

Can graph neural networks for biology realistically run on edge devices?

https://doi.org/10.21203/rs.3.rs-8645211/v1
1•swapinvidya•1h ago•1 comments

Deeper into the shareing of one air conditioner for 2 rooms

1•ozzysnaps•1h ago•0 comments

Weatherman introduces fruit-based authentication system to combat deep fakes

https://www.youtube.com/watch?v=5HVbZwJ9gPE
3•savrajsingh•1h ago•0 comments

Why Embedded Models Must Hallucinate: A Boundary Theory (RCC)

http://www.effacermonexistence.com/rcc-hn-1-1
1•formerOpenAI•1h ago•2 comments

A Curated List of ML System Design Case Studies

https://github.com/Engineer1999/A-Curated-List-of-ML-System-Design-Case-Studies
3•tejonutella•1h ago•0 comments

Pony Alpha: New free 200K context model for coding, reasoning and roleplay

https://ponyalpha.pro
1•qzcanoe•1h ago•1 comments

Show HN: Tunbot – Discord bot for temporary Cloudflare tunnels behind CGNAT

https://github.com/Goofygiraffe06/tunbot
2•g1raffe•1h ago•0 comments

Open Problems in Mechanistic Interpretability

https://arxiv.org/abs/2501.16496
2•vinhnx•1h ago•0 comments