MCPcopy Index your code
hub / github.com/eumemic/ai-legion

github.com/eumemic/ai-legion @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
138 symbols 275 edges 39 files 1 documented · 1%
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

MessageBus (Interface)
(no doc) [4 implementers]
src/message-bus.ts
Store (Interface)
(no doc) [3 implementers]
src/store/index.ts
Action (Interface)
(no doc)
src/parse-action.ts
Message (Interface)
(no doc)
src/message.ts
ChatCompletionRequestMessage (Interface)
(no doc)
src/types.ts
ModuleDefinition (Interface)
(no doc)
src/module/index.ts
MessageEvent (Interface)
(no doc)
src/memory/index.ts
MessageSourceBase (Interface)
(no doc)
src/message.ts

Core symbols most depended-on inside this repo

get
called by 10
src/store/index.ts
set
called by 9
src/store/index.ts
countTokens
called by 8
src/util.ts
checkPath
called by 7
src/module/definitions/system.ts
defineModule
called by 6
src/module/define-module.ts
send
called by 5
src/message-bus.ts
agentName
called by 5
src/util.ts
getUsageText
called by 5
src/module/util.ts

Shape

Method 56
Function 39
Class 22
Interface 21

Languages

TypeScript100%

Modules by API surface

src/store/file-store.ts15 symbols
src/memory/memory.ts12 symbols
src/task-queue.ts7 symbols
src/store/json-store.ts7 symbols
src/message.ts7 symbols
src/store/in-memory-store.ts6 symbols
src/redis-message-bus.ts6 symbols
src/in-memory-message-bus.ts6 symbols
src/util.ts5 symbols
src/store/index.ts5 symbols
src/module/module-instance.ts5 symbols
src/module/index.ts5 symbols

For agents

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

⬇ download graph artifact