Skip to main content

Agentsphere SDK that give agents cloud environments

Project description

Agentsphere Python SDK

PyPI version

What is Agentsphere?

Agentsphere is an infrastructure that allows you to run AI-generated code in secure isolated sandboxes in the cloud. To start and control sandboxes, use our Python SDK.

Run your first Sandbox

1. Install SDK

pip install agentsphere

2. Get your Agentsphere API key

  1. Sign up to Agentsphere here.
  2. Get your API key here.
  3. Set environment variable with your API key
AGENTSPHERE_API_KEY=***

3. Start a sandbox and run commands

from agentsphere import Sandbox

with Sandbox.create() as sandbox:
    result = sandbox.commands.run('echo "Hello from Agentsphere!"')
    print(result.stdout)  # Hello from Agentsphere!

4. Check docs

Visit Agentsphere documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentsphere-3.0.0.tar.gz (155.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentsphere-3.0.0-py3-none-any.whl (300.3 kB view details)

Uploaded Python 3

File details

Details for the file agentsphere-3.0.0.tar.gz.

File metadata

  • Download URL: agentsphere-3.0.0.tar.gz
  • Upload date:
  • Size: 155.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.2

File hashes

Hashes for agentsphere-3.0.0.tar.gz
Algorithm Hash digest
SHA256 cafab1f8592c6b66d6cb83de58a7cee8f1a518d12c7a1721f7e0ea8ebe9706b7
MD5 71c38c7d2fa4d0bcd372c1a6d9e9e8e1
BLAKE2b-256 ae77d985252d721c30c318b3d35ea401a2e730176af5a175e44248047cf45d2d

See more details on using hashes here.

File details

Details for the file agentsphere-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agentsphere-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26d741755e5dfcfba6ccb77c7a4dc4586f65ef8235310eb1daffe333444fd4fb
MD5 f68bd835acaa7a0e5a34c6a527f54817
BLAKE2b-256 1a6ce7ff31cb451a125ee8872c2fea863dc2c111bfeee05b77015b39da4aed51

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page