semedit
Compiler-backed semantic editing Intent-driven code editing

Intent-driven code editing
for AI agents
LLMs plan the change. Compilers and language servers apply it precisely.

Open source and MIT licensed.
Make intent the interface
semedit separates semantic intent from syntax transformation, so agents can ask for the change while local tooling handles the mechanical work.
Deterministic editsUse compiler-backed transformations that preserve syntax and eliminate fragile line-based patching.
Symbol-based intentAsk for Server.Start instead of hunting for a byte offset or line number.
Structured feedbackReceive formatting, diagnostics, and compiler evidence as structured results.
One contract for agentsUse the same semantic operations through the CLI or MCP.A tighter editing loop
- An LLM plans a high-level intent.
- semedit resolves the target symbol and selects the compiler or language server.
- The host applies and formats the change deterministically.
- Diagnostics return as evidence for the next decision.
Explore the documentation
Read the capability reference to see the available operations and executable examples, or view empirical benchmarks for measured results.