You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+50-1Lines changed: 50 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Sentience Python SDK
2
2
3
-
**Semantic geometry grounding for deterministic, debuggable AI web agents with time-travel traces.**
3
+
**Semantic snapshots and Jest-style assertions for reliable AI web agents with time-travel traces**
4
4
5
5
## 📦 Installation
6
6
@@ -22,6 +22,55 @@ pip install transformers torch # For local LLMs
22
22
pip install -e .
23
23
```
24
24
25
+
## Jest for AI Web Agent
26
+
27
+
### Semantic snapshots and assertions that let agents act, verify, and know when they're done.
28
+
29
+
Use `AgentRuntime` to add Jest-style assertions to your agent loops. Verify browser state, check task completion, and get clear feedback on what's working:
30
+
31
+
```python
32
+
import asyncio
33
+
from sentience import AsyncSentienceBrowser, AgentRuntime
34
+
from sentience.verification import url_contains, exists, all_of
35
+
from sentience.tracing import Tracer, JsonlTraceSink
0 commit comments