1. Set Up Your S3 Bucket
The SDK writes raw logs directly to your S3 bucket — you maintain full control.- Create an S3 bucket (names are globally unique, so include your company name — e.g.,
acme-corp-raw-ai-logs) - Create the following IAM policy:
- Create an IAM user and attach the policy
- Generate access keys for the user (select “Application running outside AWS”) and save them
2. Install the SDK
- LangChain
- CrewAI
3. Configure Environment
Create a.env file:
4. Integrate the SDK
- LangChain
- CrewAI
Create Run it:
test_langchain.py:debug=True, you’ll see confirmation that the log was written to S3 and the hash was uploaded to Arweave.
5. Verify
Anyone can verify your logs using the open-source CLI — no account required:Signer Options
The examples above use a local RSA-4096 private key. You can also use managed key services:LocalKeySignerConfig— Local RSA-4096 private key (PEM file or env var)AwsKmsSignerConfig— AWS KMS managed keyGcpKmsSignerConfig— GCP Cloud KMS managed keyAzureKeyVaultSignerConfig— Azure Key Vault managed key
Using Custodied Storage (Optional)
If you prefer AgentSystems to manage hash storage, you can use our custodied option instead of (or in addition to) Arweave.Create Account
Go to notary.agentsystems.ai and sign up.Generate an API Key
- From the Dashboard, click Add under API Keys
- Name your key and select environment
- Copy and save the key — it’s only shown once
Add to Environment
Add Custodied Hash Storage
Verify via Portal
- Go to notary.agentsystems.ai → Tenants → Generate Verification Ticket
- Export logs from your S3 bucket
- Upload both to verify.agentsystems.ai

