MCPcopy Index your code
hub / github.com/a16z/magi

github.com/a16z/magi @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
387 symbols 707 edges 48 files 239 documented · 62%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

PurgeableIterator (Interface)
Iterator that can purge itself [4 implementers]
src/derive/purgeable.rs
Handler (Interface)
This trait defines the functionality required to process incoming messages and determine their acceptance within the net [1 …
src/network/handlers/mod.rs
Engine (Interface)
(no doc) [2 implementers]
src/engine/traits.rs
InnerProvider (Interface)
(no doc) [2 implementers]
src/driver/info.rs
Rpc (Interface)
(no doc)
src/rpc/mod.rs
EpochType (Interface)
A marker trait to allow representing an epoch as either a block number or an [Epoch] [2 implementers]
src/derive/stages/block_input.rs

Core symbols most depended-on inside this repo

addr
called by 28
src/config/mod.rs
convert_hash
called by 15
src/network/handlers/block_handler.rs
get_block_with_txs
called by 13
src/driver/info.rs
remove
called by 11
src/derive/stages/channels.rs
push_frame
called by 10
src/derive/stages/channels.rs
hash
called by 10
src/config/mod.rs
get_block
called by 8
src/l1/chain_watcher.rs
build
called by 7
src/version/mod.rs

Shape

Method 209
Function 88
Class 76
Enum 8
Interface 6

Languages

Rust100%

Modules by API surface

src/config/mod.rs33 symbols
src/derive/stages/channels.rs24 symbols
src/network/handlers/block_handler.rs21 symbols
src/l1/chain_watcher.rs21 symbols
src/driver/mod.rs17 symbols
src/derive/stages/attributes.rs17 symbols
src/driver/engine_driver.rs16 symbols
src/derive/stages/span_batch.rs16 symbols
src/engine/api.rs15 symbols
src/telemetry/logging.rs14 symbols
src/driver/info.rs14 symbols
src/derive/stages/batches.rs14 symbols

For agents

$ claude mcp add magi \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact