Skip to main content

socaity-cli

The command line for the socaity.ai platform: login, catalog browsing, socaity run, and APIPod deployment tooling. One socaity command, shared by the socaity SDK and APIPod.

The package is deliberately small: httpx2 and socaity-schemas are the only dependencies. Commands that need more (SDK run, container builds) delegate to the socaity or apipod package and tell you what to install when it is missing.

Install

pip install socaity-cli

You get socaity-cli as part of pip install socaity or pip install apipod as well.

Commands

Command Needs What it does
socaity login / logout / whoami - Browser login, credentials in ~/.config/socaity/
socaity list services|models - Browse the AI catalog
socaity search "flux schnel" - Typo-tolerant search (--collections services,models,jobs)
socaity jobs [job_id] login List/search jobs; --q, --expand data,files,billing,social, --visibility
socaity projects [project_id] login Your projects; --expand jobs embeds member jobs
socaity run <target> socaity Catalog job, agent turn, or workflow run
socaity connector add <url> login Register an HTTP API (OpenAPI URL, docs page or API root) or MCP server as a private connector; --token-env NAME or --oauth
socaity connector auth <service_id> login Change the connector's credential: --token-env NAME or --oauth (prints and opens the authorize URL)
socaity connector disconnect <service_id> login Remove your credential binding; connector and vault row stay
socaity scan apipod Scan a project and generate apipod.json
socaity build [file] apipod Build the deployment container
socaity start [entrypoint] apipod Run an APIPod service locally
socaity deploy [target] apipod Deploy to Socaity (wraps apipod deploy)

Use --project-dir DIR with scan/build/start/deploy to point at a service project directory (e.g. socaity --project-dir simple_test_service deploy serverless-runpod --yes).

Configuration

Env var Default Purpose
SOCAITY_API_KEY from login API key (wins over stored credentials)
SOCAITY_BACKEND_URL https://webapi.socaity.ai Platform API (env wins; login file is fallback only, never written into the process)
SOCAITY_FRONTEND_URL https://socaity.ai Web UI for browser login

Using it as a library

socaity and apipod build on the same primitives this package exposes:

from socaity_cli import SocaityBackendClient, get_api_key, requires

SocaityBackendClient covers catalog reads, search, and connectors (inspect_connector, register_connector, change_connector_credential, disconnect_connector_credential). The first three stream server-sent events to on_event (progress, authorize); inspect writes no catalog row. Catalog rows are Service models: details[] holds the spec plus a nested deployment or connector for the URL. details[0] is the binding unpinned calls use. Pass it as details_id to pin the spec. Resume a deploy with deployment_id (that binding's deployment.id). Connectors are services with kind == "connector". requires("apipod") guards a function behind an optional package with a friendly install hint instead of an ImportError traceback.

Metadata

Release files for socaity-cli 0.1.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for socaity-cli 0.1.16
File Size Uploaded Provenance Actions
socaity_cli-0.1.16.tar.gz 48.8 kB Without provenance Details for socaity_cli-0.1.16.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for socaity-cli 0.1.16
File Interpreter ABI Platform Actions
socaity_cli-0.1.16-py3-none-any.whl Python 3 none any Details for socaity_cli-0.1.16-py3-none-any.whl

Total release size: 105.4 kB

Release files / socaity_cli-0.1.16.tar.gz

Download URL socaity_cli-0.1.16.tar.gz
Size 48.8 kB
Tags Source
SHA-256 checksum
How to use checksums
569c311c9b398fdad3e8c885e4f0bee0f93c8f2bd1e0799b03c9152556036842
BLAKE2b-256 checksum
How to use checksums
9bfbb6c1d244858535280b98bc7b07a643eef6adf220bffe72f21de3eaf3c56b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / socaity_cli-0.1.16-py3-none-any.whl

Download URL socaity_cli-0.1.16-py3-none-any.whl
Size 56.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2dc7b845b7ba042a6eea120ed8c306999c2b9829f144f72c59e03aa615b29d94
BLAKE2b-256 checksum
How to use checksums
2ec2efe91ef5ed1236dd8b97992367026c2034df8199a2ce01849e413b7c201e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for socaity-cli 0.1.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page