Labsco
tidewave-ai logo

Tidewave Rails

β˜… 475

from tidewave-ai

Better agentic Rails development, runtime-level tools for your agent to talk to your running app.

πŸ”₯πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeQuick setup

Tidewave

Tidewave is the coding agent for full-stack web app development. Integrate Claude Code, OpenAI Codex, and other agents with your web app and web framework at every layer, from UI to database. See our website for more information.

This project can also be used as a standalone Model Context Protocol server.

Available tools

  • execute_sql_query - executes a SQL query within your application database, useful for the agent to verify the result of an action

  • get_docs - get the documentation for a given module/class/method. It consults the exact versions used by the project, ensuring you always get correct information

  • get_logs - reads logs written by the server

  • get_models - lists all modules in the application and their location for quick discovery

  • get_source_location - get the source location for a given module/class/method, so an agent can directly read the source skipping search

  • project_eval - evaluates code within the Rails application itself, giving the agent access to your runtime, dependencies, and in-memory data

[!NOTE]

Why no tools for routes, associations, etc?

Tidewave does not include tools for listing your routes, associations, etc. because agents are better off reading their respective source files, which gives agents more context and enable them to perform any necessary edit without additional tools calls.

Instead, Tidewave aims to fill in missing gaps, such as evaluating code inside your Rails app (without starting new instances) and finding source location, which can be tricky, even with grepping, due to meta-programming and the different places Bundler can install your dependencies.

Acknowledgements

A thank you to Yorick Jacquin for the initial version of this project.

Development

Run the Minitest suite with:

bundle exec ruby -Itest test/all_test.rb

License

Copyright (c) 2025 Dashbit

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.