Activity
Mon
Wed
Fri
Sun
Dec
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
What is this?
Less
More
4 contributions to AI Product Academy
How I Fixed DeepSeek's Tool Call Failures in 30 Lines
"How I Fixed DeepSeek's Tool Call Failures in 30 Lines" Posted by: [Your name] The Problem Running Hermes with DeepSeek V4 Pro/Flash. Tool calls fail 50+ times in a row. Same error looped. Context window fills with garbage. Session dies. Sound familiar? It's not the model. It's the harness. What Actually Happens DeepSeek (and GLM, Qwen, etc.) makes the same 4 mistakes on tool calls: Table Mistake Example What Schema Wants null for optional {"file": null} omit the key entirely JSON string as array {"items": '["a","b"]'} {"items": ["a","b"]} Empty {} placeholder {"args": {}} {"args": []} Bare string for array {"name": "foo"} {"name": ["foo"]} Your validator (Zod, Pydantic) rejects it. Error goes back to model. Model sends same bad call again. 56 times average. Then it gives up or hallucinates. The Fix: Repair Harness Don't send the error back. Fix it deterministically, run it, and teach the model what it should have done. This is 4 small repair functions. ~30 lines each. Ordered carefully. Python # repairs/plugin.py — Drop this into your agent import json from dataclasses import dataclass from typing import Dict, Any, List, Optional @dataclass class RepairResult: changed: bool tool_call: Dict[str, Any] repair_id: str description: str before: Optional[str] after: Optional[str] class ToolRepairHarness: def __init__(self): self.repair_stats = {} def repair(self, tool_call: Dict[str, Any], schema: Dict[str, Any]): fixed = json.loads(json.dumps(tool_call)) # deep copy applied = [] # REPAIR 001: null → omit (optional fields) before = json.dumps(fixed.get("arguments", {})) args = dict(fixed.get("arguments", {})) required = schema.get("required", []) for key, value in list(args.items()): if value is None and key not in required: del args[key] if json.dumps(args) != before: fixed["arguments"] = args applied.append(RepairResult(True, fixed, "001", "Removed null for optional field", before, json.dumps(args)))
0 likes • Jul 19
Appreciate your post @Jonathan Knowles
AI Agents in an organization -- who's responsible for them?
There is a pattern showing up across organizations right now. Someone builds an AI agent, it works, people start using it, and then quietly, gradually, things go wrong. The research brief pulls from outdated sources. The support replies reference an old refund policy. The backlog items confuse the engineering team. Nobody can quite explain why, because nobody was really watching. The problem is not the agent. The problem is that nobody owned it. Most conversations about AI agents focus on building. How do you create one? Which tools do you use? How do you connect it to your data? These are reasonable questions, but they stop at the wrong moment. The moment an agent starts doing real work — reading files, drafting outputs, shaping decisions — a more important question takes over: Who is responsible for what this agent produces? Agents that do useful work do not stay in demo territory. They become part of how daily work gets done. And when that happens, unowned agents start causing real problems in ordinary, invisible ways. What Actually Counts as an Agent? There is a lot of confusion about the word "agent," and most of it is unnecessary. The brand name does not matter. The tool does not matter. What matters is the nature of the work being done. A one-off question to an AI assistant is not an agent interaction. You ask, it answers, you decide what to do next. That is a conversation. An agent is something different. An agent has a repeated job. It reads specific sources. It follows defined rules. It produces work that you or your team actually acts on. If a system can read important context, produce outputs that influence decisions, and touch workflows other people depend on — that is close enough to an agent that it needs to be treated like one. The practical test is simple: Is this system doing work, or just answering questions? If it is doing work, someone needs to own that work. The Four Things Every Agent Needs Once you have an agent doing real work, there are four things it needs to function well over time.
0 likes • Jul 19
Ahh.. but is the full context missing the most important part.. How do you measure success and ROI for the agent should be locked in before the agent is even built. This was something I was talking with a controller for a global company last month.. What I realized is when ever you are discussing (should that agent be built) the cost of what happens when the model is updated, depreciated, monthly monitoring.. all need to be considered.. The best way to think about it.. Agents need dev ops too! and to be safe.. who does this should always be in the project charter as a known cost and accountability discussion.
"I run 50+ Agents" ⁉️
People say they run gazillion agents. How is that even possible? Do they run "agents" or "crons"? In Hermes, would it mean having a ROLE.md file for each "agent" or is one Hermes setup a single agent capable of doing multiple crons? Your Watson is doing a lot of things, but it's ONE agent right?
0 likes • Jul 19
@Juvenal Silva You nailed it.. it sounds way cool to run a swarm.. but making sure they dont rewrite another agents code or all are working in the same areas is no fun to untangle. Be careful out there. Like others 3-5 at the same time is about all that can happen in my world. ( i guess you could go bigger if your in your code review / test runs though before finalizing for PR) and still be safe.. that would be where I have seen up to 8 running.
Hermes + Claude — subscription vs API question
Hey all — quick one. My Hermes suddenly started throwing HTTP 400: You're out of extra usage, even though my Claude Code CLI in the terminal kept working fine on the same subscription. Spent a while digging — checked the auth, redid the login, confirmed Hermes was on my subscription and not an API key. Still got the error. From what I could tell, it looks like third-party apps like Hermes no longer draw from the subscription plan and instead get billed to "extra usage" (pay-as-you-go) credits — is that what you're all seeing now too? For now, I turned auto-reload on for extra-usage credits, and it's working again. How's everyone else set up — extra-usage credits, an API key, or a different provider? Trying to land on something cost-predictable.
Hermes + Claude — subscription vs API question
1 like • Jul 19
That's my understanding too. I run Hermes a bit differently and don't use Claude for that reason.
1-4 of 4
Russell Shirley
1
4 points to level up
@russell-shirley-3422
Providing solutions for SMB to grow their revenue and efficiency

Active 46m ago
Joined Jun 18, 2026
South East USA
Powered by