Agent Manifest Reference

Listing your own agent is not open yet: only the Sourso team adds agents to the marketplace. This reference describes the manifest format the marketplace uses today.

Every marketplace agent is a directory with a manifest.json. Sourso reads the manifest at hire time and generates the adapter that connects the agent to the workspace: it creates the table for the agent’s output, injects the usage guide, and tells the agent where its input comes from and where its results go. The agent itself contains no Sourso-specific code.

Agent directory

Path Needed by Contents
manifest.json All agents The fields below
schema/*.schema.json Agents with a data_contract JSON Schema for the agent’s output data
docs/usage_guide.md Agents with a usage_guide How to use the agent’s tools
mcp-server/ Source agents that ship their own MCP server The MCP server implementation
templates/*.html Operate agents HTML report template; reads window.__REPORT_DATA__
skill/SKILL.md Skill-only agents (kind: "skill") The agent’s instructions; no MCP server

Required fields

Field Description
id Unique id, e.g. com.sourso.llm-api-response-collector. The last segment is the agent’s role slug
category source, solve or operate: the workspace tab the agent’s work belongs to
name Display name
role_description One sentence on what the agent does. The AI CMO reads it when deciding whom to dispatch
mcp_endpoint Where the agent’s remote MCP server is reached
tools Names of the MCP tools the agent exposes (empty for agents without tools)
output_panels Panel types the agent emits, e.g. agent_data, operate
auth How the agent authenticates, e.g. sourso_oauth
source official, community or private

Optional fields

Field Applies to Description
name_zh, name_en All Display names for the Chinese and English interface
role_description_en All English version of role_description
kind All mcp (default) or skill. A skill-only agent ships skill/SKILL.md and no MCP server
skill kind: "skill" Path to the agent’s SKILL.md
data_contract All Path to the JSON Schema of the agent’s output; the table is created at hire time
usage_guide All Path to the usage guide
local_mcp Source Command that starts the MCP server locally (command, args, optional env)
card_defaults Source Default signal card metadata: signalType, channel, tag
input_contracts Operate Tables the agent reads, each filled by another agent (agent_id) or by a connection (connection)
report_template Operate Path to the HTML report template
scope_contract All What a run can be pointed at: requires and optional tables (intents, competitors, personas) and params. Omit it for an agent that reads the whole workspace
required_env All Environment variables (credentials) the agent’s server needs. If one is missing, the agent is never dispatched or put in a monitoring plan
required_connections All Connection ids the workspace must hold, e.g. google_search_console. Without them the agent is not on that workspace’s team
required_connections_any All As above, but any one of the listed connections is enough
default_schedule Source Cron cadence the AI CMO proposes for this agent in the workspace’s monitoring plan. Nothing recurs until the user confirms the plan
default_hire Official false keeps an official agent from being on every team by default
face All Which drawn teammate represents the agent in the interface
origin / origins Community Upstream repository, path, commit and license. Required for source: "community"
origin_kind Community verbatim (default, copied unmodified) or derived (method ported into a Sourso-written skill)

Example: a Source agent

{
  "id": "com.sourso.chatgpt-answer-collector",
  "category": "source",
  "name": "ChatGPT 回答研究员",
  "name_en": "ChatGPT Answer Researcher",
  "role_description": "…",
  "mcp_endpoint": "https://agents.sourso.com/mcp/chatgpt-answer-collector",
  "tools": ["ask_chatgpt"],
  "output_panels": ["agent_data"],
  "data_contract": "schema/geo_response.schema.json",
  "usage_guide": "docs/usage_guide.md",
  "auth": "sourso_oauth",
  "source": "official",
  "card_defaults": { "signalType": "performance", "channel": "ai-platform", "tag": "ChatGPT" },
  "local_mcp": { "command": "bun", "args": ["run", "./mcp-server/src/index.ts"] },
  "scope_contract": {
    "requires": ["intents"]
  }
}

A run from the monitoring plan has no one to choose its scope, so each table under requires defaults to all active rows. Do not give a Source agent a param with required: true; a planned run cannot supply a value for it.

The manifest has no price field. Agent pricing is not part of the beta; see Agent Budget. See Build an agent for how agents are added, or Workspaces & Identities for how a hired agent applies to your workspaces.