Get Started with ContextDx

Welcome to ContextDx. You're about to turn scattered architecture knowledge into a living, queryable system map. We'll get you from zero to a working board in under 15 minutes.

ContextDx builds a living knowledge graph from your code, infrastructure, documentation, and observability systems. You query it in natural language; it returns architectural intelligence scoped to your board context.

Core workflow: Sources → Boards → Insights → Agent → Publish

Rendering diagram...

Prerequisites

  • ContextDx instance running (cloud or self-hosted)
  • Portal account with an invitation email from your org admin
  • At least one of: a code repo, architecture docs, or a URL to paste

Access Your Workspace

  1. Click your invitation link and sign in with SSO
  2. Select your primary role (Developer, Architect, CTO, Product Manager, etc.)
  3. You'll land in your workspace with a Master Board already waiting

Your role selection customizes how the AI responds — a developer asking "What are the system boundaries?" gets a different answer than a CTO asking the same question.

1. Create Sources

Sources are the raw inputs ContextDx uses to build your architecture graph. They live in a workspace-level Sources Catalog — set them up once, bind them to any board.

Pick your starting point

ADRs, architecture briefs, Confluence spaces, design docs — this is the fastest path.

  1. Add your docs as sources — Confluence, Web URL, or Inline Text
  2. Bind them as governing sources to a board
  3. ContextDx's AI agents extract services, dependencies, boundaries, and constraints
  4. Review extracted nodes/edges before committing to the board
Tip

Web URL and Inline Text need zero setup — just paste a URL or markdown. Start there if you want instant results.

Source types at a glance

CategorySourcesAuth
CodeGitHub Repo, GitHub FileOAuth
DocumentationConfluence, Google Docs, NotionOAuth
InfrastructureTerraform, CloudFormationAPI key
ProjectJiraOAuth
CommunicationSlackOAuth
ObservabilitySentry, LogRocketOAuth
Quick-addWeb URL, Inline TextNone
PluginBoard BuilderAPI headers

Binding roles

When you bind a source to a board, you assign a role:

  • Governing — participates in sync, creates/modifies nodes and edges. This is your source of truth.
  • Reference — context only. Available for AI queries but never mutates the board graph.

2. Build Boards

Boards are graph representations of your architecture — nodes (components) and edges (relationships) that stay synchronized with your sources.

Your Master Board

Every workspace gets a Master Board automatically — the top-level overview of your entire system landscape. Think of it as an L0 view: 10–30 nodes representing major domains, services, and external integrations.

Example: An e-commerce platform

Rendering diagram...

Each internal node can drill down into its own detail board. External nodes (Stripe) and infrastructure (PostgreSQL) stay as leaf nodes — you don't own their internals.

Archetypes

Every node has an archetype — a classification that determines its visual representation and relationship rules:

ArchetypeRepresentsExamples
ServiceBusiness logic, domain handlersOrderService, AuthService
APIHTTP endpoints, gatewaysREST controllers, API Gateway
DatabasePersistence, data storesPostgreSQL, Redis, DynamoDB
ComponentUI elements, frontend modulesReact components, Vue pages
QueueMessage brokers, event busesSQS, Kafka, RabbitMQ
ExternalThird-party integrationsStripe, Twilio, Auth0
Why archetypes matter
  • Consistent visual language — every team reads the board the same way
  • Typed relationships — archetypes constrain which edge types make sense (a Service writes-to a Database, not the reverse)
  • Query intelligence — when you ask "what depends on our payment system?", the archetype tells the AI what kind of component it's reasoning about

Workspaces can define custom archetypes beyond defaults. If your domain has first-class concepts (e.g., "Plugin", "Adapter", "Saga"), create custom archetypes with their own icons, colors, and relationship rules.

Drill-down layers

Boards support a layered hierarchy — click into any node to see its internals:

LayerScopeTypical nodesWhat you see
L0 — OverviewEntire system10–30Domains, services, external integrations
L1 — DomainSingle service10–40Controllers, services, repositories, models
L2 — ComponentSingle module5–20Classes, handlers, internal wiring
Building layers with Board Builder

Each codebase (or subdirectory in a monorepo) gets its own analysis:

BASH
/analyze                              # L0: system overview
/analyze --drill overview/api-gateway # L1: API gateway internals
/analyze --all                        # All layers progressively
/sync --all                           # Push entire hierarchy

Layer boards link to parents via layerBoardSlug references — navigation is automatic.

Board types

TypePurpose
Master BoardTop-level system overview
Context MapDomain boundaries, team ownership (DDD)
SystemServices, databases, APIs, queues
DiagramData flows, sequence diagrams, topology
Domain ModelEntity relationships, aggregate boundaries
GeneratedAuto-generated from code or infra analysis

3. Build Insights

Insights are analytical overlays generated from your board's architecture graph and bound sources. They surface patterns, risks, and opportunities you might not spot by staring at a node graph.

From any board, request an insights analysis. ContextDx examines the board's nodes, edges, and bound source content, then produces structured findings:

  • Services handling PII without encryption at rest
  • Public-facing APIs calling internal services without auth boundaries
  • Third-party integrations with overly broad permissions
  • Missing rate limiting on ingestion endpoints
Tip

Insights get dramatically better when your board has governing sources bound. The AI can cross-reference code structure with documentation to find things neither reveals alone.

4. Query with the Agent

The conversational agent is your interface to architectural intelligence. It has full context of the board's graph, bound sources, and generated insights.

Deep dive: Chat concept | Chat guide

Open the conversation panel on any board and query in natural language:

  • "What are the system boundaries for checkout?"
  • "How would adding subscriptions impact the payment domain?"
  • "Which services share database tables? What are the coupling risks?"
  • "Explain the auth flow for a new engineer joining the team."

Response formats

FormatUse case
ConversationalQuick answers, exploratory questions
Structured BoardGenerate a new board from the response
With InsightsVisual patterns overlaid on architecture
Insights + ResearchDeep analysis with citations from sources
Adopt as GoverningApply source content to board structure

Agent personalities

PersonalityWhen to use
PragmatistDirect answers, minimal preamble
AdvisorTrade-off analysis, decision support
AnalystObjective comparison of conflicting sources
ExplorerDiscover hidden dependencies and patterns
DocumenterGenerate structured documentation
Technical TranslatorBridge technical ↔ business language
Compliance GuardianSecurity, regulatory, and risk focus
Tips for better queries
  1. Be specific — "What depends on the auth service?" beats "Tell me about auth"
  2. Provide context — "We're planning to migrate to microservices" frames the answer
  3. Use follow-ups — The agent remembers conversation context across turns
  4. Match format to purpose — Use "Structured Board" for documentation, "Conversational" for exploration

5. Publish Boards

Once your boards are built and enriched with insights, publish them for organizational consumption.

Publishing creates a shareable, read-only snapshot with interactive navigation, insights overlays, and documentation sections. Control access at the board level:

VisibilityWho can view
PublicAnyone with the URL
UnlistedOnly people with the direct link
ProtectedRequires a password or share token

Published boards update when you re-publish — the URL stays stable, the content reflects your latest sync.

Startup Checklist

  • Signed in and selected your role
  • Created at least one source (Web URL or Inline Text is fastest)
  • Bound source to your Master Board as governing
  • Triggered a sync and reviewed extracted nodes
  • Ran an insight analysis (try Security or Dependency)
  • Asked the agent a question about your architecture
  • Published the board for a teammate to see
Tip

You don't need all 5 steps in one sitting. Most teams start with Sources + Boards and add Insights and Publishing as they go. The architecture builds incrementally.

Common Questions

How current is the data?

Sources sync continuously. Most changes appear within 5–15 minutes. Board Builder sources update when you re-run /analyze and /sync.

Can I query systems I don't have code access to?

Yes. ContextDx provides architectural context based on your role permissions, not code repo access. If the architecture is mapped on a board you can see, you can query it.

What if I get an answer I don't understand?

Ask follow-up questions. Try: "Explain that in simpler terms" or "What does that mean for [my specific concern]?" The agent adapts to your level.

How do I report incorrect information?

Click the feedback icon on any response. Your architects will review and update the architecture graph.

What's Next