Skip to main content

provision-stack-langchain

LangChain tools for Provision Stack — deploy cloud infrastructure via AI agents.

Install

pip install provision-stack-langchain

Quick Start

from provision_stack_langchain import get_provision_stack_tools

tools = get_provision_stack_tools(api_key="your-token", sandbox=True)

# Use with any LangChain agent
from langchain_openai import ChatOpenAI
from langchain.agents import initialize_agent, AgentType

llm = ChatOpenAI(model="gpt-4o")
agent = initialize_agent(tools, llm, agent=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION)

result = agent.invoke("Deploy a production web application on AWS under $50/month")

Tools

Tool Description
provision_stack_suggest Get deployment suggestions with tier options and costs
provision_stack_deploy Deploy infrastructure (fee held, captured after verification)
provision_stack_status Check deployment status and verification results
provision_stack_destroy Destroy all resources owned by a deployment
provision_stack_balance Check account credit balance
provision_stack_topup Add credits via Stripe or XRP

Configuration

tools = get_provision_stack_tools(
    api_key="your-token",         # or PROVISION_STACK_API_KEY env var
    base_url="https://...",       # or PROVISION_STACK_API_URL env var
    sandbox=True,                 # use sandbox (mock Terraform)
)

License

MIT

Metadata

Release files for provision-stack-langchain 0.1.0

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

Source distribution (sdist)

Source distribution for provision-stack-langchain 0.1.0
File Size Uploaded
provision_stack_langchain-0.1.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for provision-stack-langchain 0.1.0
File Interpreter ABI Platform
provision_stack_langchain-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / provision_stack_langchain-0.1.0.tar.gz

Download URL provision_stack_langchain-0.1.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d792721d89779bd21b53c153da4ef3f0ef577069425521a0e0999a0fc2a8db86
BLAKE2b-256 checksum
How to use checksums
6730867252281d1a50e2e5bed1021368059c5a91b605f9908146e043b6ff891a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / provision_stack_langchain-0.1.0-py3-none-any.whl

Download URL provision_stack_langchain-0.1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c414ffb7f8977ff5dc1110d3312848e228eca35e87e08eb9f912a60b459b7c8
BLAKE2b-256 checksum
How to use checksums
326726a656b123dc10826df70e76dcb01d63f80d96efa05fadccbf484dba3bef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

0.1.0 This release

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