knobik/sql-agent
Self-learning text-to-SQL agent for Laravel that turns natural language into accurate, safe SQL. Uses schema introspection, a curated knowledge base, query patterns, and conversation memory; recovers from errors and saves learnings. Includes built-in chat UI.
SqlAgent supports all four database engines that Laravel supports. The agent can query your application data on any of these engines, and full-text search capabilities vary by engine.
Full support including:
MATCH ... AGAINST (natural language and boolean mode)sql-agent.search.drivers.database.mysql.modeFull support including:
tsvector and tsqueryenglish)Supported with limitations:
LIKE queries (less accurate than native full-text search)Supported with full-text search:
CONTAINS predicates for full-text queriesHow can I help you explore Laravel packages today?