Skip to main content

Command-line interface for the Tamarind Bio platform — submit, monitor, and download protein/molecule jobs from your terminal or an AI agent.

Project description

Tamarind CLI

Command-line interface for the Tamarind Bio platform. Discover tools, submit and monitor protein / nucleic-acid / small-molecule jobs, and download results — from your terminal, a script, CI, or an AI coding agent (Claude Code, Codex, …).

The CLI is a thin client over the same API the Tamarind MCP server uses, so the two stay in lockstep. See docs/architecture.md for how drift is prevented.

Install

Once published to PyPI:

curl -fsSL https://install.tamarind.bio/cli/install.sh | sh
# or:
uv tool install tamarind-cli      # or: pipx install tamarind-cli

Before then (or to track the repo directly), install from git:

uv tool install "git+https://github.com/Tamarind-Bio/tamarind-cli"
# or: pipx install "git+https://github.com/Tamarind-Bio/tamarind-cli"

Releasing: tag a GitHub Release and the publish.yml workflow builds and uploads to PyPI via Trusted Publishing (configure the trusted publisher for tamarind-cli on PyPI first).

Authenticate

Get an API key from the Tamarind web app (Settings → API), then either:

export TAMARIND_API_KEY="sk_..."      # best for agents / CI
# or
tamarind auth login                    # stores it in ~/.tamarind/config.json
tamarind auth status

Quickstart

# 1. Find a tool
tamarind tools --function structure-prediction --modality protein
tamarind tools --search boltz

# 2. Inspect its parameters and grab a runnable example
tamarind schema boltz
tamarind schema boltz --example > job.yaml

# 3. Validate, then submit
tamarind validate boltz --input job.yaml
tamarind submit   boltz --input job.yaml --name my-run --wait --download ./out

# 4. Monitor / fetch
tamarind jobs
tamarind status my-run
tamarind results my-run --download ./out

Set individual fields inline instead of a file:

tamarind submit boltz \
  --set inputFormat=sequence \
  --set sequence=MKTVRQERLKSIVRIL... \
  --name quick-fold

Output for agents

Every command emits JSON when stdout is not a TTY, or with --json. Exit codes are stable: 0 ok, 3 auth, 4 not-found, 5 validation, 6 rate-limit.

tamarind jobs --json | jq '.jobs[] | select(.JobStatus=="Running")'

Commands

Group Commands
Discover tools, modalities, functions, schema
Submit validate, submit, batch
Monitor jobs, status, wait, results, logs
Files files list, files upload, files delete, files folders
Lifecycle cancel, delete
Auth auth login, auth status, auth logout

Run tamarind <command> --help for full options.

Configuration

Setting Flag Env var Default
API key --api-key TAMARIND_API_KEY
Job API base --api-base TAMARIND_API_BASE https://app.tamarind.bio/api/
Catalog base --catalog-base TAMARIND_CATALOG_BASE https://mcp.tamarind.bio
Profile --profile TAMARIND_PROFILE default

Profiles (key + endpoints) are stored in ~/.tamarind/config.json. Use a profile to point at staging:

tamarind --profile staging --api-base https://staging.tamarind.bio/api/ auth login
TAMARIND_PROFILE=staging tamarind tools

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

tamarind_cli-0.1.0.tar.gz (42.8 kB view details)

Uploaded Source

Built Distribution

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

tamarind_cli-0.1.0-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tamarind_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 42.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tamarind_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ff87dbc3bd975a248325629ffac4a505f989b2e9b0c1b068f798d47b932baca0
MD5 1b0fe3ad6bf30973228aed80580e80eb
BLAKE2b-256 8dfdb40051b0129acd909b0a264bd823afeef979f88652db43f817b105f91bd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for tamarind_cli-0.1.0.tar.gz:

Publisher: publish.yml on Tamarind-Bio/tamarind-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: tamarind_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tamarind_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 806421cb694bb3cf93e7e87744fedfbdee9ed0993fe6f35868a54ff8784ed071
MD5 c2891961c82a419dfc08ec2cc1ea9a08
BLAKE2b-256 2fa1d46795e0b0645778ae43cdb914a8bc8dacdb33e17bbb43b19ca233a6c46a

See more details on using hashes here.

Provenance

The following attestation bundles were made for tamarind_cli-0.1.0-py3-none-any.whl:

Publisher: publish.yml on Tamarind-Bio/tamarind-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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