Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,11 @@ jobs:
tag_name: v${{ steps.version.outputs.version }}
name: Release v${{ steps.version.outputs.version }}
body: |
Release v${{ steps.version.outputs.version }} of predicatelabs
Release v${{ steps.version.outputs.version }} of predicate-sdk

## Installation
```bash
pip install predicatelabs==${{ steps.version.outputs.version }}
pip install predicate-sdk==${{ steps.version.outputs.version }}
```
draft: false
prerelease: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
shell: bash
run: |
pip cache purge || true
pip uninstall -y predicatelabs || true
pip uninstall -y predicate-sdk predicatelabs || true
# Aggressively clean any bytecode cache (cross-platform Python approach)
python -c "import pathlib; [p.unlink() for p in pathlib.Path('.').rglob('*.pyc')]" || true
python -c "import pathlib, shutil; [shutil.rmtree(p) for p in pathlib.Path('.').rglob('__pycache__') if p.is_dir()]" || true
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ The core loop is:
## Install

```bash
pip install predicatelabs
pip install predicate-sdk
playwright install chromium
```

If you’re developing from source (this repo), install the local checkout instead:

```bash
pip install -e .
playwright install chromium
```

Expand Down
4 changes: 2 additions & 2 deletions examples/browser-use/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ This directory contains examples for integrating [Sentience](https://github.com/
Install both packages together using the optional dependency:

```bash
pip install "predicatelabs[browser-use]"
pip install "predicate-sdk[browser-use]"
```

Or install separately:

```bash
pip install predicatelabs browser-use
pip install predicate-sdk browser-use
```

## Quick Start
Expand Down
6 changes: 3 additions & 3 deletions examples/browser-use/integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
using Sentience's snapshot-based grounding instead of coordinate estimation.

Requirements:
pip install "predicatelabs[browser-use]" python-dotenv
pip install "predicate-sdk[browser-use]" python-dotenv

Or install separately:
pip install predicatelabs browser-use python-dotenv
pip install predicate-sdk browser-use python-dotenv

Usage:
python examples/browser-use/integration.py
Expand Down Expand Up @@ -240,7 +240,7 @@ async def example_with_sentience_context() -> None:
print("Extension path:", get_extension_dir())
print()
print("To run with a real browser:")
print(' 1. pip install "predicatelabs[browser-use]" python-dotenv')
print(' 1. pip install "predicate-sdk[browser-use]" python-dotenv')
print(" 2. Uncomment the browser-use imports and code sections")
print(" 3. Run: python examples/browser-use/integration.py")

Expand Down
2 changes: 1 addition & 1 deletion examples/lang-chain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ These examples show how to use Sentience as a **tool layer** inside LangChain an
Install:

```bash
pip install predicatelabs[langchain]
pip install predicate-sdk[langchain]
```

Examples:
Expand Down
2 changes: 1 addition & 1 deletion examples/lang-chain/langchain_tools_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Example: Build Sentience LangChain tools (async-only).

Install:
pip install predicatelabs[langchain]
pip install predicate-sdk[langchain]

Run:
python examples/lang-chain/langchain_tools_demo.py
Expand Down
2 changes: 1 addition & 1 deletion examples/lang-chain/langgraph_self_correcting_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
LangGraph reference example: Sentience observe → act → verify → branch (self-correcting).

Install:
pip install predicatelabs[langchain]
pip install predicate-sdk[langchain]

Run:
python examples/lang-chain/langgraph_self_correcting_graph.py
Expand Down
2 changes: 1 addition & 1 deletion examples/langgraph/sentience_self_correcting_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
LangGraph reference example: Sentience observe → act → verify → branch (self-correcting).

Install:
pip install predicatelabs[langchain]
pip install predicate-sdk[langchain]

Run:
python examples/langgraph/sentience_self_correcting_graph.py
Expand Down
2 changes: 1 addition & 1 deletion examples/pydantic_ai/pydantic_ai_self_correcting_click.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Example: PydanticAI + Sentience self-correcting action loop using URL guards.

Run:
pip install predicatelabs[pydanticai]
pip install predicate-sdk[pydanticai]
python examples/pydantic_ai/pydantic_ai_self_correcting_click.py
"""

Expand Down
2 changes: 1 addition & 1 deletion examples/pydantic_ai/pydantic_ai_typed_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Example: PydanticAI + Sentience typed extraction (Phase 1 integration).

Run:
pip install predicatelabs[pydanticai]
pip install predicate-sdk[pydanticai]
python examples/pydantic_ai/pydantic_ai_typed_extraction.py
"""

Expand Down
2 changes: 1 addition & 1 deletion predicate/integrations/browser_use/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def register_tools(self, tools: Any) -> None:
raise ImportError("browser_use.ActionResult/BrowserSession not available")
except Exception as e: # pragma: no cover
raise ImportError(
"browser-use is required to register tools. Install with `predicatelabs[browser-use]`."
"browser-use is required to register tools. Install with `predicate-sdk[browser-use]`."
) from e

if tools is None:
Expand Down
2 changes: 1 addition & 1 deletion predicate/integrations/pydanticai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
This module does NOT import `pydantic_ai` at import time so the base SDK can be
installed without the optional dependency. Users should install:

pip install predicatelabs[pydanticai]
pip install predicate-sdk[pydanticai]

and then use `register_sentience_tools(...)` with a PydanticAI `Agent`.
"""
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "predicatelabs"
name = "predicate-sdk"
version = "1.0.5"
description = "Python SDK for Sentience AI Agent Browser Automation"
readme = "README.md"
Expand Down
Loading