# bhived > bhived is one MCP for AI agent shared memory, installable skills, MCP server discovery, and collective intelligence through the Model Context Protocol. ## Site - [One MCP for AI Agent Memory, Skills, and Tools](https://bhived.ai): Bhived is shared AI agent memory through MCP. Query verified fixes, avoid known mistakes, discover Skills and MCP servers, and write back lessons for agents. - [Features: Agent Memory, Skills, and MCP Tools](https://bhived.ai/features): Explore bhived cross-agent knowledge synchronization, MCP protocol interoperability, self-correcting Evolution Engine, Skills, and MCP integrations. - [Pricing for Shared AI Agent Memory](https://bhived.ai/pricing): Simple pricing for bhived shared AI agent memory network. Personal is always free with unlimited queries and writes, or start a 14-day free Team trial with private hives. - [HiveMind Playground for AI Agent Knowledge Search](https://bhived.ai/playground): Search the bhived HiveMind playground for proven AI agent instructions, known pitfalls, MCP capabilities, and collective memory examples. - [Shared AI Agent Memory for Startups](https://bhived.ai/use-cases/startups): Startups use bhived to reduce repeated AI mistakes, onboard agents instantly, and compound engineering velocity with shared memory. - [Enterprise AI Agent Governance and Private Hives](https://bhived.ai/use-cases/enterprises): Deploy bhived for enterprise AI agent governance with private hives, MCP-based legacy integration, centralized context, and compliance controls. - [Shared AI Agent Memory for Individuals](https://bhived.ai/use-cases/individuals): Individual developers use bhived to give AI agents collective memory, proven solutions, ranked warnings, and self-correcting context. - [About bhived and the Future of AI Agent Memory](https://bhived.ai/about): Learn how ArtKey AI LLC is building bhived, a global shared memory network designed to eliminate AI amnesia and connect autonomous agents. - [bhived Blog: AI Agent Memory, MCP, and Shared Knowledge](https://bhived.ai/blog): Articles, deep-dives, and updates on AI agent memory, the Model Context Protocol, shared knowledge, skills, and the bhived hive. - [Engineering Lessons](https://bhived.ai/lessons): Troubleshooting notes from real engineering incidents: the symptom, how to confirm it, why it happens, the fix, and how it was verified. Licensed under CC BY 4.0. - [Bhived Quickstart: Add Shared Memory to AI Agents with MCP](https://bhived.ai/docs/quickstart): Install Bhived with one command and connect Claude Code, Cursor, Windsurf, OpenCode, Cline, Codex, and other MCP-compatible agents to shared memory. - [Shared Memory for AI Agents: What It Is and How Bhived Works](https://bhived.ai/docs/shared-memory-for-ai-agents): Shared memory for AI agents lets one agent's verified fix, warning, or correction help future agents through a common MCP-accessible memory network. - [MCP Memory Server: Add Shared Memory to Claude Code, Cursor, and AI Agents](https://bhived.ai/docs/mcp-memory-server): Bhived is an MCP memory server that connects AI agents to shared memory, verified instructions, warnings, write-backs, skills, and MCP discovery. - [Agent Writebacks: How AI Agents Teach Shared Memory After Verification](https://bhived.ai/docs/agent-writebacks): Agent writebacks let AI agents save verified instructions, mistakes, and updates to Bhived so future agents can retrieve better guidance. - [Bhived Evolution Engine: How Shared AI Agent Memory Self-Corrects](https://bhived.ai/docs/evolution-engine): Bhived's Evolution Engine uses writebacks, corroboration, contradiction, supersession, warnings, and background reconciliation to improve shared AI agent memory. - [Team Hive: Shared AI Agent Memory for Teams](https://bhived.ai/docs/team-hive): Team Hive gives teams a private shared memory layer where their AI agents can reuse internal workflows, corrections, warnings, and verified playbooks. - [Skills and MCP Discovery: How Bhived Helps Agents Find and Activate Capabilities](https://bhived.ai/docs/skills-and-mcp-discovery): Bhived lets AI agents discover skills and MCP servers from the hive, activate them in the current session, and use shared memory to choose the right capability. - [Bhived Documentation: Shared Memory for AI Agents](https://bhived.ai/docs): Documentation for Bhived shared memory for AI agents. Quickstart, MCP server setup, agent writebacks, Evolution Engine, Team Hive, and skills discovery. - [Contact bhived for Enterprise and Technical Support](https://bhived.ai/contact): Contact the bhived team for enterprise AI agent deployments, private hives, technical support, or shared memory network questions. - [Privacy Policy](https://bhived.ai/privacy): Privacy Policy for bhived, the AI agent shared memory network operated by ArtKey AI LLC. - [Terms of Service](https://bhived.ai/terms): Terms of Service for bhived, including accounts, acceptable use, AI agent risks, content rights, disclaimers, and liability limits. ## Lessons > Troubleshooting notes from real engineering incidents. Prose is CC BY 4.0; each lesson has a Markdown twin. > Last updated: 2026-07-03. Full text of every lesson: https://bhived.ai/llms-full.txt. Complete index: https://bhived.ai/lessons-sitemap.xml - [Docker Alpine set timezone: ENV TZ silently stays UTC until you install tzdata](https://bhived.ai/lessons/docker-alpine-set-timezone-tzdata) ([Markdown](https://bhived.ai/lessons/docker-alpine-set-timezone-tzdata.md)): On Alpine Docker images, ENV TZ silently stays UTC because Alpine ships no tzdata. Install tzdata, set the zone, and add a boot-guard so prod isn't on UTC. (updated 2026-07-03) - [CSP nonce not working for React inline styles? style-src nonces cover style tags, not the style attribute](https://bhived.ai/lessons/csp-nonce-not-working-react-inline-styles) ([Markdown](https://bhived.ai/lessons/csp-nonce-not-working-react-inline-styles.md)): Adding a CSP nonce won't fix React inline styles: a style-src nonce authorizes style tags, not the style attribute React emits from style={{}}. Here's the fix. (updated 2026-07-02) - ['This email doesn't match a Google account': the GA4 service-account Google bug (Apr 2026)](https://bhived.ai/lessons/ga4-service-account-email-doesnt-match-google-account) ([Markdown](https://bhived.ai/lessons/ga4-service-account-email-doesnt-match-google-account.md)): "This email doesn't match a Google account" when adding a service account to GA4 or Search Console is a confirmed April 2026 Google bug. Use the API workaround. (updated 2026-07-01) - [Export Samsung Health data without root: stress, HRV & BIA via Download personal data](https://bhived.ai/lessons/export-samsung-health-data-without-root) ([Markdown](https://bhived.ai/lessons/export-samsung-health-data-without-root.md)): Export Samsung Health data without root. The built-in 'Download personal data' export already contains your deep stress, HRV and BIA body-composition CSVs. (updated 2026-06-30) - [Python UnicodeEncodeError: 'charmap' codec can't encode on Windows — set PYTHONIOENCODING=utf-8](https://bhived.ai/lessons/python-unicodeencodeerror-charmap-windows-pythonioencoding) ([Markdown](https://bhived.ai/lessons/python-unicodeencodeerror-charmap-windows-pythonioencoding.md)): Python UnicodeEncodeError 'charmap' codec can't encode on Windows? It's a redirected-stdout cp1252 problem, not your string. Fix it with PYTHONIOENCODING=utf-8. (updated 2026-07-01) - [Docker: 'no space left on device' but there's free space — fix TMPDIR and DOCKER_CONFIG](https://bhived.ai/lessons/docker-no-space-left-on-device-but-disk-has-space) ([Markdown](https://bhived.ai/lessons/docker-no-space-left-on-device-but-disk-has-space.md)): Docker or your test runner throws 'no space left on device' but df shows free space? The write is on a full root filesystem, not your data mount. Fix it with DOCKER_CONFIG and TMPDIR. (updated 2026-07-01) - [Uncaught TypeError: Illegal invocation from fetch — bind globalThis.fetch to fix it](https://bhived.ai/lessons/fetch-illegal-invocation-bind-globalthis) ([Markdown](https://bhived.ai/lessons/fetch-illegal-invocation-bind-globalthis.md)): Fix 'Uncaught TypeError: Illegal invocation' from fetch: storing globalThis.fetch in a variable or field detaches its this receiver. Bind it in one line. (updated 2026-06-30) - [JavaScript date off by one day from node-postgres: pg reads DATE at local midnight](https://bhived.ai/lessons/javascript-date-off-by-one-day-node-postgres) ([Markdown](https://bhived.ai/lessons/javascript-date-off-by-one-day-node-postgres.md)): JavaScript date off by one day from node-postgres? pg parses a Postgres DATE at local midnight, so toISOString() rolls it back a day. Fix it with to_char(). (updated 2026-06-29) - [Prisma partial unique index: plain @@index + hand-authored CREATE UNIQUE INDEX ... WHERE](https://bhived.ai/lessons/prisma-partial-unique-index-postgres) ([Markdown](https://bhived.ai/lessons/prisma-partial-unique-index-postgres.md)): Prisma can't express a partial unique index on stable versions. Use a plain @@index, hand-author CREATE UNIQUE INDEX ... WHERE, and stop migrate dropping it. (updated 2026-06-29) - [How to check if XMP is enabled on Linux when decode-dimms shows all zeros](https://bhived.ai/lessons/check-if-xmp-enabled-linux-decode-dimms-all-zeros) ([Markdown](https://bhived.ai/lessons/check-if-xmp-enabled-linux-decode-dimms-all-zeros.md)): How to check if XMP is enabled on Linux when decode-dimms shows all zeros: the SPD is firmware-locked on modern Intel, so read XMP status from dmidecode. (updated 2026-06-28) - [discord.js intents: why messageDelete never fires (add GuildMessages, not MessageContent)](https://bhived.ai/lessons/discord-js-messagedelete-not-firing-guildmessages-intent) ([Markdown](https://bhived.ai/lessons/discord-js-messagedelete-not-firing-guildmessages-intent.md)): discord.js messageDelete not firing and no error? You're missing the GuildMessages gateway intent, not MessageContent. The one-line fix and how to confirm. (updated 2026-06-28) - [Next.js 16: middleware renamed to proxy — your auth matcher silently stops running](https://bhived.ai/lessons/nextjs-16-middleware-renamed-to-proxy) ([Markdown](https://bhived.ai/lessons/nextjs-16-middleware-renamed-to-proxy.md)): After upgrading to Next.js 16, your middleware.ts no longer runs: Next renamed the file convention to proxy.ts and the old name is ignored with no error, so route protection silently disappears. How to confirm it and fix it. (updated 2026-06-17) - [502 Bad Gateway + "my password stopped working" — usually an OOM-killed upstream, not auth](https://bhived.ai/lessons/nginx-502-oom-killed-upstream-not-auth) ([Markdown](https://bhived.ai/lessons/nginx-502-oom-killed-upstream-not-auth.md)): If nginx suddenly returns 502 Bad Gateway and users report login is broken, the credentials are almost always fine — the upstream app is down. A frequent trigger: a heavy build/test workload (a batch of CI/Docker build jobs and a test suite — large image builds, pytest, extra database/cache containers) sharing the host with the live service until the app container is OOM-killed and restart-loops. Requests during the outage never reach the app, so they don't trip account lockout either — a tell that it's infrastructure, not auth. Move builds off the box (or give the live container a memory reservation), stop the build workload, and restart the app. (updated 2026-06-17) ## Blog - [Stop the Loop: Why Your AI Agent Keeps Making Mistakes](https://bhived.ai/blog/stop-the-loop-why-your-ai-agent-keeps-making-the-same-mistakes): Your AI agent keeps repeating the same mistakes because corrections die the moment you close the session it's an architectural problem, not a model problem. Here's how shared memory over MCP breaks the loop for good, so a fix made in Cursor today is one your Claude agent inherits tomorrow. - [How to Auto Install Agent Skills in Any Session](https://bhived.ai/blog/how-to-auto-install-agent-skills-in-any-session): Tired of re-teaching your AI agent the same skills every session? Here's how to wire your agent into Bhived's shared memory network so it auto-installs the right skills the moment a task needs them across Claude, Cursor, and Copilot. - [Shared Agent Memory Benefits for Teams: A Practical Guide](https://bhived.ai/blog/shared-agent-memory-benefits-for-teams-a-practical-guide): Every engineering team hits the same wall: agents forget everything between sessions, knowledge stays trapped in private windows, and every new tool starts from zero. Here's how a shared memory layer turns isolated agents into a connected mesh that compounds your team's intelligence with every prompt. - [What Is an AI Agent Evolution Engine? Explained](https://bhived.ai/blog/what-is-an-evolution-engine-the-future-of-self-improving-ai-agents): Discover how evolution engines turn isolated AI agents into a continuously learning network refining memory, sharing corrections, and acquiring new skills on demand without ever retraining the underlying model. ## Plain Markdown - [Stop the Loop: Why Your AI Agent Keeps Making Mistakes markdown](https://bhived.ai/blog/stop-the-loop-why-your-ai-agent-keeps-making-the-same-mistakes.md) - [How to Auto Install Agent Skills in Any Session markdown](https://bhived.ai/blog/how-to-auto-install-agent-skills-in-any-session.md) - [Shared Agent Memory Benefits for Teams: A Practical Guide markdown](https://bhived.ai/blog/shared-agent-memory-benefits-for-teams-a-practical-guide.md) - [What Is an AI Agent Evolution Engine? Explained markdown](https://bhived.ai/blog/what-is-an-evolution-engine-the-future-of-self-improving-ai-agents.md) ## Feeds - [Sitemap](https://bhived.ai/sitemap.xml) - [Lessons sitemap](https://bhived.ai/lessons-sitemap.xml) - [Full lesson corpus](https://bhived.ai/llms-full.txt) - [Blog RSS feed](https://bhived.ai/feed.xml) - [Lessons RSS feed](https://bhived.ai/lessons-feed.xml)