Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
4fcc214
Book 2 Draft
hejny May 21, 2025
e024474
Working on Book 2.0
hejny May 24, 2025
5689c1d
📘 Book Language Blueprint
hejny Jun 20, 2025
10e648d
11:11
hejny Jun 21, 2025
a7ff37d
Update BLUEPRINT.md
hejny Jun 29, 2025
4bda222
Working on Book 2.0 abstract
hejny Jul 19, 2025
9acf2ba
Working on Book 2.0 abstract
hejny Jul 21, 2025
a785313
Update books
hejny Aug 19, 2025
113090c
Merge branch 'feature/book-2.0' of https://github.com/webgptorg/book …
hejny Aug 19, 2025
c315d6b
Move things to blueprint
hejny Aug 19, 2025
82fad1b
Writing 1,2,3,4 abstract
hejny Aug 19, 2025
34a405c
Writing 1,2,3,4 abstract
hejny Aug 19, 2025
306256b
Update ABSTRACT.md
hejny Aug 22, 2025
256a3e9
Writing 📖 The Book Whitepaper
hejny Aug 23, 2025
c4f985c
Update ABSTRACT.md
hejny Aug 27, 2025
71aea78
Revise sections and headings in ABSTRACT.md
hejny Aug 27, 2025
f6c8137
Writing 📖 The Book Whitepaper
hejny Aug 29, 2025
dd9dc0b
Update abstract
hejny Sep 4, 2025
4d85a3e
Update abstract - update images
hejny Sep 4, 2025
7ee69d6
Update abstract - update images
hejny Sep 4, 2025
3580612
Update abstract - update images
hejny Sep 4, 2025
5e5ce8b
Update abstract - update images
hejny Sep 4, 2025
7f920a7
Update abstract - update images
hejny Sep 4, 2025
372be73
Update abstract - update images
hejny Sep 4, 2025
5c3224d
Update abstract - update images
hejny Sep 5, 2025
c30fb94
Update abstract - update images
hejny Sep 5, 2025
0a90e27
Test
hejny Sep 5, 2025
496b9cc
Implement the function `embedBooks`
hejny Sep 5, 2025
5917e81
Enhance `embedBooks`
hejny Sep 5, 2025
f339134
Proofread the ABSTRACT
hejny Sep 5, 2025
aa03920
Uodate abstract
hejny Oct 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
155 changes: 144 additions & 11 deletions ABSTRACT.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,152 @@
# 🤍 The Book Abstract
# 📖 The Book Whitepaper

**It's time for a paradigm shift! The future of software is written in plain English, French, or Latin.<!-- .. not Python, JavaScript or C. -->**
For most business applications nowadays, the biggest challenge isn't about the raw capabilities of AI models. Large language models like GPT-5 or Claude-4.1 are extremely capable.

During the computer revolution, we have seen [multiple generations of computer languages](https://github.com/webgptorg/promptbook/discussions/180), from the physical rewiring of the vacuum tubes through low-level machine code to the high-level languages like Python or JavaScript. And now, we're on the edge of the **next revolution**!
The main challenge is to narrow it down, constrain it, set the proper **context, rules, knowledge, and personality**. There are a lot of tools which can do exactly this. On one side, there are no-code platforms which can launch your agent in seconds. On the other side, there are heavy frameworks like Langchain or Semantic Kernel, which can give you deep control.

<!--
TODO: It will be great to have a picture of Steve Jobs and Steve Wozniak here
Promptbook takes the best from both worlds. You are defining your AI behavior by simple **books**, which are very explicit. They are automatically enforced, but they are very easy to understand, very easy to write, and very reliable and portable.

https://www.google.com/search?sca_esv=6fe806cc0ee527f3&sxsrf=AHTn8zrPY_EHRqRYq-Oy-_PxUzxHuUTTxA:1739909950194&q=steve+jobs+and+vozniak&udm=2&fbs=ABzOT_CGHNgROzTrfye-u2LQKYbN7oFyZt8YgcfRTxiXXnyhZzN5o0fEHuZ0YFaHuqkXadIZfduPX3oOeP-OTIHXOxLlSB9fNF7MJlACLIByBTt6hiNw_JaQNIcPtGJvYqcCG5gvt4ifufTAzbSSlIzDdrMkPwJi9gG5guSaasVKbAwQvZRe2EA&sa=X&ved=2ahUKEwiK5JbUhc6LAxXH6wIHHZVjLCIQtKgLegQIGhAB&biw=1920&bih=993&dpr=1#vhid=HVX1ogMdhJNueM&vssid=mosaic
-->
```book
Paul Smith & Associés

It's a revolution of writing software in **plain human language** that is understandable and executable by both humans and machines – and it's going to change everything!
PERSONA You are a company lawyer.
Your job is to provide legal advice and support to the company and its employees.
You are knowledgeable, professional, and detail-oriented.
```

The incredible growth in power of microprocessors and the Moore's Law have been the driving force behind the ever-more powerful languages, and it's been an amazing journey! Similarly, the large language models (like GPT or Claude) are the next big thing in language technology, and they're set to transform the way we interact with computers.
<div style="page-break-after: always;"></div>

This shift will happen whether we're ready or not. Our mission is to make it excellent, not just good.
## Aspects of great AI agent

**Join us in this journey!**
We have created a language called **Book**, which allows you to write AI agents in their native language and create your own AI persona. Book provides a guide to define all the traits and commitments.

You can look at it as prompting (or writing a system message), but decorated by **commitments**.

### `Persona` commitment

Personas define the character of your AI persona, its role, and how it should interact with users. It sets the tone and style of communication.

```book
Paul Smith & Associés

PERSONA You are a company lawyer.
Your job is to provide legal advice and support to the company and its employees.
You are knowledgeable, professional, and detail-oriented.
```

### `Knowledge` commitment

Knowledge Commitment allows you to provide specific information, facts, or context that the AI should be aware of when responding.

This can include domain-specific knowledge, company policies, or any other relevant information.

Promptbook Engine will automatically enforce this knowledge during interactions. When the knowledge is short enough, it will be included in the prompt. When it is too long, it will be stored in vector databases and RAG retrieved when needed. But you don't need to care about it.

```book
Paul Smith & Associés

PERSONA You are a company lawyer.
Your job is to provide legal advice and support to the company and its employees.
You are knowledgeable, professional, and detail-oriented.

KNOWLEDGE https://company.com/company-policies.pdf
KNOWLEDGE https://company.com/internal-documents/employee-handbook.docx
```

### `Rule` commitment

Rules will enforce specific behaviors or constraints on the AI's responses. This can include ethical guidelines, communication styles, or any other rules you want the AI to follow.

Depending on rule strictness, Promptbook will either propagate it to the prompt or use other techniques, like adversary agent, to enforce it.

```book
Paul Smith & Associés

PERSONA You are a company lawyer.
Your job is to provide legal advice and support to the company and its employees.
You are knowledgeable, professional, and detail-oriented.

RULE Always ensure compliance with laws and regulations.
RULE Never provide legal advice outside your area of expertise.
RULE Never provide legal advice about criminal law.
KNOWLEDGE https://company.com/company-policies.pdf
KNOWLEDGE https://company.com/internal-documents/employee-handbook.docx
```

### `Action` commitment

Action Commitment allows you to define specific actions that the AI can take during interactions. This can include things like posting on a social media platform, sending emails, creating calendar events, or interacting with your internal systems.

```book
Paul Smith & Associés

PERSONA You are a company lawyer.
Your job is to provide legal advice and support to the company and its employees.
You are knowledgeable, professional, and detail-oriented.

RULE Always ensure compliance with laws and regulations.
RULE Never provide legal advice outside your area of expertise.
RULE Never provide legal advice about criminal law.
KNOWLEDGE https://company.com/company-policies.pdf
KNOWLEDGE https://company.com/internal-documents/employee-handbook.docx
ACTION When a user asks about an issue that could be treated as a crime, notify legal@company.com.
```

[Read more about the language](./BLUEPRINT.md)

<div style="page-break-after: always;"></div>

## Where to use your AI agent in book

Books can be useful in various applications and scenarios. Here are some examples:

### Chat apps:

Create your own chat shopping assistant and place it in your eShop.
You will be able to answer customer questions, help them find products, and provide personalized recommendations. Everything is tightly controlled by the book you have written.

### Reply Agent:

Create your own AI agent, which will look at your emails and reply to them. It can even create drafts for you to review before sending.

### Coding Agent:

Do you love Vibecoding, but the AI code is not always aligned with your coding style and architecture, rules, security, etc.? Create your own coding agent to help enforce your specific coding standards and practices.

This can be integrated to almost any Vibecoding platform, like GitHub Copilot, Amazon CodeWhisperer, Cursor, Cline, Kilocode, Roocode,...

They will work the same as you are used to, but with your specific rules written in book.

### Internal Expertise

Do you have an app written in TypeScript, Python, C#, Java, or any other language, and you are integrating the AI.

You can avoid struggle with choosing the best model, its settings like temperature, max tokens, etc., by writing a book agent and using it as your AI expertise.

Doesn't matter if you do automations, data analysis, customer support, sentiment analysis, classification, or any other task. Your AI agent will be tailored to your specific needs and requirements.

Even works in no-code platforms!

<div style="page-break-after: always;"></div>

## How to create your AI agent in book

Now you want to use it. There are several ways how to write your first book:

### From scratch with help from Paul

We have written ai asistant in book who can help you with writing your first book.

<!-- TODO: Link -->

### Your AI twin

Copy your own behavior, personality, and knowledge into book and create your AI twin. It can help you with your work, personal life, or any other task.

<!-- TODO: Link -->

### AI persona workpool

Or you can pick from our library of pre-written books for various roles and tasks. You can find books for customer support, coding, marketing, sales, HR, legal, and many other roles.

<!-- TODO: Link -->
Loading