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
docs: update README and bump version to v1.0.0b2 (#52)
Bumping the version to 1.0.0b2 and updating the README to fix rendering
bugs on PyPI.
## Key Changes
- Fixed broken images: Changed asset links to raw GitHub URLs so logos
and architecture diagrams render properly on PyPI.
- Fixed alert blocks: Replaced GitHub-specific > [!IMPORTANT] tags with
standard markdown emojis so callouts don't break on PyPI.
- Updated docs links: Added links to provably.ai/docs, cookbooks, and
the end-to-end walkthrough.
- Version bump: Set version to 1.0.0b2 in pyproject.toml.
SourceryKit is the Python SDK for [Provably](https://provably.ai). It provides verifiable guardrails for AI agents by automatically recording outbound HTTP calls, enforcing endpoint policies, and checking your agent's claims against a source of truth—all before any request leaves your process.
14
11
15
-
---
12
+
SourceryKit is the Python SDK for [Provably](https://provably.ai). It provides verifiable guardrails for AI agents by automatically recording outbound HTTP calls, enforcing endpoint policies, and checking your agent's claims against a source of truth—all before any request leaves your process.
16
13
17
-
> [!IMPORTANT]
18
-
> Upgrading the SDK from v0.2 to v1.0? See the [v1.0 migration guide](https://github.com/ProvablyAI/sourcerykit/blob/main/docs/migrations/v1_0/v1_0.md).
14
+
> ⚠️ **IMPORTANT:** Upgrading the SDK from v0.2 to v1.0? See the [v1.0 migration guide](https://github.com/ProvablyAI/sourcerykit/blob/main/docs/migrations/v1_0/v1_0.md).
19
15
20
16
21
17
## How Does It Work?
22
18
23
19
SourceryKit handles policy enforcement and logging right inside your agent's normal workflow:
To get things running, SourceryKit must be configured with your project variables. The interactive CLI handles account provisioning, organization workspace initialization, database validation, and persists credentials globally (OS application folder) and locally (project `.env`).
54
+
55
+
```bash
56
+
sourcerykit init
57
+
```
58
+
59
+
The wizard will guide you through:
60
+
-**Account Setup & Authorization**: Create a new account or log into an existing one, and select your organization workspace.
61
+
-**API Key Generation**: Automatically fetch your SDK API-KEY from your account profile.
62
+
-**Database Handshake**: Enter your database details, test the connection, and ensure it's accessible.
63
+
-**Save Config**: Automatically write your credentials and tokens straight to a local .env file.
64
+
65
+
> ⚠️ **IMPORTANT:** The wizard only configures **SOURCERYKIT_*** variables. It does **not** handle third-party LLM provider infrastructure keys, which must still be exported separately.
66
+
67
+
68
+
For a full list of CLI commands, check out the [CLI Documentation](https://github.com/ProvablyAI/sourcerykit/blob/main/docs/cli.md) file, or simply run:
69
+
```bash
70
+
sourcerykit --help
71
+
```
72
+
73
+
For a full list of environment variables, see [.env.example](https://github.com/ProvablyAI/sourcerykit/blob/main/.env.example).
74
+
54
75
## Quick Example
55
76
Here is how to bootstrap the system, run an intercepted request, build a payload, and check if everything passes validation:
To get things running, SourceryKit must be configured with your project variables. The interactive CLI handles account provisioning, organization workspace initialization, database validation, and persists credentials globally (OS application folder) and locally (project `.env`).
139
-
140
-
```bash
141
-
sourcerykit init
142
-
```
143
-
144
-
The wizard will guide you through:
145
-
-**Account Setup & Authorization**: Create a new account or log into an existing one, and select your organization workspace.
146
-
-**API Key Generation**: Automatically fetch your SDK API-KEY from your account profile.
147
-
-**Database Handshake**: Enter your database details, test the connection, and ensure it's accessible.
148
-
-**Save Config**: Automatically write your credentials and tokens straight to a local .env file.
149
-
150
-
> [!IMPORTANT]
151
-
> The wizard only configures **SOURCERYKIT_*** variables. It does **not** handle third-party LLM provider infrastructure keys, which must still be exported separately.
152
-
153
-
For a full list of environment variables, see [.env.example](https://github.com/ProvablyAI/sourcerykit/blob/main/.env.example).
154
-
155
-
For a full list of CLI commands, run:
156
-
```bash
157
-
sourcerykit --help
158
-
```
159
139
160
140
## More Docs
161
-
Want to dig into the details? Check out the specific guides:
141
+
Want to dig into the details? Check out our documentation and specific guides:
142
+
143
+
***Official Documentation:** Visit [provably.ai/docs](https://provably.ai/docs) for the complete reference.
144
+
*[End-to-End Walkthrough](https://github.com/ProvablyAI/sourcerykit/blob/main/docs/example.md) — Get up and running from scratch.
145
+
*[Cookbooks & Examples](https://github.com/ProvablyAI/sourcerykit/tree/main/cookbooks) — Practical recipes and code samples.
Copy file name to clipboardExpand all lines: docs/architecture.md
+3-16Lines changed: 3 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,22 +4,9 @@ The SourceryKit SDK adds verifiable guardrails to Python agents by making outbou
4
4
## Core Flow
5
5
SourceryKit intercepts an agent’s outbound HTTP calls, enforces endpoint policies, records interactions, and enables deterministic evaluation of claims.
0 commit comments