Skip to content

Commit e6de660

Browse files
author
AgentSIM
committed
chore: sync from monorepo v0.22.0
1 parent 0f77462 commit e6de660

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# agentsim-sdk
22

3-
Autonomous OTP relay for AI agents. AgentSIM provisions real carrier-routed phone numbers, receives inbound SMS, and delivers parsed OTP codes back to your agent — no human relay needed.
3+
AgentSIM is the control plane for agents hitting the real world's auth walls. SMS OTP is the first challenge type. This SDK provisions a US test number, waits for the parsed code, and releases the session. Local mock mode accepts inbound messages through the REST API.
44

55
## Install
66

@@ -20,7 +20,7 @@ pip install agentsim-sdk
2020
import agentsim
2121

2222
async with agentsim.provision(agent_id="checkout-bot", country="US") as num:
23-
await enter_phone_number(num.number) # "+14155552671"
23+
await enter_phone_number(num.number) # "+12025550142"
2424
otp = await num.wait_for_otp(timeout=60)
2525
await enter_otp(otp.otp_code) # "391847"
2626
# number auto-released
@@ -43,7 +43,7 @@ Get your API key at [console.agentsim.dev](https://console.agentsim.dev).
4343
Returns an async context manager. Provisions a number on enter, auto-releases on exit (even if the body raises).
4444

4545
```python
46-
async with agentsim.provision(agent_id="stripe-setup", country="US") as num:
46+
async with agentsim.provision(agent_id="checkout-bot", country="US") as num:
4747
print(num.number) # E.164 phone number
4848
print(num.session_id)
4949
otp = await num.wait_for_otp(timeout=30)
@@ -82,4 +82,4 @@ with agentsim.provision_sync(agent_id="x") as num:
8282

8383
## Supported Countries
8484

85-
US
85+
US

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "agentsim-sdk"
3-
version = "0.21.0"
3+
version = "0.22.0"
44
description = "AgentSIM Python SDK — autonomous OTP relay for AI agents"
55
readme = "README.md"
66
requires-python = ">=3.11"

0 commit comments

Comments
 (0)