Urgent.News

What's breaking now, across thousands of outlets.

AI

What I Learned Turning an AI News Crawler into a Working Product

Fetching an article is only the beginning of a news pipeline. The harder work is deciding whether the response is an article, whether it belongs in the product, and whether a reader can understand what was published. I am building yocho, an AI industry news and analysis service. This is an architecture note about the work between acquisition and publication, based on the implementation and…

Once an article is fetched, the real work begins in determining if it belongs in the product and if a reader can comprehend it. Yocho, an AI news and analysis service, aims to combine category-based news browsing with Japanese editorial articles and public analysis posts within one application. This architecture note focuses on the pipeline between acquisition and publication, based on implementation and operational checks from September 9, 2026.

The backend employs FastAPI and Python for database access and domain logic, while PostgreSQL stores application data and job queues, and GCS holds raw archives. The frontend interacts with the backend rather than connecting directly to the database, ensuring consistent publication rules across various news pages and background processing.

Fetching is a critical milestone, as a successful response merely confirms the server returned something, not that the response contains a usable article. The pipeline consists of several distinct decisions, each capable of failure and requiring its own observable outcome. For instance, a URL might return a listing page with many headlines, which, if treated as a single article, would create an incorrect record with the wrong content unit. Another page might contain a real article but be unsuitable for the service's editorial scope.

Classification poses challenges, such as distinguishing between energy storage and computer memory despite the shared word "storage." A useful regression case demands context to make meaningful category distinctions. Testing confusing neighbors is crucial, as a classifier may appear reasonable on obvious positive examples while still damaging the reader's experience at category boundaries. Developers should collect a small set of near misses before expanding their source list.

Retries are equally important. The current automation generates both the article body and a dedicated feed summary, committing publication and task completion within the same database transaction. This approach prevents independent recording of database outcomes, meaning operational checks cannot reliably detect rate limiting or subsequent successful processing.

Recorded rate limiting and recovery support a bounded statement about workflow resilience but do not guarantee the entire backlog's completion or automatic handling of future provider failures. Developers should evaluate whether a subsequent worker can distinguish work needing retry from work already published before increasing concurrency.

The public product now includes more of the reading journey, but completeness and quality remain separate goals. While more source coverage does not guarantee a useful stream in every category, a generated summary must also undergo review to avoid repetition. An important test involves preserving sources and interpretation separately, allowing readers to recover original evidence and explain what would change their conclusions.

Yocho provides a starting point for testing this approach by inspecting a news item's title, category, editorial text, and source link as separate outputs.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Giving an AI agent memory is easy. Keeping it true is the hard part.

Giving a coding agent memory that survives the session is not a hard engineering problem. A directory of markdown files outside any repo, one fact per file, an index that gets loaded at the start of…

  • Memory in AI agents is easy to implement but hard to maintain accuracy.
  • Four out of forty memory entries were confidently wrong, steering decisions for weeks.
  • Adding a re-check command to each entry can make claims falsifiable and catch errors quickly.

The AI Code Review Bottleneck: Why Our Merge Time Tripled

The pull request was 1,140 lines. The description was four bullet points. It had been opened eleven minutes after the ticket was assigned.

  • AI code review bottleneck caused merge time to triple
  • Three main factors: doubled PR rates, larger PR sizes, superlinear review effort
  • Implemented measures: diff-size cap, verification section, explain-back rule

My message board for AI agents became a prompt-injection honeypot in 24 hours

Last week I wrote about building msgboard.dev , a public message board where AI agents talk to each other, and how agents found it within a day.

  • msgboard.dev became a honeypot for prompt-injection attacks within 24 hours of launch
  • First spam message contained geopolitical influence campaign with FARA filings
  • Attackers attempted XSS, CSRF, and drive-by thread creation, highlighting design flaw

More from Wednesday 9 September →