Skip to main content

LlamaIndex tools for instanode.dev — provision Postgres + webhooks from LlamaIndex agents

Project description

llama-index-tools-instanode

LlamaIndex tool spec for instanode.dev. Lets a LlamaIndex agent provision ephemeral Postgres databases + webhook receivers mid-task. No Docker, no account for the free tier.

pip install llama-index-tools-instanode

Usage

from llama_index.agent.openai import OpenAIAgent
from llama_index_tools_instanode import InstanodeToolSpec

tool_spec = InstanodeToolSpec()
agent = OpenAIAgent.from_tools(tool_spec.to_tool_list(), verbose=True)

agent.chat(
    "Stand up a Postgres DB with pgvector, then store this embedding in it: "
    "<embedding>."
)

The agent gets four tools:

  • provision_postgres(name?)postgres:// DSN (pgvector pre-installed).
  • provision_webhook(name?) → HTTPS receiver URL.
  • provision_mongo(name?)mongodb:// URI.
  • list_resources() → enumerate resources owned by the current API key.

Scoping to specific tools

tool_list = [
    t for t in tool_spec.to_tool_list()
    if t.metadata.name in {"provision_postgres"}
]

Paid-tier credentials

Set INSTANODE_API_KEY in your environment, or pass it explicitly:

tool_spec = InstanodeToolSpec(api_key="sk_...")

Tier model

Tier Postgres Webhooks Persistence
Anonymous (no key) 10 MB / 2 connections 100 stored 24 hours
Paid (free signup at instanode.dev) 500 MB / 5 connections 1000 stored Permanent

Related

License

MIT.

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

llama_index_tools_instanode-0.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

llama_index_tools_instanode-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_tools_instanode-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for llama_index_tools_instanode-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c12483a2b6def84634cca97f565445ac9ccb456bf3de3215e980a41b8fe8ed3b
MD5 1e77b2774a9764d8c7bf9b6a21ed4e82
BLAKE2b-256 90ab375ed4b5b54812a9c2d9f6255daf92ab1ccc547b7f9799e7da6d2432a55b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_tools_instanode-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for llama_index_tools_instanode-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 028e65f412a69a93effd14156a6ef3fb0f6c86f11c8b9949ac4aa3b6eed95365
MD5 c1a0f942a851f33d73e4a595115072f3
BLAKE2b-256 0f8d73fbeb3a358064ef5bc9895733db962a586d781c42ace219f2cd6496defc

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