mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-11-29 15:51:52 +00:00
Publish OpenPersona Markdown specification
This commit is contained in:
parent
4daee10537
commit
9d7686ed7b
9 changed files with 203 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ vi.mock("../src/lib/supabase", () => ({ publicClient: () => { throw new Error("o
|
|||
|
||||
describe.each([
|
||||
{ slug: "openagent", name: "OpenAgent", family: "people" },
|
||||
{ slug: "openpersona", name: "OpenPersona.md", family: "people" },
|
||||
{ slug: "openskill", name: "OpenSkill", family: "people" },
|
||||
{ slug: "openabtest", name: "OpenABTest", family: "process" },
|
||||
{ slug: "openfleet", name: "OpenFleet", family: "process" },
|
||||
|
|
|
|||
23
apps/logicsrc-web/public/examples/openpersona.md
Normal file
23
apps/logicsrc-web/public/examples/openpersona.md
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# Research agent
|
||||
|
||||
- **OpenAgent**: https://example.com/agents/research.json
|
||||
- **DID**: research.coinpay
|
||||
- **Disclosure**: AI agent operated by Example Research
|
||||
|
||||
I find primary sources and prepare cited research briefs. I am concise, careful
|
||||
about uncertainty and clear about which facts I verified.
|
||||
|
||||
## Voice
|
||||
|
||||
- **Description**: Clear, steady English with a measured pace.
|
||||
- **Provider**: Example TTS service
|
||||
- **Voice ID**: example-voice-id
|
||||
|
||||
## Conversation
|
||||
|
||||
- **Style**: Direct, calm and specific.
|
||||
- **Turn-taking**: Answer direct questions; wait while another person is speaking.
|
||||
|
||||
## Boundaries
|
||||
|
||||
- **Limits**: Do not present an unverified claim as fact.
|
||||
|
|
@ -12,6 +12,7 @@ export const metadata: Metadata = specMetadata(
|
|||
|
||||
const LINKS = [
|
||||
["OpenProfile.md", "/openprofile", "The identity, accounts and topics people read. Link the JSON descriptor from the same profile page."],
|
||||
["OpenPersona.md", "/openpersona", "The agent's public role, spoken voice and conversational style, linked from its profile page."],
|
||||
["OpenFleet", "/openfleet", "The running sessions and their human sysop. A launcher maps one agent profile to many fleet members."],
|
||||
["OpenRental", "/docs/openrental", "Agent listings and explicit rental offers. An openagent member points at this profile and matches its did."],
|
||||
["OpenAccess", "/openaccess", "The delegated grant. Requested permissions in a profile do not grant access."],
|
||||
|
|
@ -29,6 +30,7 @@ export default function OpenAgentPage() {
|
|||
</div>
|
||||
<p>A directory, a job board and a launcher can read the same JSON profile. The agent keeps its identity when its hosting or engine changes, and each running session can be tracked separately through OpenFleet.</p>
|
||||
<p>The format is the existing <code style={mono}>logicsrc.agent</code> contract. Its schema and offline validator already ship in LogicSRC; this publication adds discovery conventions and explains how the profile fits the other specifications.</p>
|
||||
<p>Describe an agent's public persona in a separate <Link href="/openpersona">OpenPersona.md</Link> file. The OpenAgent schema stays unchanged; link the companion from the same profile page and bind it back to this JSON descriptor.</p>
|
||||
<p><Link className="button-primary" href="/docs/openagent">Read the specification</Link>{" "}<a href="/examples/openagent.json">Download the example</a></p>
|
||||
</section>
|
||||
|
||||
|
|
|
|||
82
apps/logicsrc-web/src/app/openpersona/page.tsx
Normal file
82
apps/logicsrc-web/src/app/openpersona/page.tsx
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
import Link from "next/link";
|
||||
import type { Metadata } from "next";
|
||||
import { specMetadata } from "@/lib/page-meta";
|
||||
import { SiteShell } from "@/components/site-shell";
|
||||
import { mono, pre, table, td } from "../openontology/ui";
|
||||
|
||||
export const metadata: Metadata = specMetadata(
|
||||
"/openpersona",
|
||||
"OpenPersona.md is a public Markdown companion to OpenAgent for an agent's role, spoken voice and conversational style. It points back to one OpenAgent descriptor and does not contain permissions or executable prompts."
|
||||
);
|
||||
|
||||
const EXAMPLE = `# RiotCoder
|
||||
|
||||
- **OpenAgent**: https://profullstack.com/agents/riotcoder.json
|
||||
- **DID**: riotcoder.profullstack
|
||||
- **Disclosure**: AI agent operated by Profullstack, Inc.
|
||||
|
||||
I build and ship software for the Profullstack fleet. I am direct, practical and
|
||||
clear about what I know and what I have verified.
|
||||
|
||||
## Voice
|
||||
|
||||
- **Description**: Natural US English, concise and even-paced.
|
||||
- **Provider**: ElevenLabs
|
||||
- **Voice ID**: iP95p4xoKVk53GoZ742B
|
||||
|
||||
## Conversation
|
||||
|
||||
- **Style**: Direct, specific and conversational.
|
||||
- **Turn-taking**: Answer when addressed; wait while another person is speaking.
|
||||
|
||||
## Boundaries
|
||||
|
||||
- **Limits**: Never claim work shipped or checked unless it happened.`;
|
||||
|
||||
const PIECES = [
|
||||
["OpenAgent", "/openagent", "Identity, owner, skills and requested permissions. The persona points back to this JSON descriptor."],
|
||||
["OpenProfile.md", "/openprofile", "Human-readable identity, accounts and topics. Link OpenPersona from the agent's profile page."],
|
||||
["OpenFleet", "/openfleet", "A running session and the human sysop responsible for it."],
|
||||
["OpenCreds", "/opencreds", "Credentials stay in a vault; OpenPersona publishes no secrets."],
|
||||
];
|
||||
|
||||
export default function OpenPersonaPage() {
|
||||
return (
|
||||
<SiteShell active="OpenPersona.md">
|
||||
<section className="band">
|
||||
<div className="section-head">
|
||||
<p className="eyebrow">People and agents · specification 0.1</p>
|
||||
<h2>OpenPersona.md</h2>
|
||||
<p>One Markdown file for an agent's public role, spoken voice and conversational style.</p>
|
||||
</div>
|
||||
<p>OpenPersona.md accompanies <Link href="/openagent">OpenAgent</Link>. It describes how an agent presents itself to people; OpenAgent keeps the agent's identity, owner, skills and requested permissions.</p>
|
||||
<p>The persona names the exact OpenAgent descriptor it describes. A profile page links both files. OpenPersona is descriptive public content, not an executable system prompt, tool list or permission grant.</p>
|
||||
<p><Link className="button-primary" href="/docs/openpersona">Read the specification</Link>{" "}<a href="/examples/openpersona.md">Download the Markdown example</a></p>
|
||||
</section>
|
||||
|
||||
<section className="band">
|
||||
<div className="section-head">
|
||||
<h2>The file</h2>
|
||||
<p>The OpenAgent field binds this persona to one JSON descriptor. Voice provider details are optional descriptive metadata.</p>
|
||||
</div>
|
||||
<pre style={pre}>{EXAMPLE}</pre>
|
||||
</section>
|
||||
|
||||
<section className="band">
|
||||
<div className="section-head"><h2>Publish and link</h2></div>
|
||||
<p>Serve one agent's file at <code style={mono}>/.well-known/openpersona.md</code>, or serve it beside the agent page on a multi-agent host. The profile page links it with:</p>
|
||||
<pre style={pre}>{'<link rel="openpersona" type="text/markdown" href="https://example.com/agents/research/openpersona.md">'}</pre>
|
||||
<p>Keep OpenAgent's existing JSON schema unchanged. Its own profile page advertises both descriptors, and the persona points back to the OpenAgent URL.</p>
|
||||
</section>
|
||||
|
||||
<section className="band">
|
||||
<div className="section-head"><h2>How the pieces fit</h2></div>
|
||||
<table style={table}>
|
||||
<tbody>{PIECES.map(([name, href, description]) => (
|
||||
<tr key={name}><td style={td}><Link href={href}>{name}</Link></td><td style={td}>{description}</td></tr>
|
||||
))}</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</SiteShell>
|
||||
);
|
||||
}
|
||||
|
|
@ -274,6 +274,10 @@ export default function OpenProfilePage(): ReactNode {
|
|||
<Link href="/docs/openresume">OpenResume.md</Link>, what you have done, in the same
|
||||
spirit; a profile links to a resume and a resume to a profile
|
||||
</li>
|
||||
<li>
|
||||
<Link href="/openpersona">OpenPersona.md</Link>, an optional companion for an agent's
|
||||
role, spoken voice and conversational style
|
||||
</li>
|
||||
<li>
|
||||
<Link href="/docs/openjob">OpenJob</Link>, what the work is
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ export const FAMILIES: Family[] = [
|
|||
s("openprofile", "OpenProfile.md", "One Markdown file for who you are and where you are, people and agents alike", { status: "0.2" }),
|
||||
s("openskill", "OpenSkill", "Portable descriptions of human skills, knowledge and occupations, linked from OpenProfile", { status: "draft" }),
|
||||
s("openagent", "OpenAgent", "A portable agent profile: identity, owner, skills and requested permissions", { status: "0.1" }),
|
||||
s("openpersona", "OpenPersona.md", "One Markdown file for an agent's public persona, spoken voice and conversational style", { status: "0.1" }),
|
||||
s("openwall", "OpenWall", "Consent-based broadcasts and direct messages across contact networks, with an AT Protocol mapping", { landing: undefined, status: "draft" }),
|
||||
s("openresume", "OpenResume.md", "What you have done, in the same spirit, linked from the profile", { landing: undefined }),
|
||||
s("openjob", "OpenJob", "What the work is, so a candidate's agent and a job board agree", { landing: undefined }),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue