# Shared context. Useful answers.

Learn how to connect your code, guidance and team documents to your coding agents.

Canonical page: https://ontlgy.io/docs/

ontlgy gives coding agents a shared index of your repositories, repository guidance and selected team documents. Connect it over MCP, then ask your agent to find relevant code, inspect callers, discover team rules or read a source document.

**New to ontlgy?** [Start locally →](https://ontlgy.io/docs/start/quickstart/)

**Your team already runs it?** [Connect to your team →](https://ontlgy.io/docs/start/join-a-team/)

## Get to your first useful answer

1. **Connect a repository.** Choose which GitHub repositories ontlgy indexes.
2. **Connect your agent.** Add the installation's MCP endpoint to Cursor, Claude Code or Codex.
3. **Ask a concrete question.** Find a symbol or investigate a behavior, then verify the returned file locations.

[Follow the first-query walkthrough →](https://ontlgy.io/docs/start/first-query/)

## What can I do with it?

| Your task | Start here |
| --- | --- |
| Find where unfamiliar behavior is implemented | [Investigate a bug](https://ontlgy.io/docs/guides/investigate-a-bug/) |
| Understand callers before editing a function | [Assess change impact](https://ontlgy.io/docs/guides/change-impact/) |
| Apply the team's repository instructions | [Find skills and rules](https://ontlgy.io/docs/guides/skills/) |
| Find a runbook or architectural decision | [Search and read team documents](https://ontlgy.io/docs/guides/team-documents/) |
| Run one installation for your team | [Team installation](https://ontlgy.io/docs/operate/install/) |

## What ontlgy returns

Code tools return symbols, paths, line ranges and relationships, with freshness and certainty information. Your agent reads the source files in its own checkout. Repository skills can include their instruction bodies and supporting files. External document discovery returns bounded metadata and optional discovery cards; `doc_read` retrieves current document text transiently.

An index helps an agent find and verify context. It does not execute the agent's task, prove that a change is safe, or observe uncommitted files. See [how context works](https://ontlgy.io/docs/concepts/context/) and [coverage and limitations](https://ontlgy.io/docs/reference/coverage/).

## Add more context when you need it

- [GitHub](https://ontlgy.io/docs/sources/github/) for code and repository guidance.
- [Confluence Cloud](https://ontlgy.io/docs/sources/confluence/) for selected spaces.
- [Notion](https://ontlgy.io/docs/sources/notion/) for explicitly approved page or database roots.
- [Optional AI enrichment](https://ontlgy.io/docs/operate/ai-providers/) to improve document discovery.

You do not need an AI provider configured inside ontlgy for the initial code-indexing walkthrough. Your coding agent uses its own model configuration.
