🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

@agent-format/renderer

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agent-format/renderer

React renderer for the agent file format (.agent).

Source
npmnpm
Version
0.1.4
Version published
Weekly downloads
32
-17.95%
Maintainers
1
Weekly downloads
 
Created
Source

@agent-format/renderer

React renderer for the agent file format (.agent).

Status: Draft v0.1 — API will change until v1.0.

Install

npm install @agent-format/renderer

Requires React 18+.

Usage

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

Section support (v0.1)

All 12 v0.1 section types are implemented:

TypeUse for
kanbanStatus-column board with cards, labels, WIP limits
checklistGrouped todo items with progress counts
notesOrdered markdown blocks
timelineItems + milestones with dates
tableRows with typed columns (text / number / date / select / status)
logRisks, decisions, issues with badges
metricsKPI cards with value / unit / trend
diagramNested tree (mind map / hierarchy)
reportRepeating markdown reports
formInput fields + submission count
linksURL list grouped by category
referencesFile references with memos

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.

Styling

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.

Development

npm install
npm run build      # produces dist/
npm run dev        # watch mode

License

MIT.

Keywords

agent

FAQs

Package last updated on 18 Apr 2026

Did you know?

Socket

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.

Install

Related posts