What is Agentsphere?
Agentsphere is an open-source infrastructure that allows you to run AI-generated code in secure isolated sandboxes in the cloud. To start and control sandboxes, use our JavaScript SDK or Python SDK.
Run your first Sandbox
1. Install SDK
pip install agentsphere-code-interpreter
2. Get your Agentsphere API key
AGENTSPHERE_API_KEY= ***
3. Execute code with code interpreter inside Sandbox
from iruidong import Sandbox
with Sandbox.create() as sandbox:
sandbox.run_code("x = 1")
execution = sandbox.run_code("x+=1; x")
print(execution.text) # outputs 2
4. Check docs
Visit Agentsphere documentation.
Metadata
Release files for iruidong 2.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iruidong-2.1.6.tar.gz | 76.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iruidong-2.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 233.2 kB
Release files / iruidong-2.1.6.tar.gz
| Download URL | iruidong-2.1.6.tar.gz |
|---|---|
| Size | 76.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ca11a4b01a62281dea1f160b543b525ced8e0d7072a72cfe6555d9593c8a704
|
|
BLAKE2b-256 checksum How to use checksums |
e6944f331b5c637c7e49515e406f51b2a7d19022acbf4a75532b52541aa5f7ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.2
|
Release files / iruidong-2.1.6-py3-none-any.whl
| Download URL | iruidong-2.1.6-py3-none-any.whl |
|---|---|
| Size | 156.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d78430053c992fcc760ed25303a070e8133a49e6853f0a2d1d6a02f35dd732b2
|
|
BLAKE2b-256 checksum How to use checksums |
42da8b0af9be097280c7ae5dc4d76b5928e733f5dc1aa342a37011a9f05a8a8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.2
|