{"id":37081690,"url":"https://github.com/agbcloud/agbcloud-sdk","last_synced_at":"2026-04-07T06:00:30.203Z","repository":{"id":313584053,"uuid":"1049584652","full_name":"agbcloud/agbcloud-sdk","owner":"agbcloud","description":"AI-native cross-platform sandboxes for developers, featuring multimodal cloud runtime and expert agents.","archived":false,"fork":false,"pushed_at":"2026-03-26T06:54:06.000Z","size":2143,"stargazers_count":663,"open_issues_count":0,"forks_count":55,"subscribers_count":43,"default_branch":"master","last_synced_at":"2026-03-27T02:13:09.608Z","etag":null,"topics":["ai","ai-agents","code-interpreter","gpt","llm","python","sandbox"],"latest_commit_sha":null,"homepage":"https://agb.cloud","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agbcloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-03T07:40:05.000Z","updated_at":"2026-03-26T21:40:14.000Z","dependencies_parsed_at":"2025-09-07T05:36:09.802Z","dependency_job_id":"3b6420bf-4436-4e12-af07-1ada8bb36cb5","html_url":"https://github.com/agbcloud/agbcloud-sdk","commit_stats":null,"previous_names":["agbcloud/agbcloud-sdk"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/agbcloud/agbcloud-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agbcloud%2Fagbcloud-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agbcloud%2Fagbcloud-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agbcloud%2Fagbcloud-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agbcloud%2Fagbcloud-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agbcloud","download_url":"https://codeload.github.com/agbcloud/agbcloud-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agbcloud%2Fagbcloud-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31501903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","ai-agents","code-interpreter","gpt","llm","python","sandbox"],"created_at":"2026-01-14T09:55:55.217Z","updated_at":"2026-04-07T06:00:30.193Z","avatar_url":"https://github.com/agbcloud.png","language":"Python","readme":"\u003ch1 align=\"center\"\u003eAGB Python SDK\u003c/h1\u003e\n\u003ch4 align=\"center\"\u003e\n  \u003ca href=\"https://pypi.org/project/agbcloud-sdk/\"\u003e\n    \u003cimg alt=\"Last 1 month downloads for the Python SDK\" loading=\"lazy\" decoding=\"async\" style=\"color:transparent;width:170px;height:18px\" src=\"https://static.pepy.tech/personalized-badge/agbcloud-sdk?period=monthly\u0026units=INTERNATIONAL_SYSTEM\u0026left_color=BLACK\u0026right_color=GREEN\u0026left_text=PyPi%20Monthly%20Downloads\"\u003e\n  \u003c/a\u003e\n\u003c/h4\u003e\n\n---\n\n## 🔥 Moltbot (formerly Clawdbot) Quick Deployment\n\nYou can use AGB SDK to spin up a prebuilt Moltbot cloud desktop in minutes, then open the Moltbot console inside the desktop browser.\n\n- **Cookbook (Discord):** [docs/examples/openclaw/openclaw_discord_config_example.py](docs/examples/openclaw/openclaw_discord_config_example.py) — create session, run openclaw config (Bailian/Discord), and get the cloud desktop URL.\n- **Cookbook (Slack):** [docs/examples/openclaw/openclaw_slack_config_example.py](docs/examples/openclaw/openclaw_slack_config_example.py) — create session, run openclaw config (Bailian/Slack), and get the cloud desktop URL.\n- **Cookbook (Telegram):** [docs/examples/openclaw/openclaw_telegram_config_example.py](docs/examples/openclaw/openclaw_telegram_config_example.py) — create session, run openclaw config (Bailian/Telegram), and get the cloud desktop URL.\n- **Cloud Desktop URL:** The example prints `session.resource_url` and pauses for hands-on exploration.\n- **Moltbot console:** Open `http://127.0.0.1:18789` inside the cloud desktop.\n\n---\n\nAGB Cloud SDK provides client libraries for interacting with the AGB cloud service.\n\n## Features\n\n- Create and manage sessions in the AGB cloud environment\n- Work with file system, command execution, and code execution modules\n- Browser automation with AI-powered natural language operations\n- Persistent context management with sync policies\n\n### 🎯 Scenario-Based Features\n- **Computer Use** - Linux computer control (mouse, keyboard, window, application, screen)\n- **Browser Use** - Web automation, scraping, and browser control\n- **CodeSpace** - Code execution and development environment\n\n## Installation\n\n```bash\n# Python\npip install agbcloud-sdk\n\n# TypeScript\nnpm install agbcloud-sdk\n```\n\n## Quick Start\n\n### Python\n\n```python\nfrom agb import AGB\nfrom agb.session_params import CreateSessionParams\n\n# Initialize AGB with your API key\nagb = AGB(api_key=\"your-api-key\")\n\n# Create a session\nparams = CreateSessionParams(\n    image_id=\"agb-code-space-1\",\n)\nresult = agb.create(params)\n\nif result.success:\n    session = result.session\n\n    # Execute Python code\n    code_result = session.code.run(\"print('Hello AGB!')\", \"python\")\n    print(code_result.result)\n\n    # Execute shell command\n    cmd_result = session.command.execute(\"ls -la\")\n    print(cmd_result.output)\n\n    # Work with files\n    session.file.write(\"/tmp/test.txt\", \"Hello World!\")\n    file_result = session.file.read(\"/tmp/test.txt\")\n    print(file_result.content)\n\n    # Clean up\n    agb.delete(session)\nelse:\n    print(f\"Failed to create session: {result.error_message}\")\n```\n\n### TypeScript\n\n```typescript\nimport { AGB, CreateSessionParams } from \"agbcloud-sdk\";\n\n// Initialize AGB with your API key\nconst agb = new AGB({ apiKey: \"your-api-key\" });\n\n// Create a session\nconst params = new CreateSessionParams({ imageId: \"agb-code-space-1\" });\nconst result = await agb.create(params);\n\nif (result.success \u0026\u0026 result.session) {\n  const session = result.session;\n\n  // Execute Python code\n  const codeResult = await session.code.run(\"print('Hello AGB!')\", \"python\");\n  console.log(codeResult.results[0]?.text);\n\n  // Execute shell command\n  const cmdResult = await session.command.execute(\"ls -la\");\n  console.log(cmdResult.stdout);\n\n  // Work with files\n  await session.file.writeFile(\"/tmp/test.txt\", \"Hello World!\");\n  const fileResult = await session.file.readFile(\"/tmp/test.txt\");\n  console.log(fileResult.content);\n\n  // Clean up\n  await agb.delete(session);\n} else {\n  console.error(`Failed to create session: ${result.errorMessage}`);\n}\n```\n\n## Documentation\n\nFor comprehensive documentation, guides, and examples, visit:\n\n📚 **[Complete Documentation](docs/README.md)**\n\n- [Quick Start Guide](docs/quickstart.md) - Get started quickly with basic examples\n- [User Guides](docs/README.md) - Comprehensive guides and tutorials\n- [API Reference](docs/api-reference/README.md) - Detailed API documentation\n- [Examples](docs/examples/README.md) - Practical usage examples\n\n## Development\n\n### Python\n\n```bash\ncd python\npython -m venv .venv\nsource .venv/bin/activate  # On Windows: .venv\\Scripts\\activate\npip install -e \".[dev,test]\"\n```\n\n### TypeScript\n\n```bash\ncd typescript\nnpm install\nnpm run build\nnpm test\n```\n\n## Get Help\n- [GitHub Issues](https://github.com/agbcloud/agbcloud-sdk/issues)\n\n## Contact\nWelcome to visit our product website and join our community!\n\n- **AGB Product Website**: [https://agb.cloud/](https://agb.cloud/)\n- **AGB Console**: [https://agb.cloud/console/overview](https://agb.cloud/console/overview)\n- **Discord Community**: [Join on Discord](https://discord.gg/WQ2EHJxhy7)\n\n## License\n\nThis project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagbcloud%2Fagbcloud-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagbcloud%2Fagbcloud-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagbcloud%2Fagbcloud-sdk/lists"}