An open API service indexing awesome lists of open source software.

https://github.com/thecodedrift/ast-testing

An experiment on the capabilities of AST to steer agentic systems
https://github.com/thecodedrift/ast-testing

Last synced: 9 months ago
JSON representation

An experiment on the capabilities of AST to steer agentic systems

Awesome Lists containing this project

README

          

# AST As an Agentic Code Tool

> Can AST tools's make the world of Agentic Code better?

# About This Repo

This repo simulates a simple monorepo with multiple languages as a testbed for AST tools and agentic code capabilities.

Rule JSON Schema is @ https://raw.githubusercontent.com/ast-grep/ast-grep/main/schemas/rule.json

# AST Capabilities

- Per-editor configured, often globally installed
- vscode extensions (gives hinting info)
- Polyglot solutions exist (ast-grep)
- Cannot cross file boundaries - more limited than we thought
- Rules are per language - the pattern syntax is too
- Will mean that you cannot template this easily
- pattern: `string` is more portable, but is highly language syntax dependent

## Open Questions

- none

# Agentic Capabilities

- Terrible at writing rules. Absolutely terrible.

## Copilot / VSCode

- Can see local lint errors if enabled via an extension
- Can fix errors if it can see the errors
- Does not need `instructions.md` to trigger linting as long as the language server is enabled

## Claude Code

- Can be made more deterministic with linting instructions in the claude config files

## Cursor Code

TBD

## Codex

TBD