Agent Runtime SDK for igentbase — build sandboxed AI agents with one import
Project description
agentkit-runtime — Agent Runtime SDK for igentbase
Build sandboxed AI agents with 38 permissions, encrypted vault, scoped storage, and sandboxing.
Install
pip install agentkit-runtime
Usage
from agentkit_runtime import AgentRuntime
agent = AgentRuntime()
# Network requests (declared hosts only)
resp = agent.internet.get("https://api.openai.com/v1/models")
# Encrypted secrets vault
api_key = agent.secrets.require("OPENAI_API_KEY")
# Clipboard
text = agent.clipboard.read()
# Scoped storage (declared directories only)
files = agent.storage_read.list_files("Documents", "*.pdf")
content = agent.storage_read.read_text(files[0].path)
# Notifications
agent.notifications.send("Done!", "Processed all files")
# Logging (local file + stderr + syslog)
agent.local.log.info("task complete")
# Push log to Manager UI
agent.system.log.info("Agent ready")
# Check permissions at runtime
if agent.permissions.is_granted("CAMERA"):
photo = agent.camera.capture()
# Check agent dependencies
if agent.dependencies.is_installed("com.dev.other-agent"):
result = agent.call("com.dev.other-agent", "analyze", {"text": "hello"})
Permissions
Agents declare permissions in manifest.yaml. Users review and approve at install time. Runtime permissions prompt the user on first use (Allow / Allow Once / Don't Allow).
38 permissions across 14 categories:
| Category | Permissions |
|---|---|
| Network | INTERNET, LISTEN_PORT |
| Display | CLIPBOARD, SCREEN_CAPTURE |
| Device | CAMERA, MICROPHONE, AUDIO_OUTPUT |
| System | NOTIFICATIONS, SYSTEM_INFO, ENV_VARS, SECRETS, RUN_COMMAND, OPEN_URL |
| Inspection | NETWORK_INFO, INSTALLED_SOFTWARE, PROCESS_LIST, SERVICE_LIST |
| Modification | INSTALL_SOFTWARE |
| Storage | STORAGE_READ, STORAGE_WRITE, FULL_STORAGE_READ, FULL_STORAGE_WRITE, AGENT_SHARED_DATA |
| Hardware | BLUETOOTH, LOCATION, USB |
| PIM | CONTACTS, CALENDAR |
| Power | WAKE_LOCK, SYSTEM_SETTINGS, WALLPAPER, VIBRATE |
| Connectivity | NFC |
| Security | BIOMETRIC, ACCESSIBILITY |
| Scheduling | SCHEDULED_TASKS |
| Service | BACKGROUND_SERVICE, RECEIVE_EVENTS |
Security
Agents run in a secure, isolated environment. Every system resource is access-controlled through permissions — agents can only do what the user explicitly allows.
Docs
- Developer Guide: https://www.igentbase.com/docs-developer
- Provider Reference: https://www.igentbase.com/docs-providers
- Marketplace: https://www.igentbase.com
Built by igentbase Inc.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentkit_runtime-0.1.2.tar.gz.
File metadata
- Download URL: agentkit_runtime-0.1.2.tar.gz
- Upload date:
- Size: 40.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a2e40accf206d8e696e0c2bd6c84e3d5ff4884a2ab3dba5ea28e3cd268f0a9d
|
|
| MD5 |
5b4affa92d97b5fa4ef6b4cdff90baa8
|
|
| BLAKE2b-256 |
ee9f2d436a46c9029e349f9b00328c18a64baf5def26fba6666f754e6afc1d9b
|
File details
Details for the file agentkit_runtime-0.1.2-py3-none-any.whl.
File metadata
- Download URL: agentkit_runtime-0.1.2-py3-none-any.whl
- Upload date:
- Size: 28.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99ad27269787f9f996b9020dddb9138607bef6afaf6393d3438535d7503d3c19
|
|
| MD5 |
7185d683a4a9861f32f4615a4c7287ff
|
|
| BLAKE2b-256 |
83e43f89017aabd796296bb404c06f34a754858aced37a99f7efc9ee3ad73056
|