OpenCode 1.17.3 can reference other git repos or local folders:
references: {
"effect": "github.com/Effect-TS/effect-smol"
}
This gives the agent full access to the codebase, directly enabling the "just clone the fucking repo" philosophy from Michael Arnaldi's talk on vibe engineering.
Related: OpenCode References Documentation