← Winnitude! Search  ·  Reader Mode (836 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
CORTEX DOCS · 15 LINKS

Cortex Docs -- APIs built for developers and agents

Open source
Star on GitHub
--
Start building The open-source API knowledge layer for developers and AI agents

Every developer. Every agent.

Cortex turns API specifications and Markdown into typed SDKs, interactive documentation, and MCP servers for developers and AI agents.

Get started View on GitHub Product Hunt #2 Product of the Day Live demo demo.cortexdocs.dev ↗

One project. Every API surface.

OpenAPI AsyncAPI GraphQL gRPC OpenRPC

One workflow / three interfaces

Unlimited specs.
Multiple ways to use it.

Generate interactive docs for exploration, typed SDKs for integration, and MCP tools for AI agents.

cortex.config.yml
project: acme-api
sources:
  - type: openapi-spec
    spec: ./openapi.yml
  - type: graphql-spec
    spec: ./schema.graphql
mcp:
  package_name: @acme/mcp
5 protocols 1 config 01 Interactive docs For developers 02 Typed SDKs For applications 03 MCP server For AI agents

Built for agentic development

Give agents the same context your best engineer has.

Cortex maps API operations to typed MCP tools and packages the source specs, documentation, and SDK references beside them. The agent can discover the right interface, install the right client, and generate integration code with less prompting.

  • ✓ Tool schemas generated from your API contract
  • ✓ Docs and specs available as grounded resources
  • ✓ SDK-first instructions tuned to the user's codebase
Explore MCP generation ✦ Integration agent Connected to @acme/mcp ● connected Add pet creation to the onboarding flow using our TypeScript SDK. ⌁ pets_create completed
{
  "name": "Mochi",
  "species": "cat"
}
✦

I found the generated TypeScript package and the required request shape. I'll install @acme/pet-sdk and use the typed pets client.

Ask about your API... ↵

The whole API surface

From API definitions to real integrations.

One opinionated toolchain for the parts of API delivery that drift apart when every team maintains them by hand.

01 One source of truth

Bring the API you already have.

Combine REST, realtime, GraphQL, gRPC, and JSON-RPC sources in one project. Cortex validates the contract before it generates a thing.

02 Human interface

Documentation that invites exploration.

Ship searchable guides, interactive references, copy-ready examples, and a live request builder in a documentation site you can self-host.

03 Agent interface

Every operation becomes a tool.

Generate an MCP server with typed tools, embedded specs, SDK guides, and project docs so agents can integrate with context -- not guesses.

04 Native by default

Idiomatic in eleven languages.

Typed clients follow each language's conventions and include authentication, timeouts, streams, retries, and package metadata.

05 Own the result

Open templates. Open code. No lock-in.

Export and override any Eta template, publish to your own registries, and deploy the generated documentation wherever Node runs.

Native everywhere

One API. Eleven languages.

Generated clients feel at home in every ecosystem -- from naming and types to their native package manager.

01 TypeScript 02 Python 03 Go 04 Java 05 Kotlin 06 Ruby 07 PHP 08 C# 09 Rust 10 C++ 11 C
// Fully typed. Ready to ship.
import { PetstoreClient } from "@acme/petstore";

const cortex = new PetstoreClient({
  bearerToken: process.env.API_TOKEN,
});

const pet = await cortex.pets.create({ name: "Mochi" });
Type-safe Auth included Streaming ready

Built in the open

The API platform you can actually own.

Cortex Docs is MIT-licensed and designed to fit the way open-source teams work: docs as code, reviewable generation, sparse template overrides, and output you can run anywhere.

Explore the repository Contribute C github.com/cortex-docs cortex Public

Generate typed SDKs, interactive API documentation, and MCP servers from your API specifications.

TypeScript API tooling AI agents MIT license main

Your API deserves a better interface

Build once. Meet every user.

Start with one command and turn the API you have into a developer and agent experience people want to use.

Read the quickstart Explore the live demo