{"slug": "show-hn-neuralbridge-self-healing-sdk-for-llm-powered-ai-agents", "title": "Show HN: NeuralBridge - Self-Healing SDK for LLM-Powered AI Agents", "summary": "NeuralBridge, an embedded SDK for LLM-powered AI agents, self-heals from API failures with an 84.1% auto-recovery rate. The open-source SDK recognizes over 280 fault patterns and employs 30+ recovery strategies, diagnosing issues in 19 microseconds. NeuralBridge is released under Apache 2.0, with pro features available for enterprise use.", "body_md": "After months of production experience running LLM calls at scale, we realized something uncomfortable: **every AI agent eventually crashes**. Not because the code is wrong, but because LLM APIs fail in ways you can't predict.\n\nTimeouts. Rate limits. Empty responses. Schema violations. Drift. These aren't edge cases — they're the norm.\n\nSo we built NeuralBridge: an embedded SDK that makes LLM calls self-healing.\n\nTry running 100,000 LLM calls through any single provider. You'll see:\n\nMost teams solve this by building their own retry logic, circuit breakers, and fallback chains. It works — until it doesn't. Because the next failure is always the one you didn't anticipate.\n\nInstead of a gateway (which adds latency and infrastructure), we embedded the reliability logic directly into the SDK:\n\n``` python\nfrom neuralbridge import SelfHealingEngine\n\nengine = SelfHealingEngine()\nresult = engine.call(\"Write a Python function for binary search\")\n\nif result.recovered:\n    print(f\"Fault: {result.diagnosis}\")\n    print(f\"Recovery: {result.recovery_action}\")\n```\n\nWhen a call fails, the engine:\n\n| Metric | Value |\n|---|---|\n| Auto-recovery rate | 84.1% of faults |\n| Fault patterns recognized | 280+ |\n| Recovery strategies | 30+ |\n| Learned rules (flywheel) | 88+ |\n| Diagnosis latency | 19us P50 |\n| Install size | 375 KB |\n\nWe went Apache 2.0 because reliability infrastructure should be a commodity. The SDK is free and open. Pro features (enterprise SSO, audit logs, priority support) fund continued development.\n\n```\npip install neuralbridge-sdk\npython\nimport neuralbridge as nb\n\nresult = nb.run(\"Explain quantum computing in one sentence\")\nprint(result.text)\npip install neuralbridge-sdk\n```\n\nWe'd love your feedback, issues, and contributions. What failure patterns have you seen in production that we should handle?", "url": "https://wpnews.pro/news/show-hn-neuralbridge-self-healing-sdk-for-llm-powered-ai-agents", "canonical_source": "https://dev.to/hhhfs9s7y9code/show-hn-neuralbridge-self-healing-sdk-for-llm-powered-ai-agents-309o", "published_at": "2026-06-13 09:21:26+00:00", "updated_at": "2026-06-13 09:47:47.806734+00:00", "lang": "en", "topics": ["large-language-models", "ai-agents", "developer-tools", "ai-infrastructure", "ai-products"], "entities": ["NeuralBridge", "Apache 2.0"], "alternates": {"html": "https://wpnews.pro/news/show-hn-neuralbridge-self-healing-sdk-for-llm-powered-ai-agents", "markdown": "https://wpnews.pro/news/show-hn-neuralbridge-self-healing-sdk-for-llm-powered-ai-agents.md", "text": "https://wpnews.pro/news/show-hn-neuralbridge-self-healing-sdk-for-llm-powered-ai-agents.txt", "jsonld": "https://wpnews.pro/news/show-hn-neuralbridge-self-healing-sdk-for-llm-powered-ai-agents.jsonld"}}