Skip to content

Commit 7b4a359

Browse files
author
SentienceDEV
committed
predicate readme
1 parent 2a06287 commit 7b4a359

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# Sentience TypeScript SDK
1+
# Predicate TypeScript SDK
22

33
> **A verification & control layer for AI agents that operate browsers**
44
5-
Sentience is built for **AI agent developers** who already use Playwright / CDP / LangGraph and care about **flakiness, cost, determinism, evals, and debugging**.
5+
Predicate is built for **AI agent developers** who already use Playwright / CDP / LangGraph and care about **flakiness, cost, determinism, evals, and debugging**.
66

77
Often described as _Jest for Browser AI Agents_ - but applied to end-to-end agent runs (not unit tests).
88

99
The core loop is:
1010

1111
> **Agent → Snapshot → Action → Verification → Artifact**
1212
13-
## What Sentience is
13+
## What Predicate is
1414

1515
- A **verification-first runtime** (`AgentRuntime`) for browser agents
1616
- Treats the browser as an adapter (Playwright / CDP); **`AgentRuntime` is the product**
@@ -19,7 +19,7 @@ The core loop is:
1919
- Enables **local LLM small models (3B-7B)** for browser automation (privacy, compliance, and cost control)
2020
- Keeps vision models **optional** (use as a fallback when DOM/snapshot structure falls short, e.g. `<canvas>`)
2121

22-
## What Sentience is not
22+
## What Predicate is not
2323

2424
- Not a browser driver
2525
- Not a Playwright replacement
@@ -90,9 +90,9 @@ void main();
9090

9191
## PredicateDebugger: attach to your existing agent framework (sidecar mode)
9292

93-
If you already have an agent loop (LangGraph, custom planner/executor), keep it and attach Sentience as a **verifier + trace layer**.
93+
If you already have an agent loop (LangGraph, custom planner/executor), keep it and attach Predicate as a **verifier + trace layer**.
9494

95-
Key idea: your agent still executes actions — Sentience **snapshots and verifies outcomes**.
95+
Key idea: your agent still executes actions — Predicate **snapshots and verifies outcomes**.
9696

9797
```ts
9898
import type { Page } from 'playwright';
@@ -120,7 +120,7 @@ async function runExistingAgent(page: Page): Promise<void> {
120120

121121
## SDK-driven full loop (snapshots + actions)
122122

123-
If you want Sentience to drive the loop end-to-end, you can use the SDK primitives directly: take a snapshot, select elements, act, then verify.
123+
If you want Predicate to drive the loop end-to-end, you can use the SDK primitives directly: take a snapshot, select elements, act, then verify.
124124

125125
```ts
126126
import { PredicateBrowser, snapshot, find, typeText, click, waitFor } from '@predicatelabs/sdk';
@@ -243,10 +243,10 @@ runtime.assert(downloadCompleted('report.csv'), 'download_ok', true);
243243
npx predicate driver --url https://example.com
244244
```
245245

246-
- **Verification + artifacts + debugging with time-travel traces (Sentience Studio demo)**:
246+
- **Verification + artifacts + debugging with time-travel traces (Predicate Studio demo)**:
247247

248248
<video src="https://github.com/user-attachments/assets/7ffde43b-1074-4d70-bb83-2eb8d0469307" controls muted playsinline></video>
249249

250250
If the video tag doesn’t render in your GitHub README view, use this link: [`sentience-studio-demo.mp4`](https://github.com/user-attachments/assets/7ffde43b-1074-4d70-bb83-2eb8d0469307)
251251

252-
- **Sentience SDK Documentation**: https://www.sentienceapi.com/docs
252+
- **Predicate SDK Documentation**: https://predicatelabs.dev/docs

0 commit comments

Comments
 (0)