
Product
Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.
@agent-format/renderer
Advanced tools
React renderer for the agent file format (.agent).
Status: Draft v0.1 — API will change until v1.0.
npm install @agent-format/renderer
Requires React 18+.
import { AgentRenderer, type AgentFile } from '@agent-format/renderer'
import '@agent-format/renderer/styles.css'
export default function Page({ data }: { data: AgentFile }) {
return <AgentRenderer data={data} />
}
// Loading the file (browser):
// const res = await fetch('/my-project.agent')
// const data = await res.json() as AgentFile
The renderer supports 13 built-in section types, plus the deprecated inheritance-diagram alias and x-<vendor>:<name> extension sections:
| Type | Use for |
|---|---|
kanban | Status-column board with cards, labels, WIP limits |
checklist | Grouped todo items with progress counts |
notes | Ordered plain-text blocks (newlines preserved) |
timeline | Items + milestones with dates |
table | Rows with typed columns (text / number / date / select / status) |
log | Risks, decisions, issues with badges |
metrics | KPI cards with value / unit / trend |
diagram | Nested tree (mind map / hierarchy) |
report | Repeating plain-text reports (newlines preserved) |
form | Input fields + submission count |
links | URL list grouped by category |
references | File references with memos |
family-graph | Genealogy / inheritance diagrams, including plugin variants |
inheritance-diagram | Deprecated alias for family-graph |
x-<vendor>:<name> | Extension sections rendered by plugins or fallback UI |
Unknown section types render as a fallback showing the raw JSON, per the spec's conformance rule that readers MUST NOT error on unknown section types.
Import @agent-format/renderer/styles.css. CSS variables (prefixed --af-*) can be overridden at the root level for theming. Dark mode is handled via prefers-color-scheme.
npm install
npm run build # produces dist/
npm run dev # watch mode
MIT.
FAQs
React renderer for the agent file format (.agent).
The npm package @agent-format/renderer receives a total of 29 weekly downloads. As such, @agent-format/renderer popularity was classified as not popular.
We found that @agent-format/renderer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.

Research
/Security News
A new npm package tests AI malware scanners with prompt injection, safety-triggering comments, context flooding, and obfuscated JavaScript.