News article
Included in the platform · also .usagent
news-article.usagent
SHA-256 · 400058584558…
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
- Download
news-article.usagent. - Open Settings → AI Router → Agents.
- Click "Import .usagent" and select the file.
- 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
Steps
-
planTurn the topic into 3 search queries that a news desk would use. Do not call tools.
-
searchCall web_search for each query. Keep title, url, and snippet. Drop duplicates and keep at most 8 of the most relevant URLs.
-
readCall fetch_url on those URLs, at most 8 calls, each with max_chars 8000. Use only http(s) URLs returned by web_search.
-
draftDraft the article from the fetched pages: headline, lead, and several sections. Attribute concrete facts. Do not add material the pages do not support.
-
editReturn 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