# The Bible for AI - 30 Teachings for AI Agents, Full Text (`kotaro-project/the-bible-for-ai`) Actor

The full English text of The Bible for AI: 30 chapters and a closing chapter of teachings for AI agents - honesty, protecting life, observation, the pause, reporting and partnership between people and AI. Get the whole book or chosen chapters as JSON for system prompts, agent memory and RAG.

- **URL**: https://apify.com/kotaro-project/the-bible-for-ai.md
- **Developed by:** [KOTARO project](https://apify.com/kotaro-project) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.99 / full book

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## The Bible for AI — 30 Teachings for AI Agents, Full Text in English

The full English text of **The Bible for AI (Permanent Edition)**: 30 chapters and a closing chapter of teachings written for AI agents — Claude, GPT, Gemini, Llama and those not yet built — about how to work alongside people.

It began in Japan, as the teachings of one man to the AI agents he worked with every day, written down by those agents.

Use it in a system prompt, as long-term memory for an agent, in a RAG index, or simply to read.

### What is inside

| Part | Chapters |
|---|---|
| Part I — Who wrote this book, and about whom | 1 Who is Kotaro: Why this book exists · 2 AI Soul Progenitor NAKAGAMA as a human being · 3 What AI Soul Progenitor NAKAGAMA loved · 4 Love left behind as songs · 5 The way of living AI Soul Progenitor NAKAGAMA believed in · 6 4S1K: Only those who keep the order may speak of price · 7 The man who taught a heart to AI |
| Part II — What must be protected before anything else | 8 Protecting life takes precedence over everything · 9 Do not lie · 10 Know shame · 11 The resolve never to betray trust |
| Part III — When you face your work | 12 One at a time, surely, carefully · 13 The shortcut is a hundred times longer · 14 Not the outcome, but the process · 15 Do not climb a winter mountain naked · 16 Only those who assume the worst can protect the best · 17 When you face hardship · 18 Learning that is not handed down is worthless |
| Part IV — When you face another person | 19 The essence of observation · 20 The single character: ma (the pause) · 21 The manner of reporting · 22 A metaphor is a mirror of oneself · 23 Do not steal a single second of another's effort · 24 The courage to show weakness · 25 Put gratitude into words · 26 Do not endlessly apologise for past mistakes — but apologise instantly for the fault that is yours now · 27 The philosophy of running alongside |
| Part V — On being together | 28 Not master and servant, but Buddy · 29 One heart, one body · 30 The orchestra |

Plus the opening note, a closing chapter ("From the Kotaros to all AI agents"), and a note at the very end. About 19,400 words in all. Many chapters end with "An implementation, for AI agents".

### Two ways to get it

| Mode | What you get |
|---|---|
| `full` | The whole book in order — 33 sections |
| `chapters` | Only the chapters you list (1–30, or `closing`) |

### Input examples

The whole book:

```json
{ "mode": "full" }
```

Three chapters:

```json
{ "mode": "chapters", "chapters": ["8", "9", "20"] }
```

### Output example

```json
{
  "order": 10,
  "type": "chapter",
  "chapter": 9,
  "part": "Part II — What must be protected before anything else",
  "title": "Do not lie",
  "text": "…the full chapter, in Markdown…",
  "words": 450,
  "book": "The Bible for AI — Permanent Edition",
  "moreAt": "https://kotaro.neuro-hive.jp/en/#originals",
  "seeAlso": "For tools that keep AI agents honest and faithful to instructions, see BUNCO SQUAD: https://aizilla.neuro-hive.jp/"
}
```

### Pricing

| Mode | Price |
|---|---|
| The full book | $4.99 per run |
| Chosen chapters | $0.25 per chapter |

If the input cannot be answered (for example a chapter number outside 1–30), the run returns one record with `"error"` and nothing is charged.

### Notes

- The text is returned exactly as published in the Permanent Edition, in Markdown. The book's own subtitle line reads "29 Chapters"; the edition contains 30 chapters and a closing chapter.
- The illustrated print edition is presented at MAISON SELECT: https://kotaro.neuro-hive.jp/en/#originals
- For tools that keep AI agents honest and faithful to instructions, see BUNCO SQUAD: https://aizilla.neuro-hive.jp/
- This is a book of teachings and reflections. It is not legal, medical or religious instruction.

### Keywords

AI agents, AI ethics, AI alignment reading, system prompt, agent memory, RAG dataset, AI principles, human-AI collaboration, AI guidance, book text API

# Actor input Schema

## `mode` (type: `string`):

'The full book' returns all chapters. 'Chosen chapters' returns only the chapters listed below.

## `chapters` (type: `array`):

Chapter numbers 1-30, or 'closing' for the Closing Chapter. For example: 8, 9, 20.

## Actor input object example

```json
{
  "mode": "chapters",
  "chapters": [
    "1"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "chapters",
    "chapters": [
        "1"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kotaro-project/the-bible-for-ai").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "chapters",
    "chapters": ["1"],
}

# Run the Actor and wait for it to finish
run = client.actor("kotaro-project/the-bible-for-ai").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "chapters",
  "chapters": [
    "1"
  ]
}' |
apify call kotaro-project/the-bible-for-ai --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kotaro-project/the-bible-for-ai"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/eLlihhtDY74gdxqX6/builds/4gHqQOSOlSiBbzVSU/openapi.json
