Skip to main content

Automatically generates a working .devcontainer/ setup for any project using an AI agent

Project description

Keystone: an agentic tool to configure Dockerfiles for any repo

Keystone automatically generates a working .devcontainer/ configuration for any project using an AI agent. Given a source repo, it analyzes the project structure and creates:

  • //devcontainer/devcontainer.json - VS Code dev container configuration
  • //devcontainer/Dockerfile - Container image definition
  • //devcontainer/run_all_tests.sh - Test runner script with artifact collection

Prerequisite setup

  • A [Modal account] (https://modal.com/docs/guide#getting-started) -- we use this to safely sandbox Claude Code as it works on your container.
  • $ANTHROPIC_API_KEY -- Keystone uses your API key to run Claude Code in its Modal sandbox.
  • uvx to run Keystone.

Example usage

Run directly from the repository using uvx:

# Make a repo.
git clone https://github.com/fastapi/fastapi

# Make a devcontainer for it.
uvx --from 'git+https://github.com/imbue-ai/keystone@prod' \
  keystone \
  --max_budget_usd 1.0 \
  --test_artifacts_dir /tmp/test_artifacts \
  --project_root ./fastapi

Not currently supported:

  • Setting up environments for projects that use Docker. (Keystone does not currently work on itself.)

Developer Notes

Running from source

# Run local code tree on a project.
uvx run keystone \
  --max_budget_usd 3.0 \
  --test_artifacts_dir /tmp/test_artifacts \
  --project_root ./samples/python_project

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

imbue_keystone-1.0.1.tar.gz (107.8 kB view details)

Uploaded Source

Built Distribution

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

imbue_keystone-1.0.1-py3-none-any.whl (82.8 kB view details)

Uploaded Python 3

File details

Details for the file imbue_keystone-1.0.1.tar.gz.

File metadata

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

File hashes

Hashes for imbue_keystone-1.0.1.tar.gz
Algorithm Hash digest
SHA256 817f998914d92096a44fad9d2263bcc13368faedb0417f6a2001ba1802359e70
MD5 a60810e7727381e06848364082eb571e
BLAKE2b-256 0868c9fa54ef25e064e7908e52d31301e227c70abf1e516296befd95a41a57f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for imbue_keystone-1.0.1.tar.gz:

Publisher: publish.yml on imbue-ai/keystone

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

File details

Details for the file imbue_keystone-1.0.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for imbue_keystone-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 da9f76da8aedd176344219541074175f76e4b196b8c8406e02534d596ddec591
MD5 1ddcc8212a8f0930ee976c8caf9bbd6c
BLAKE2b-256 f06d131d915041d323b10b1f64faf5138b9b5304759d0f42a7074f6fe79ac63f

See more details on using hashes here.

Provenance

The following attestation bundles were made for imbue_keystone-1.0.1-py3-none-any.whl:

Publisher: publish.yml on imbue-ai/keystone

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