Skip to main content

Database Connector Pack

TrustedSandbox optionalv1.0.0MITPartially Verified42

by AgentNode · published 5 months ago · toolpack

Connect to PostgreSQL, MySQL, SQLite, and MongoDB databases.

Universal database client for querying and managing SQL and NoSQL databases. Execute queries, inspect schemas, export results, and manage migrations.

langchaincrewaigeneric

Quick Start

bash
agentnode install database-connector-pack

Runs in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.

Usage

From package
python
from database_connector_pack.tool import run

result = run(
    capability="query_database",
    params={
        "engine": "postgresql",
        "query": "SELECT customer_id, name, email, total_spent FROM customers WHERE total_spent > 500 ORDER BY total_spent DESC LIMIT 10",
        "params": []
    }
)

print(f"Rows returned: {result['row_count']}")
print(f"Columns: {', '.join(result['columns'])}")
print()
for row in result["rows"]:
    print(f"  {row['name']} ({row['email']}) — ${row['total_spent']:,.2f}")

Environment Variables

DATABASE_URL

Database connection string (e.g., postgresql://user:pass@host:5432/dbname). Can be overridden per-call via the connection_url parameter.

required

Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works

Verification

low confidence42/100○ Partially Verified
smokeCredential boundary reached (medium confidence)
+12/25
testsTests failed
0/15
importAll tools imported successfully
+15/15
installInstalled in 1.7s
+15/15
contractContract not validated
0/10
determinismNo determinism data
0/5
reliabilityNo stability data
0/10

Package installs and imports correctly. requires API credentials for full verification.

install1.7s
import51ms
smoke1.3s
tests1.2s

This package requires API credentials for full verification. Install and import checks passed.

Verified in real_auto mode

Python 3.12.3ffmpegpopplertesseractuv

Last verified 3d ago· Runner v2.0.0

Use this when you need to...

  • Query PostgreSQL tables and return structured results
  • Insert or update records in MySQL databases
  • Run aggregation queries on SQLite files
  • List collections and query documents in MongoDB
  • Execute schema migrations and DDL statements

README

Version History

Capabilities

database_accessquery_databasetool

Permissions

Sandbox optionalFrom a trusted publisher — runs on the host by default. You can require isolation with sandbox.host_trust_policy.

Declared by the publisher. Checked before execution by the policy gate.

Networkunrestricted
Filesystemnone
Code Executionnone
Data Accessconnected_accounts
User Approvalalways

Permissions are policy-checked before execution. For trusted and curated packages that run on the host, network and filesystem access are policy-checked but not OS-sandboxed. When runtime isolation is required for untrusted/community code, AgentNode uses sandbox-or-fail-closed if the required container runtime and pinned image are available. Learn more

Privacy

All tool execution happens locally on your machine. AgentNode never receives:

  • • Tool inputs or outputs
  • • Execution logs
  • • Data your agent processes

Only install events and search queries are sent to the registry.

bash
agentnode install database-connector-pack

Environment Variables

DATABASE_URLrequired

Files (3)

License

MIT

Stats

Downloads0
Installs0
Versionv1.0.0
Published3/16/2026
Channelstable
Typetoolpack
Entrypointdatabase_connector_pack.tool

Compatibility

Frameworks

langchaincrewaigeneric

Runtime

python

Python Version

>=3.10

Trust & Security

PublisherTrusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode