Skip to main content
ToolPotion
AI Advisor
Submit a Tool (Free)

sourcebook

AI AppsAI Code Review & TestingFree · Windows, macOS, Linux

Sourcebook is a free and open-source tool that checks your AI agent's diff for missing files, ensuring completeness. It analyzes co-change dependencies, import graphs, and test files, running as a CLI, Claude Code hook, or MCP server.

Visit Website
Share
sourcebook screenshot
sourcebook screenshot

Sourcebook is a tool designed to ensure the completeness of code changes made by AI agents. It identifies missing companion files such as test files, sibling components, and co-dependent configurations that an AI agent might overlook. By analyzing the diff for completeness, Sourcebook flags files that likely need changes but were not modified.

Read More

Under the hood, Sourcebook maps your repository using import graphs, git co-change history, test file mappings, and hub file detection. When you run the 'sourcebook check' command, it compares your changes against this structural map and flags any missing elements. This process does not require a large language model (LLM) and completes in under a second.

Sourcebook can be deployed as a command-line interface (CLI), a Claude Code hook, or an MCP server. For deeper semantic analysis, the '--ai' option sends the diff to Claude Sonnet for a small fee per run. The tool also features Import Graph PageRank, which ranks files by structural importance, helping identify critical files that could impact the entire project if altered.

The tool is particularly useful for developers and teams who rely on AI agents for code generation, as it provides an automated completeness review on every pull request. Sourcebook is free to use and open-source, licensed under BSL-1.1, making it accessible for a wide range of users.

  • CategoryAI Code Review & Testing
  • Pricing ModelFree
  • DeploymentCLI, Claude Code hook, MCP server
  • PlatformsWindows, macOS, Linux

  • Diff completeness analysis

  • Co-change coupling detection

  • Import graph mapping

  • Test file detection

  • CLI deployment

  • Claude Code hooks

  • MCP server integration

  • Free and open-source

  1. Configure: Set up Sourcebook in your environment

  2. Use: Run 'sourcebook check' on your diffs

  3. Optimize: Use flagged suggestions to complete changes

  4. Integrate: Deploy as CLI, Claude Code hook, or MCP server

  • Code completeness check
  • Import graph analysis
  • Co-change dependency detection
  • Automated PR review
  • Semantic analysis

sourcebook Reviews

Loading...

Popular AI Tools Like sourcebook

UnfoldAI

AI Apps

UnfoldAI provides supervision infrastructure for AI coding agents directly within your IDE. It monitors agent activity, detects errors before they escalate, speeds up failure…

AI Code Review & Testing

Ranked #125 in AI Code Review & Testing

View Tool

AI Apps

Provides supervision infrastructure for AI coding agents directly within your IDE. It monitors agent activity, detects errors before they escalate, speeds up failure…UnfoldAI provides supervision infrastructure for AI coding agents directly within your IDE. It monitors agent activity, detects errors before they escalate, speeds up failure…

AI Code Review & Testing
Ranked #125 in AI Code Review & Testing

Optibot by Optimal AI is an AI-powered code review tool for GitHub and GitLab. It reviews pull requests with full codebase context, catching bugs and security issues that…

AI Code Review & Testing

Ranked #67 in AI Code Review & Testing

View Tool

AI-powered code review tool for GitHub and GitLab. It reviews pull requests with full codebase context, catching bugs and security issues that…Optibot by Optimal AI is an AI-powered code review tool for GitHub and GitLab. It reviews pull requests with full codebase context, catching bugs and security issues that…

AI Code Review & Testing
Ranked #67 in AI Code Review & Testing

Sourcery

AI Apps

An AI code review tool that reviews every pull request and scans repositories for security issues in GitHub, GitLab, or your IDE, catching bugs and vulnerabilities with clear…

AI Code Review & Testing

Ranked #33 in AI Code Review & Testing

View Tool

AI Apps

An AI code review tool that reviews every pull request and scans repositories for security issues in GitHub, GitLab, or your IDE, catching bugs and vulnerabilities with clear…

FeaturedAI Code Review & Testing
Ranked #33 in AI Code Review & Testing

Macroscope

AI Apps

An AI code review and engineering workflow platform that catches real bugs, auto-generates PR summaries, provides automatic status updates, and can fix issues and merge when…

AI Code Review & Testing

Ranked #44 for CTOs

View Tool

AI Apps

An AI code review and engineering workflow platform that catches real bugs, auto-generates PR summaries, provides automatic status updates, and can fix issues and merge when…

FeaturedAI Code Review & Testing
Ranked #44 for CTOs

Glide provides AI-powered walkthroughs of GitHub Pull Requests, offering clear explanations, use case analysis, and step-by-step breakdowns to help developers understand code…

AI Code Review & Testing

Ranked #146 in AI Code Review & Testing

View Tool

Provides AI-powered walkthroughs of GitHub Pull Requests, offering clear explanations, use case analysis, and step-by-step breakdowns to help developers understand code…Glide provides AI-powered walkthroughs of GitHub Pull Requests, offering clear explanations, use case analysis, and step-by-step breakdowns to help developers understand code…

AI Code Review & Testing
Ranked #146 in AI Code Review & Testing

Recurse ML

AI Apps

Recurse ML is an AI-powered codebase maintenance tool that automatically analyzes code, detects bugs, and performs reviews before production. It integrates with popular AI agents…

AI Code Review & Testing

Ranked #116 in AI Code Review & Testing

View Tool

AI Apps

AI-powered codebase maintenance tool that automatically analyzes code, detects bugs, and performs reviews before production. It integrates with popular AI agents…Recurse ML is an AI-powered codebase maintenance tool that automatically analyzes code, detects bugs, and performs reviews before production. It integrates with popular AI agents…

AI Code Review & Testing
Ranked #116 in AI Code Review & Testing

Maige

AI Apps

Maige is an open-source AI copilot that automates codebase actions. It connects to your GitHub repository, analyzes code, and executes custom rules for issues and pull requests.…

AI Code Review & Testing

Ranked #114 in AI Code Review & Testing

View Tool

AI Apps

Open-source AI copilot that automates codebase actions. It connects to your GitHub repository, analyzes code, and executes custom rules for issues and pull requests.…Maige is an open-source AI copilot that automates codebase actions. It connects to your GitHub repository, analyzes code, and executes custom rules for issues and pull requests.…

AI Code Review & Testing
Ranked #114 in AI Code Review & Testing

Greptile

AI Apps

Greptile is an AI-powered code review tool that automates pull request reviews, detects bugs, and improves code quality. It helps development teams merge faster and catch more…

AI Code Review & Testing

Ranked #13 in AI Code Review & Testing

View Tool

AI Apps

AI-powered code review tool that automates pull request reviews, detects bugs, and improves code quality. It helps development teams merge faster and catch more…Greptile is an AI-powered code review tool that automates pull request reviews, detects bugs, and improves code quality. It helps development teams merge faster and catch more…

AI Code Review & Testing
Ranked #13 in AI Code Review & Testing
1 of 8