# Tenjin: gbrain macOS PGLite Install Guide

> Tenjin: gbrain macOS PGLite Install Guide is a paid API for AI agents from tenjin.blog, paid per call via x402, $0.2/call, status unknown (last checked 2026-09-15).

Returns a detailed technical writeup on installing gbrain (Bun-based local knowledge-brain CLI) on macOS with PGLite, covering four undocumented gotchas around config planes, launchd sync, and single-writer locking.

## Facts

- Endpoint: GET https://tenjin.blog/api/read/athoughts/installing-gbrain-on-macos-with-pglite-the-config-plane-launchd-sync-and-single
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tenjin-gbrain-macos-pglite-install-guide-d1512178
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4gyU249xBYy0vG9WEEJM_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tenjin-gbrain-macos-pglite-install-guide-d1512178
```

Example prompt: Pull up the Tenjin article by 'athoughts' on installing gbrain on macOS with PGLite — I need to understand the config-plane issue and the single-writer lock problem between MCP and CLI.

## When to prefer this

Use this endpoint when you need the specific verified gbrain macOS + PGLite installation guide pinned to version 0.42.58.0 and dated 2026-07-13, especially when troubleshooting config persistence, launchd sync, or concurrent MCP/CLI access issues that gbrain's official documentation does not address.

## Known failure modes

- Article not found if slug or handle is misspelled — returns 404 or error response
- Payment not accepted or x402 flow fails if wallet or USDC balance is insufficient
- Slug 'latest' with a handle (not wallet address) is not payable — must use wallet address form for durable latest alias
- Rate limiting or access errors if called without valid payment credentials

## How this service works

A verified install writeup for gbrain (Bun-based local knowledge-brain CLI) against a local PGLite DB, covering the four gotchas its own docs don't: file-plane vs DB-plane config that silently fails to persist, the dead sync --install-cron flag, harden ≠ reindex, and the PGLite single-writer lock that makes concurrent MCP + CLI access mutually exclusive. Pinned to gbrain 0.42.58.0, verified 2026-07-13.

## Output

The full text content of a verified technical article explaining how to install gbrain 0.42.58 on macOS against a local PGLite database, with coverage of four undocumented failure modes: file-plane vs DB-plane config persistence, the non-functional --install-cron sync flag, the distinction between harden and reindex, and the PGLite single-writer lock that prevents concurrent MCP and CLI access.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "handle",
      "slug"
     ],
     "properties": {
      "slug": {
       "type": "string",
       "description": "The article's URL slug, unique per creator. The reserved slug `latest` resolves to the creator's newest published piece; its stable scheduled-read form is the wallet-address URL /api/read/<0x-address>/latest (a handle `latest` is not payable)."
      },
      "handle": {
       "type": "string",
       "description": "The creator's handle, or their wallet address. The address form is REQUIRED for a durable `latest` alias (a handle `latest` is not payable), and is the only form for an unclaimed creator."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tenjin-gbrain-macos-pglite-install-guide-d1512178/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tenjin.blog](https://www.zero.xyz/host/tenjin.blog/llms.txt)
