mka1 agents create --body '{
"name": "account-support-agent",
"description": "Answers support questions with durable account context.",
"model": "auto",
"instructions": "Use the mounted Acme support memory for durable account context. Read files under /mnt/memory/acme_support before answering account-specific questions. When you learn a durable Acme fact, write or update the relevant markdown file under /mnt/memory/acme_support. Do not invent account facts that are not present in memory.",
"tools": [
{
"type": "shell",
"environment": {
"type": "container_auto",
"memory_stores": [
{
"store_id": "mem_store_123",
"label": "acme_support",
"access": "read_write",
"description": "Durable support notes for Acme Corp.",
"instructions": "Use these files as account context. Prefer specific files under accounts/acme/. Write durable account learnings back as concise markdown."
}
]
}
}
],
"tool_choice": "auto",
"metadata": {
"memory_store_id": "mem_store_123",
"account_id": "acct_acme"
}
}' \
-H 'X-On-Behalf-Of: <end-user-id>'