# Building a code search engine with Turso

DevFeed: [Building a code search engine with Turso](<https://devfeed.tech/articles/building-a-code-search-engine-with-turso-5903.md>)

Original publisher: [Read original article](<https://turso.tech/blog/building-a-code-search-engine-with-turso>)

Author: Glauber Costa

Published: 2026-02-26T00:00:00Z

Content type: tutorial

Language: en

Sources: [Turso Blog](<https://devfeed.tech/sources/turso-blog.md>)

Topics: [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [Local AI](<https://devfeed.tech/topics/local-ai.md>), [Tree-sitter](<https://devfeed.tech/topics/tree-sitter.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>)

Tags: [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [cli](<https://devfeed.tech/tags/cli.md>), [code](<https://devfeed.tech/tags/code.md>), [database](<https://devfeed.tech/tags/database.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [local](<https://devfeed.tech/tags/local.md>), [search](<https://devfeed.tech/tags/search.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>), [turso](<https://devfeed.tech/tags/turso.md>), [vector](<https://devfeed.tech/tags/vector.md>)

## AI overview

A tutorial on building a local semantic code search engine for AI agents with Turso. It indexes code chunks, generates local embeddings, and uses vector and full-text search in a single SQLite file.

## Source excerpt

Build a semantic code search engine with Turso's native vector and full-text search. One SQLite file, local embeddings, no separate vector database.