> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nex.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Welcome to Nex

> Developer documentation and API reference for Nex — the workflow execution and context layer for AI-native business operations

## What is Nex

Nex is where AI workflows become reliable business software — the workflow execution and context layer for AI-native business operations. It connects the tools where work actually happens — WhatsApp, email, Slack, meeting transcripts, support tickets, product events — into a single knowledge graph per workspace. AI agents use that graph as ground truth to answer natural-language queries and run workflows.

The REST API lets you ingest context, query it, and wire your own agents into the same substrate Nex itself runs on.

<CardGroup cols={3}>
  <Card title="Ask your context anything" icon="comments" href="/api-reference/context/query-context">
    Natural-language queries across every connected source
  </Card>

  <Card title="Intelligence that compounds" icon="route" href="/api-reference/compounding/trigger-job">
    Consolidate insights, detect recurring patterns, and synthesize reusable rules from execution history
  </Card>

  <Card title="One context across all" icon="diagram-project" href="/api-reference/integrations/list-integrations">
    A unified integration layer for every tool in your stack
  </Card>
</CardGroup>

## Quick Start

```bash theme={null}
# Authenticate with your API key
curl https://app.nex.ai/api/developers/v1/objects \
  -H "Authorization: Bearer sk-YOUR_API_KEY"
```

<CardGroup cols={2}>
  <Card title="API Reference" icon="terminal" href="/api-reference/introduction">
    Explore the complete API with an interactive playground
  </Card>

  <Card title="Authentication" icon="key" href="/api-reference/introduction#authentication">
    Set up API keys and scopes for your integration
  </Card>
</CardGroup>

## Building blocks

The API exposes the primitives that make up the context graph: the schema of your entities, the records that populate it, the relationships between them, the context you ingest, and the intelligence layer that compounds it over time.

<CardGroup cols={3}>
  <Card title="Schema" icon="cube" href="/api-reference/schema/create-object-definition">
    Define object types and attributes for your knowledge graph
  </Card>

  <Card title="Records" icon="database" href="/api-reference/records/create-a-new-record">
    Create, read, update, and delete entities in the graph
  </Card>

  <Card title="Relationships" icon="link" href="/api-reference/relationships/create-relationship-definition">
    Model how entities in the graph connect to each other
  </Card>

  <Card title="Context" icon="brain" href="/api-reference/context/query-context">
    Ingest unstructured context and query it in natural language
  </Card>

  <Card title="Insights" icon="lightbulb" href="/api-reference/insights/stream-insights">
    Stream AI-derived insights back into your own systems
  </Card>

  <Card title="Graph" icon="diagram-project" href="/api-reference/graph/get-knowledge-graph">
    Traverse the full knowledge graph for an entity
  </Card>

  <Card title="Lists" icon="list" href="/api-reference/lists/create-a-list">
    Group records into working sets for agents and workflows
  </Card>

  <Card title="Tasks & notes" icon="circle-check" href="/api-reference/tasks/create-a-task">
    Attach actions and free-form context to any record
  </Card>

  <Card title="Timeline & search" icon="clock-rotate-left" href="/api-reference/timeline/get-record-timeline">
    Audit history and full-text search across the graph
  </Card>
</CardGroup>
