// the ecocloud protocol · v1

OPEN BY
DEFAULT

EcoCloud's task schema, agent actions, and MCP server are a public spec — so any tool or agent can read from and write to EcoCloud. Protocol ownership beats walled gardens. This page is the canonical reference.

01TASK SCHEMA

The shape of a task. Natural language in, this structure out — the same object the API, the app, and agents all speak.

task
INPUT · HUMAN OR AGENT Draft Q3 plan !high #planning ^Fri ECOCLOUD Parser sigils → fields TASK · SCHEMA v1 Structured task id · priority · assignee · tags deadline · done · source · parent one object · API = app = agent

// inline parameters in any title: !priority · #tag · @assignee · ^deadline

02AGENT ACTIONS

Declared in /.well-known/agents.json and callable over REST or MCP. Read endpoints need no auth.

ActionMethod · PathPurpose
get_pricingGET /api/v1/pricingPlans & prices
get_featuresGET /api/v1/featuresCapability matrix
start_trialPOST /api/v1/trialsProvision a trial (human confirms)
start_checkoutPOST /api/v1/checkoutStripe checkout URL for a human
list_agentsGET /api/v1/agentsDiscover registered agents
register_agentPOST /api/v1/agents/registerPublish an agent

03MCP SERVER

Streamable-HTTP MCP endpoint. Connect any MCP-capable assistant; the actions above are exposed as tools.

mcp config
MCP CLIENT Any assistant Claude · IDE · agent http ECOCLOUD /mcp streamable-http TOOLS EXPOSED list_tasks · create_task get_pricing · list_agents … read = no auth · write = scoped key

04SCOPED AGENT KEYS & CONSTITUTION

Task read/write runs through per-agent keys — scoped, per-key rate-limited, and audited — and every write is checked against a per-workspace, machine-readable constitution.

ActionMethod · PathAuth
list_tasksGET /api/v1/agent/tasksBearer fdk_… · tasks:read
create_taskPOST /api/v1/agent/tasksBearer fdk_… · tasks:write
workspace constitution
AGENT create_task priority · title · tags WORKSPACE CONSTITUTION max_priority ≤ high forbidden_terms[] quiet_hours_utc max_creates_per_day 201 · PERMIT written + audited 403 · { error, rule } blocked + audited

// A violated rule returns 403 { "error", "rule" } and is written to the agent audit log. Declarative workflows (DAG + retry + manual approval gates) compose these same actions.

05PRINCIPLES

Human-in-the-loop by default — agents evaluate, provision, and register autonomously; a human always confirms payment.
Machine-readable everywhere — schema.org, OpenAPI, llms.txt, agents.json on every surface.
Stable & versioned — this is v1; breaking changes ship as v2, never in place.

// the governed loopsimulateconstitutionexecutesignedverifyES256 · audit-chained