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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file provision_stack_langchain-0.1.0.tar.gz.
File metadata
- Download URL: provision_stack_langchain-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d792721d89779bd21b53c153da4ef3f0ef577069425521a0e0999a0fc2a8db86
|
|
| MD5 |
047e57c5b1d4ee649762bacd259ecf75
|
|
| BLAKE2b-256 |
6730867252281d1a50e2e5bed1021368059c5a91b605f9908146e043b6ff891a
|
File details
Details for the file provision_stack_langchain-0.1.0-py3-none-any.whl.
File metadata
- Download URL: provision_stack_langchain-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c414ffb7f8977ff5dc1110d3312848e228eca35e87e08eb9f912a60b459b7c8
|
|
| MD5 |
8013a691622a78e18514d30dedbf50da
|
|
| BLAKE2b-256 |
326726a656b123dc10826df70e76dcb01d63f80d96efa05fadccbf484dba3bef
|