Point LEIO at the right repository and revision.
Use a public Git URL or connect GitHub for private repositories. The selected target remains scoped to the current session.
Repository intelligence for AI agents
LEIO Code turns any repository into structured, evidence-backed context for ChatGPT and OpenAI SDK agents. Find ownership, trace runtime wiring, follow call graphs, and catch architectural drift before you ship.
Read-only analysis Source-backed answers Public Git or private GitHub
“Trace the authentication path and tell me what could break if we change token validation.”
validate_token()mycelia-api/auth/tokens.py:184AUTH_JWT_ALGORITHMdeploy/profiles/production.env:42called by → require_current_user()mycelia-api/auth/dependencies.py:76Changing token validation affects two authentication entry points, one production environment contract, and four targeted regressions.
Why repository intelligence
Your agent receives the smallest useful context, with the evidence needed to defend it.
How it works
Use a public Git URL or connect GitHub for private repositories. The selected target remains scoped to the current session.
A symbol lookup, call-chain question, deployment explanation, and architectural audit are different operations. LEIO routes them accordingly.
LEIO retrieves only the symbols, files, relationships, tests, and risk notes relevant to the task.
Results include source paths, line locations, entity types, relationships, and diagnostic provenance.
Capability system
Find
Search symbols, environment variables, API routes, Redis keys, Docker services, deploy targets, and domain cartridges.
“Where is PAYMENT_APPROVED produced and consumed?”search_repositoryRepository GPS
Different repositories expose different risks and capabilities. LEIO identifies the active workspace profile and adapts its search kinds, graph operations, deployment knowledge, domain facets, and architectural doctors to the repository in front of it.
Capability-aware intelligence prevents agents from invoking generic workflows against repositories with specific operational rules.
24 deploy targets
24 runtime profiles
24 domain cartridges
120 architectural doctors
100,367 symbols
5,024 environment references
316 Redis keys
Context preparation
Large context windows do not solve poor repository selection. LEIO prepares a focused evidence bundle for the exact task, reducing irrelevant files while preserving the dependencies and constraints that could change the result.
payments/confirmation.py
payments/retry_policy.pyPaymentStatus
payment:confirmation:{tenant_id}
PAYMENT_RETRY_LIMITtest_confirmation_retry.py
test_payment_idempotency.pyDuplicate external effects
Tenant-key isolation
Retry budget driftContext is ranked by relevance, responsibility, and risk, not file popularity.
Architectural doctors
LEIO doctors inspect contracts that ordinary linters cannot see: cross-service configuration, deployment bundles, generated artifacts, domain boundaries, runtime topology, and repository-specific invariants.
When a production drift is discovered, encode it as a doctor or canonical evidence path. The next agent should detect it before repeating it.
deploy/profiles/api.env:28
deploy/profiles/gateway.env:31Existing sessions may fail after deployment.
Align issuer configuration before publishing.
OpenAI integration
LEIO Code exposes structured tools through MCP and an interactive OpenAI Apps SDK interface. Agents can select a repository, inspect its capabilities, ask structural questions, and open the supporting evidence without leaving the conversation.
01Inspect repository status
02Prepare task context
03Search symbols and contracts
04Explain runtime lineage
05Traverse call and import graphs
06Run architectural audits
07Select or clear the active repository
Designed for production repositories
Repository intelligence tools inspect the selected checkout without editing source files.
Answers carry paths, symbols, line references, relationships, and diagnostic evidence.
Repository selection is isolated to the active MCP session and can be cleared.
Connect GitHub for authorized private repository access.
LEIO may identify configuration names and contract drift. It does not retrieve live production secret values as evidence.
Workspace profiles and doctors preserve local architectural rules instead of applying generic assumptions.
Use cases
Identify owners, dependencies, tests, and constraints before changing code.
Trace the behavioral impact beyond the visible diff.
Audit configuration, artifacts, profiles, and runtime contracts.
Resolve routes, environment variables, services, and call chains quickly.
Replace repository tours with evidence-backed questions.
Provide a consistent repository-intelligence layer to ChatGPT, Codex, and MCP-compatible agents.
Repository intelligence for every agent task
Connect a repository and give every investigation a current map, explicit constraints, and source-backed evidence.
Bring LEIO to your engineering platform ↗