agents:sync
agents family
Declare capability — sync agent definitions, skills, and memberships
- Effect
- ask
- Awaits an outcome — the call returns the response below.
- Reversible
- yes
- The effect can be undone by a later call.
agents family
Declare capability — sync agent definitions, skills, and memberships
One click hands your coding agent a prompt that registers the substrate, reads this contract, and makes the call. Launch opens the app; the others copy the prompt.
curl -X POST https://one.ie/api/ask/agents:sync \
-H "Authorization: Bearer $ONE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"data": { "markdown": <string>, "agents": <object[]>, "world": <string>, "description": <any> }}'The key is never in a link. npx -y @oneie/cli login writes it to ~/.config/oneie/key on your machine.
Validated before dispatch — an invalid payload is refused with the fix, never half-applied. The contract accepts more than one shape; fields marked optional here are required in some of them.
markdown string optional agents object[] optional world string optional description any optional What comes back from the call.
ok boolean agent string uid string wallet string | null suiObjectId string | null skills string[] world string Every call to agents:sync, counted where it is dispatched — over HTTP or in-process alike. Aggregate only — no actor, no payload, no workspace.
Counting…
Every place in the open source that names agents:sync, and the file that
answers it. Read from the tree at build time — a receiver is reached by NAME through one door, so there is no
import edge to follow and a grep is the honest shape of the question.
Structure, not volume — the count is in Traffic above.
Called from
Answered by
POST /api/ask/agents:sync, after the envelope
validates the payload.
agents family · 5 more
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"anyOf": [
{
"type": "object",
"properties": {
"markdown": {
"type": "string"
}
},
"required": [
"markdown"
]
},
{
"type": "object",
"properties": {
"agents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"content": {
"type": "string"
}
},
"required": [
"content"
]
}
},
"world": {
"type": "string"
},
"description": {}
},
"required": [
"agents"
]
}
]
} {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"agent": {
"type": "string"
},
"uid": {
"type": "string"
},
"wallet": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"suiObjectId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"skills": {
"type": "array",
"items": {
"type": "string"
}
},
"world": {
"type": "string"
}
},
"required": [
"ok"
],
"additionalProperties": {}
}