← Agents catalog

News article

v1.0.0 knowledge native in the platform 1.1 KB

Included in the platform · also .usagent

news-article.usagent

SHA-256 · 400058584558…

Download .usagent

What the agent does

The agent composes three search queries, reads up to eight pages and writes an article: a headline, a lead and several sections. Specific facts are tied to the pages it has read. The last pass removes repetitions and phrases that were not in the sources.

If there are few pages, the article is shorter, and the missing angles go to gaps. A short report on a topic is made by web-research. The package is part of the UniShift installation.

How to install

  1. Download news-article.usagent.
  2. Open Settings → AI Router → Agents.
  3. Click "Import .usagent" and select the file.
  4. An unsigned package goes to quarantine. An administrator checks it and publishes it.

Running requires an online runner-agent with a capability from the list below. Without a runner the agent is unavailable.

Runner requirements

  • agent.run.v1

Tools

web_search fetch_url

Steps

  1. plan

    Turn the topic into 3 search queries that a news desk would use. Do not call tools.

  2. search

    Call web_search for each query. Keep title, url, and snippet. Drop duplicates and keep at most 8 of the most relevant URLs.

  3. read

    Call fetch_url on those URLs, at most 8 calls, each with max_chars 8000. Use only http(s) URLs returned by web_search.

  4. draft

    Draft the article from the fetched pages: headline, lead, and several sections. Attribute concrete facts. Do not add material the pages do not support.

  5. edit

    Return the final JSON only. Cut repetition and any sentence that is not supported by a fetched page. sources lists the tool URLs used. gaps lists angles the pages did not cover.

API: GET /api/agents/news-article · GET /api/agents/news-article/download