• DIFF
  • PATH
  • LOGIC
  • HUMAN

How to debug agentic state changes with your agent

Connect this MCP to your agent to track how its internal data shifts after each action. You'll see exactly what changed in the state tree.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I see exactly how my agent's state changes?

Your agent uses deep recursive comparisons to find the delta between two JSON states. It maps out each modification to the memory or context after a tool runs, showing you the specific paths that changed. You get a clear view of the state evolution.

Where each change lands.

The outcomes of state debugging.

Your agent processes the state data to give you these specific views.

DIFF

Precise state deltas

Your agent compares the old and new JSON objects to isolate only the modified values. You get a clean list of what actually moved or changed.

PATH

Nested path mapping

Your agent identifies the exact location of changes within complex, deeply nested objects. This makes finding a single changed variable in a massive state easy.

LOGIC

Behavioral analysis

By looking at the diffs, your agent can explain why a specific tool execution caused a certain memory update. This helps you spot logic errors in your agent's reasoning.

HUMAN

Manual intervention

Your agent flags unexpected state jumps that don't match your instructions. You decide whether to roll back the state or adjust your agent's prompt.

The workflow

What your agent does when the state changes.

Your agent automates the tedious work of comparing large JSON blobs to find the needle in the haystack.

  1. Capture snapshots

    Your agent holds the state object from before and after a tool call to prepare for comparison.

    compare_json_states
  2. Isolate the delta

    Your agent runs a deep comparison between the two snapshots to find each added, removed, or modified key.

    compare_json_states
  3. Map the changes

    Your agent converts the differences into a readable format by identifying the specific dot-notation paths.

    flatten_diff_path
  4. Report the drift

    Your agent presents the final list of changes, highlighting where your agent's memory diverged from your intent.

    flatten_diff_path

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute JSON State Diff Generator tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to begin debugging immediately.

Starting points

Replace the bracketed text with your actual JSON objects or state variables.

JSON State Diff Generator Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_L6lDkKzxN23FQk9UypQ4x0Umoj4kBdGOoKDVwmEm/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, JSON State Diff Generator capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "json-state-diff-generator-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_L6lDkKzxN23FQk9UypQ4x0Umoj4kBdGOoKDVwmEm/mcp"
    }
  }
}
Copy into chat04
  • 01

    Compare these two JSON states and tell me what changed: [old_state] and [new_state]

  • 02

    Look at the state change after my last tool call and give me the flattened paths of all modified keys.

  • 03

    Analyze the diff between this user profile state and the updated version to see if the age field was correctly incremented.

  • 04

    Show me a list of all nested changes in this state object so I can see how your agent updated the session memory.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect json-state-diff-generator once, then ask.

One click connects this MCP to your client. Your credentials stay encrypted, and you can start debugging state changes right away.

Connect json-state-diff-generator to your agent

FAQ

How this task behaves.

  • 01

    Can your agent fix the state errors automatically?

    No. Your agent identifies and maps the changes, but you must manually instruct your agent or adjust your code to fix the state.

  • 02

    Does this tool work with non-JSON data?

    No. This MCP is specifically designed to compare and flatten JSON objects.

  • 03

    Can your agent delete parts of my state?

    No. Your agent only reads and compares the data you provide. It has no permission to modify or delete your actual state files.

  • 04

    How deep does the comparison go?

    The comparison is recursive, meaning it will dive into deeply nested objects to find changes at any level.

  • 05

    Will it show me the difference in values or only keys?

    It shows both. It identifies which keys changed and what the specific value difference is.

  • More questions about json-state-diff-generator? The Connector page answers them. See everything the json-state-diff-generator Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from JSON State Diff Generator to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    JSON State Diff Generator plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect JSON State Diff Generator to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.