Skip to content

Commit 1628af2

Browse files
committed
demo with complete agent loop
1 parent 94918f9 commit 1628af2

15 files changed

Lines changed: 3201 additions & 1 deletion

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,8 @@ traces/
5656
artifacts/
5757
tmp/
5858
temp/
59+
60+
# Demo output and runtime files
61+
demo/.env
62+
demo/output/
63+
demo/*.log

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ pip install predicate-secure[all]
2929

3030
## Quick Start
3131

32+
[User Manual](./docs/user-manual.md)
33+
3234
```python
3335
from predicate_secure import SecureAgent
3436
from browser_use import Agent

demo/.env.example

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Predicate Secure Demo Environment Variables
2+
# Copy from .env.example and customize
3+
4+
# Browser display (false = show browser for debugging)
5+
BROWSER_HEADLESS=false
6+
7+
# Predicate API key (optional - leave unset to use FREE TIER)
8+
# Free tier uses local browser extension only (sufficient for demo)
9+
# PREDICATE_API_KEY=
10+
11+
# LLM model for verification
12+
LLM_MODEL_NAME=Qwen/Qwen2.5-7B-Instruct
13+
LLM_DEVICE=auto
14+
LLM_MAX_TOKENS=512
15+
LLM_TEMPERATURE=0.0
16+
17+
# Demo task
18+
DEMO_TASK_ID=example-search-task
19+
DEMO_START_URL=https://www.example.com
20+
DEMO_TASK_DESCRIPTION=Navigate to example.com and verify page loads
21+
DEMO_PRINCIPAL_ID=agent:demo-browser
22+
DEMO_TENANT_ID=tenant-demo
23+
DEMO_OUTPUT_DIR=demo/output

0 commit comments

Comments
 (0)