LlamaIndex CRUD Agent icon

LlamaIndex CRUD Agent

Manages PostgreSQL database interactions using an AI agent powered by LlamaIndex and a local Ollama LLM.

About

This project showcases an intelligent AI agent designed for seamless interaction with PostgreSQL databases through a Model Context Protocol (MCP) server. Leveraging LlamaIndex's FunctionAgent and a local Ollama Large Language Model, the agent can dynamically discover and execute database operations, including creating tables, inserting data, and retrieving information, all via natural language commands. It provides an intuitive command-line interface for interactive data management and is built to be easily extensible with new MCP tools.

Key Features

  • PostgreSQL Database Tools supporting CRUD operations
  • MCP-Compatible FunctionAgent for protocol integration
  • Dynamic Tool Discovery for automatically finding MCP tools
  • 0 GitHub stars
  • Ollama LLM Integration for local natural language processing
  • Interactive Command-line Interface for database operations

Use Cases

  • Developing AI agents capable of interacting with PostgreSQL databases
  • Automating routine database CRUD operations using natural language
  • Managing customer records through conversational commands