Skip to main content

Scios Local Agent Workspace Sync CLI — bridge your terminal to the Scios Cloud backend

Project description

Scios CLI 🚀

The local workspace engine bridging your terminal natively to the Scios Cloud backend.

Instead of hunting for logs scattered across web panels or modifying long agent prompts in narrow browser textboxes, you can now push a button on the Web UI to magically download the entire codebase to your machine and hot-reload changes as you type!

Overview

By installing this lightweight Python package, whenever you click the "Open in Antigravity" button in Scios Web:

  1. Your browser will spawn an interactive Terminal securely connected to your session.
  2. The entire project is downloaded and formatted into a structured local directory (sync_<idea_id>/agents/).
  3. You can use native VS Code, your own linter, and formatting extensions to iterate on the Agent architecture.
  4. When you press CMD+S locally, the scios-cli instantly pushes the diff back to the live Cloud instances seamlessly!

💻 Installation

Scios CLI requires Python 3.9+ and can be installed in one command:

pip install scios-cli

Note: If scios-init / scios-sync aren't found after install, use the python3 -m form instead:

python3 -m scios_cli init    # same as scios-init
python3 -m scios_cli sync    # same as scios-sync

Install Deep Link Handler (Critical) 🔗

Web Browsers strictly sandbox their environment for security. To enable true one-click magical execution without copying and pasting terminal commands, you must register the native OS Protocol handler (scios://).

Run this command once anywhere in your terminal after installation:

scios-init
# or: python3 -m scios_cli init

This is fully cross-platform and will instantly register exactly what your OS needs:

  • 🍎 macOS: An AppleScript wrapper app is loaded to Launch Services.
  • 🐧 Linux: An .desktop MimeType handler explicitly set.
  • 🪟 Windows: The protocol hooks injected correctly into HKEY_CURRENT_USER.

🏃 Usage & Workflow

1. Activating the Live Sync

  1. In the Scios Web App, navigate to any specific Idea or Workflow node.
  2. Next to the "Run Pipeline" button in the header, click Open in Antigravity.
  3. A popup will ask you "Allow this site to open SciosSync?" — Click Open.

Your system Terminal will spawn, authenticate with your specific user session automatically behind the scenes, and print:

🔗 Received Deep Link: scios://sync?id=...
✨ Successfully pulled Scios project down over API.
👀 Watching /sync_1234abcd/agents for live agent code changes... (Press Ctrl+C to exit)

2. Modifying Code Locally

Your OS will now have a /sync_<idea_id> directory precisely at the root of where your terminal spawned. Simply drag that folder right into VS Code:

  • Tweak the pandas logic, alter an LLM system prompt, or build an entire new reasoning strategy in agents/MyAgent.py.
  • Hit Save: Your terminal will blink immediately: ✅ Successfully updated agent code over API!

3. Remote Triggering (--local)

If you don't want to use the web application to trigger an execution loop and you just want to launch your new logic:

scios-sync 1234-5678-your-idea-id --endpoint "https://api.scios.ai/v1" --token "eyJh..." --local

Passing --local directly triggers the Cloud APIs to launch that pipeline on the heavy GPUs immediately without ever having to touch a web button.


Manual Fallback Commands

If for some reason your organization blocks Deep Links, the "Open in Antigravity" button also copies a fail-safe execution string to your OS Clipboard:

scios-sync <idea_id> --endpoint "..." --token "..."

You can simply paste this string straight into your terminal after installing the pip package to achieve exact feature parity!

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

scios_cli-0.1.1.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

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

scios_cli-0.1.1-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file scios_cli-0.1.1.tar.gz.

File metadata

  • Download URL: scios_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for scios_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9ddba6d2ed11eefc7b461bdc21a220125b253cc247aeb835c40907cfd64b2c12
MD5 d48449936a7d7060ca44bb2949133810
BLAKE2b-256 bb7e7bbd78afeafec2656e51f7b5f3e5e6a0ccd1e0db928488085afeabdc208a

See more details on using hashes here.

File details

Details for the file scios_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: scios_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for scios_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ef8d2ca813c9483c487efcfc4d1fb8b57c38f1c751da8d77b0cd1708e8a0ccce
MD5 190c38646be5416ad29b3d583612e276
BLAKE2b-256 102fee3b47f67b47ad53ad2323b9e0ebccfbd8a29aa2e9990fe3646cae6e20f8

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