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 quickly installed alongside your standard developer tools:

# 1. Clone or step into the Scios project (if building from source)
cd packages/cli 

# 2. Install the `scios-cli` pip package globally 
pip install -e .

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

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.0.tar.gz (12.2 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.0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scios_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 12.2 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.0.tar.gz
Algorithm Hash digest
SHA256 5266cd0e882487a6e62001d7398c25e6cb4604b8cc11c1c5f6c451e7374a5547
MD5 01fb4b41e39a0aa839ea514d5db8a912
BLAKE2b-256 c12a6afc89873df29390ddff3d390a0db00572479f741022ecaa1bc82dd1db7b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scios_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b4c8322ba1fdaf1ce4c58e7752927ff6581a6d0ed32b5cded94b0b606d9adbb
MD5 7d06681408c682646d2e0f0eed5c48a8
BLAKE2b-256 d6b8d58f0e0aa6d0abd99ce6c3abd2d6686db41db150439b83a7600f0bdbd007

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