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.
  • list_resources() → enumerate resources owned by the current API key.

MongoDB, Redis/cache, NATS queue, and heartbeat-monitor tools are on the roadmap, gated on the matching backend endpoints landing. They live on the feature/full-api branch.

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.2.0.tar.gz (5.8 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.2.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_tools_instanode-0.2.0.tar.gz
  • Upload date:
  • Size: 5.8 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.2.0.tar.gz
Algorithm Hash digest
SHA256 d5b034ad6d8384c5ae807869455abd815f6fda6f71696746d2c5878c54ba0631
MD5 5c16e531ae0109aa65a266def72d7c9f
BLAKE2b-256 a08e4af7df7e9700134aa55db0f6ed8894ea8b3db9c1e109258cef25bc4938d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_tools_instanode-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eeea72696779e41726665eb2c44c98d64faa4fddc508caf650dbf721ed5cfd30
MD5 42db417ab18340aa7795655c25c5f5f2
BLAKE2b-256 b07da550bed732cef9d4cdc0c397a3dc053b98c46725572a1e6b7184ac4c7e04

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