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.2.tar.gz (108.0 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.2-py3-none-any.whl (83.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: imbue_keystone-1.0.2.tar.gz
  • Upload date:
  • Size: 108.0 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.2.tar.gz
Algorithm Hash digest
SHA256 391f971a57699b78b7ae327211fbba9750093e5f93a7e55544f2e2c246b7fbce
MD5 886cec421d7352f8a73d8b7ba8aa2d02
BLAKE2b-256 8d626786e3d807b5e416bba34e4e5abb1ef8013c805d9067def5496a0d323947

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: imbue_keystone-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 83.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8de4ae1cbd7cb9af217c44aeb28f4a5cdd93dbd036efab1007effd020972a845
MD5 0d3dc3105adbe57350d30760edb4d4c0
BLAKE2b-256 ab161cb41b6dfe8bd80134253ec74043872d54855eef52c27db5d191da40391a

See more details on using hashes here.

Provenance

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