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-0.1.0.tar.gz (95.6 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-0.1.0-py3-none-any.whl (66.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for imbue_keystone-0.1.0.tar.gz
Algorithm Hash digest
SHA256 08e98f0f8e44c05639c38019e706486761c486954c278766ad0228461330b982
MD5 3748d7e3486f43a41ca128ee255c56ac
BLAKE2b-256 5c46436613b6a897bd1de6a98010a420edcc7240c6013fcca09fcbf855f4042e

See more details on using hashes here.

Provenance

The following attestation bundles were made for imbue_keystone-0.1.0.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-0.1.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for imbue_keystone-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5104b1d50d6b4cb6b81c73f620c5b221ab1e09859c8d2f0f14542dae824d8711
MD5 82ac2699d93cc9010d898af95ee60bae
BLAKE2b-256 a2981b8b4fc68b0dbba03ceaa76a97e6e74e2ab0caa997591253ab796ef00502

See more details on using hashes here.

Provenance

The following attestation bundles were made for imbue_keystone-0.1.0-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