Skip to main content

Artifacta CLI and Python SDK — artifact store for AI agents

Project description

Artifacta

The artifact store purpose-built for AI agents.

Artifacta gives your agents a single push / pull interface over durable, deduplicated, session-aware storage — so you can stop writing S3 glue code and /tmp hacks between pipeline steps.

  • CLIartifacta push, pull, ls, link, session, whoami
  • Python SDKfrom artifacta import Client
  • REST API — every language; see docs.artifacta.io

Both the CLI binary and the Python SDK ship in this one package.


Install

pip install artifacta-cli

Requires Python 3.10+. After install you get the artifacta binary on your PATH and from artifacta import Client in Python.

Verify:

artifacta --version

Authenticate

Sign up at app.artifacta.io/signup. Copy your API key from the onboarding screen (keys start with ak_live_), then:

artifacta login
# Paste your ak_live_... key when prompted

Or set the environment variable — recommended for agents and CI, since every sub-process inherits it automatically:

export ARTIFACTA_API_KEY="ak_live_..."

Confirm:

artifacta whoami

Push → list → pull

# Upload a file, tagged with a session
artifacta push report.pdf --session demo-run

# List everything in that session
artifacta ls --session demo-run

# Pull it back later, from any machine
artifacta pull art_2xk9f7v3m1p0 -o ./downloads/

Same thing from Python

from artifacta import Client

client = Client()  # reads ARTIFACTA_API_KEY from env

artifact = client.push("report.pdf", session_id="demo-run")
print(artifact.id)  # art_2xk9f7v3m1p0

result = client.list(session_id="demo-run")
for a in result.artifacts:
    print(a.id, a.filename)

client.pull(artifact.id, output="./downloads/")

Share a file with a human

artifacta push slides.pdf --session demo-run --link
# → https://dl.artifacta.io/lnk_... (expires in 7 days)

Agent patterns

Set the session and key once in your orchestrator; every sub-agent inherits them:

export ARTIFACTA_API_KEY="ak_live_..."
export ARTIFACTA_SESSION_ID="$(artifacta session new)"

python agent_a.py   # pushes inherit ARTIFACTA_SESSION_ID automatically
python agent_b.py   # same session, zero flag passing

Auto-JSON when stdout is piped, human-readable on a TTY:

artifacta ls --session demo-run | jq '.artifacts[].id'

Plans

Free Pro ($20/mo)
Storage 1 GB 100 GB
Requests 10,000 / month 1,000,000 / month
Max TTL 90 days 365 days
Presigned uploads (> 500 MB)
API keys 10 50

Upgrade from the dashboard.


Links

License

MIT

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

artifacta_cli-0.2.0.tar.gz (52.6 kB view details)

Uploaded Source

Built Distribution

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

artifacta_cli-0.2.0-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

Details for the file artifacta_cli-0.2.0.tar.gz.

File metadata

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

File hashes

Hashes for artifacta_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fb20ddcf54578ac026430ef0206f64b0030ec426701cff1f108ad6cc5474ca1e
MD5 dbf6c1833a6c0a03de7b6ae8d0b3b191
BLAKE2b-256 eb2227ebb9d90bca165b43ec4b80cf82a0f644b2a5e188f3e561d2593d63b575

See more details on using hashes here.

Provenance

The following attestation bundles were made for artifacta_cli-0.2.0.tar.gz:

Publisher: publish-pypi.yml on SagaPeak/artifacta

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

File details

Details for the file artifacta_cli-0.2.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for artifacta_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 225c72274250ff34fd584800aa75bb18cf56b6332be205e483a765ae94470e0c
MD5 9b5ad1b42c1b91b56019d2f4ad416e35
BLAKE2b-256 1990fb5c023ea259f4e625a0811957c74b4b3d230bcf35cb8376025d431dece5

See more details on using hashes here.

Provenance

The following attestation bundles were made for artifacta_cli-0.2.0-py3-none-any.whl:

Publisher: publish-pypi.yml on SagaPeak/artifacta

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