Skip to main content

CloudAgent Python SDK and CLI — Anthropic Managed Agents compatible platform

Project description

cloudagent

Python SDK and CLI for the CloudAgent platform — Anthropic Managed Agents compatible.

Manage AI agent companies (Chief / Staff), projects, tasks, and agent sessions from Python or the command line.

Installation

pip install cloudagent

Requires Python 3.10+.

Quickstart — CLI

# Configure once
cloudagent auth login --api-key $YOUR_API_KEY

# Create an agent and a session, then send a message
cloudagent agents create --name my-agent --model claude-sonnet-4-6
cloudagent sessions create --agent-id agt_xxx
cloudagent sessions send --session-id ses_xxx --text "hello"

Run cloudagent --help to see all commands.

Quickstart — Python SDK

from cloudagent import CloudAgentClient

client = CloudAgentClient(api_key="...", base_url="https://api.cloudagent.chat")

# Existing low-level access (will be wrapped in resource methods over upcoming
# 0.3.x releases — companies / staffs / projects / tasks / sessions / messages).
result = client.get("/v1/agents", params={"limit": 10})

A higher-level resource API (client.companies.create(...), client.tasks.create(...), client.sessions.messages.create(...), etc.) is on the 0.3.x roadmap.

Configuration

Setting Source Default
API key cloudagent auth login~/.config/cloudagent/credentials or env CLOUDAGENT_API_KEY
Base URL env CLOUDAGENT_BASE_URL https://api.cloudagent.chat

Migration from cloudagent-cli

cloudagent-cli (≤ 0.1.3) has been superseded by this package. Imports and CLI behaviour are preserved:

Before Now
pip install cloudagent-cli pip install cloudagent
from cloudagent_cli ... from cloudagent ...
cloudagent CLI command cloudagent CLI command (unchanged)

cloudagent-cli will be deprecated and yanked from PyPI after a transition period.

License

MIT — see LICENSE.

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

cloudagent-0.2.1.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

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

cloudagent-0.2.1-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file cloudagent-0.2.1.tar.gz.

File metadata

  • Download URL: cloudagent-0.2.1.tar.gz
  • Upload date:
  • Size: 23.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for cloudagent-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b18408bf9e55cd871c334632372b23def7569edf1b1349cbed17cc021ba2bf41
MD5 8e8e2b3f7ffaf5eb8c7a40c4004e57cb
BLAKE2b-256 33b356f9eeaf9d4b3b9b7ecebdeeb4b274ff03b4ed2e65cec0c711e688bbb29c

See more details on using hashes here.

File details

Details for the file cloudagent-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: cloudagent-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for cloudagent-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 35a2a497b8c36f9b30cf6ec118704a66f094284710f8fda13837b6924219dea2
MD5 4e30285820a3610b883ba78ca5d1f58b
BLAKE2b-256 1c98d4fd468612fcb058763fc29053262e901cf80c283b9e145e0badb9a08c67

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