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.15

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.15
File Size Uploaded Provenance Actions
socaity_cli-0.1.15.tar.gz 48.2 kB Without provenance Details for socaity_cli-0.1.15.tar.gz

Built distribution (wheel)

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

Total release size: 104.3 kB

Release files / socaity_cli-0.1.15.tar.gz

Download URL socaity_cli-0.1.15.tar.gz
Size 48.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1f262897c0e6521320386b8e56a2298b1c0ee67a61cc3e91ee6d08be71133342
BLAKE2b-256 checksum
How to use checksums
07ef8eb0ee6ded398f84099029ec81716a3184e398c045da1ea696c7617b9c09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL socaity_cli-0.1.15-py3-none-any.whl
Size 56.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68b0cb75fe64bb26d61f97df21fa2729b9269a5fa043f4aa589829483e61307a
BLAKE2b-256 checksum
How to use checksums
3627aad8d045ce780949909b683943f844fb93ae88f635f0afd804a4170d4ebf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for socaity-cli 0.1.15

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