Skip to main content

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

Metadata

Release files for imbue-keystone 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imbue-keystone 1.0.2
File Size Uploaded
imbue_keystone-1.0.2.tar.gz 108.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for imbue-keystone 1.0.2
File Interpreter ABI Platform
imbue_keystone-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 191.0 kB

Release files / imbue_keystone-1.0.2.tar.gz

Download URL imbue_keystone-1.0.2.tar.gz
Size 108.0 kB
Tags Source
SHA-256 checksum
How to use checksums
391f971a57699b78b7ae327211fbba9750093e5f93a7e55544f2e2c246b7fbce
BLAKE2b-256 checksum
How to use checksums
8d626786e3d807b5e416bba34e4e5abb1ef8013c805d9067def5496a0d323947
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 30, 2026.

Transparency log

Release files / imbue_keystone-1.0.2-py3-none-any.whl

Download URL imbue_keystone-1.0.2-py3-none-any.whl
Size 83.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8de4ae1cbd7cb9af217c44aeb28f4a5cdd93dbd036efab1007effd020972a845
BLAKE2b-256 checksum
How to use checksums
ab161cb41b6dfe8bd80134253ec74043872d54855eef52c27db5d191da40391a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page