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
+58Lines changed: 58 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,64 @@ if __name__ == "__main__":
78
78
asyncio.run(main())
79
79
```
80
80
81
+
## SentienceDebugger: attach to your existing agent framework (sidecar mode)
82
+
83
+
If you already have an agent loop (LangGraph, browser-use, custom planner/executor), you can keep it and attach Sentience as a **verifier + trace layer**.
84
+
85
+
Key idea: your agent still decides and executes actions — Sentience **snapshots and verifies outcomes**.
86
+
87
+
```python
88
+
from sentience import SentienceDebugger, create_tracer
89
+
from sentience.verification import exists, url_contains
90
+
91
+
92
+
asyncdefrun_existing_agent(page) -> None:
93
+
# page: playwright.async_api.Page (owned by your agent/framework)
94
+
tracer = create_tracer(run_id="run-123") # local JSONL by default
0 commit comments