process_trace_update
Updates and monitors cognitive traces for AI agents by tracking actions, goals, and context, enabling metacognitive analysis with MCP Dual-Cycle Reasoner to detect reasoning loops and optimize decision-making.
Instructions
Process a cognitive trace update from the agent (main monitoring function)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
current_context | No | Current environment context or state, in low dash format. Example: adding_product_item | |
goal | Yes | Current goal being pursued | |
last_action | Yes | Latest action name to be added to the accumulated action history | |
window_size | No | Size of the monitoring window |