Skip to content

Working on developing briefing documents for forward deployed engineers configuring AI coding agents.

Notifications You must be signed in to change notification settings

joelsimonoff/fde-briefing-doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repo Analyzer

A tool for analyzing repositories to help forward deployed engineers quickly understand customer codebases and configure coding agents effectively.

Purpose

Problem: Configuring coding agents on a codebase requires deep understanding of the codebase and its various systems. Forward deployed engineers need to get up to speed ASAP.

Solution: Create a briefing document tool that summarizes the codebase to help deployed engineers get up to speed.

Approach:

  1. Summarize and extract learnings from all files
  2. Use agglomerative clustering to combine the learnings
  3. Generate comprehensive briefing documents

Note: While the initial goal was to provide enough information to configure agents, findings suggest empowering businesses to configure agents themselves may be a better approach.

Installation

This project uses Poetry for dependency management. To install:

# Install Poetry if you haven't already
curl -sSL https://install.python-poetry.org | python3 -

# Install dependencies
poetry install

# Install Jupyter Notebooks (required for running examples)
pip install jupyter

Usage

The main functionality is provided through a Jupyter notebook located at notebooks/create_briefing_doc.ipynb. This notebook demonstrates the process of:

  1. Loading a repository (currently supports zipped repos)
  2. Chunking the codebase
  3. Analyzing files/directories to summarize and extract facts
  4. Creating the final briefing document

Example Outputs

The notebooks directory contains preloaded outputs for:

  • LibreOffice codebase
  • Transformers package

These examples include file-by-file codebase summaries and are intermediate steps to using the briefing doc notebook.

Development

This project uses several development tools:

  • pytest: For running tests (poetry run pytest)

Project Structure

.
├── notebooks/
│   └── create_briefing_doc.ipynb  # Main notebook for creating briefing docs
├── repo_analyzer/                 # Core package code
├── tests/                        # Test suite
├── poetry.lock                   # Lock file for dependencies
└── pyproject.toml               # Project configuration

License

MIT

About

Working on developing briefing documents for forward deployed engineers configuring AI coding agents.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published