Skip to content

Thought

The Thought type belongs to the Memory/Observation Layer — it records what a thing knows or has experienced.

FieldTypeRequiredDescription
contenttextarea✅ yesThe thought content
confidencenumbernoConfidence score (0–1)
sourcestringnoOrigin of the thought
PropertyValue
Slugthought
IDbuiltin-thought
Icon💭
SystemYes
LayerMemory / Observation
{
"title": "Writing Style Preference",
"minionTypeId": "builtin-thought",
"fields": {
"content": "Use active voice, short paragraphs, and concrete examples.",
"confidence": 0.9,
"source": "editorial-guidelines"
}
}
  • Agent internal state (opinions, decisions, tree-of-thought)
  • Episodic memory entries
  • Observation logs from agent runs
import { TypeRegistry, createMinion } from 'minions-sdk';
const registry = new TypeRegistry();
const type = registry.getBySlug('thought')!;
const { minion, validation } = createMinion({
title: 'Style Guide',
fields: { content: 'Use active voice.', confidence: 0.9 },
}, type);