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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

provision_stack_langchain-0.1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

provision_stack_langchain-0.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file provision_stack_langchain-0.1.0.tar.gz.

File metadata

File hashes

Hashes for provision_stack_langchain-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d792721d89779bd21b53c153da4ef3f0ef577069425521a0e0999a0fc2a8db86
MD5 047e57c5b1d4ee649762bacd259ecf75
BLAKE2b-256 6730867252281d1a50e2e5bed1021368059c5a91b605f9908146e043b6ff891a

See more details on using hashes here.

File details

Details for the file provision_stack_langchain-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for provision_stack_langchain-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c414ffb7f8977ff5dc1110d3312848e228eca35e87e08eb9f912a60b459b7c8
MD5 8013a691622a78e18514d30dedbf50da
BLAKE2b-256 326726a656b123dc10826df70e76dcb01d63f80d96efa05fadccbf484dba3bef

See more details on using hashes here.

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