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

Uploaded Python 3

File details

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

File metadata

  • Download URL: imbue_keystone-1.0.0.tar.gz
  • Upload date:
  • Size: 107.9 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.0.tar.gz
Algorithm Hash digest
SHA256 859179dc7a44cd77fbe8f1cc168550ab91ef56925deb988bd8b3ddf14c1f7d0c
MD5 a10d63bc47cda45bcc862ff0de0709ba
BLAKE2b-256 243fc9d4613867d4edda2cfc8ecd418e02445af0e47fe360774095cdbbf7b6da

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: imbue_keystone-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 77.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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f42763b355a72c3f39cbcebda83db45bc8d3861e12cd299e342a8f3c7b89a55
MD5 e948aa833265c3b4caf327850328ab86
BLAKE2b-256 54b5ee6fea1b51b72debb93d57bddfa597e243002cbf3a52a44a65e2f8f4ea80

See more details on using hashes here.

Provenance

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