---
name: auth-md
description: Agent registration and authentication protocol (auth.md) for Taki Labs (www.takilabs.io), detailing public read-only discovery endpoints and suite-wide OAuth 2.0 / OIDC authentication via auth.takilabs.io, Mahi, and Tohu.
agent:
  instructions: "Use this search API to find relevant content across Taki Labs with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://www.takilabs.io/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Agent Authentication & Registration (`auth.md`) — Taki Labs

> Canonical Agent Auth Skill (`auth.md`): `https://www.takilabs.io/auth.md`  
> Protected Resource Metadata (RFC 9728): `https://www.takilabs.io/.well-known/oauth-protected-resource`  
> Authorization Server Metadata (RFC 8414): `https://www.takilabs.io/.well-known/oauth-authorization-server`  
> OpenID Connect Discovery: `https://www.takilabs.io/.well-known/openid-configuration`

## 1. Public Read-Only Access on `www.takilabs.io`

All marketing, directory, search (`/.well-known/search`), health (`/api/health`), and public MCP (`POST /api/mcp`) endpoints on `https://www.takilabs.io` are publicly accessible without authentication.

## 2. Suite-Wide Agent Authentication

For authenticated workspace operations in Taki Labs Suite applications:
- **Unified Account Portal**: `https://auth.takilabs.io`
- **Mahi (Projects & Kanban)**: Follow `https://mahi.takilabs.io/auth.md` (`POST https://mahi.takilabs.io/api/oauth/agent/register`, Personal API Keys `mahi_...`)
- **Tohu (Electronic Signatures)**: Follow `https://tohu.takilabs.io/auth.md` (`POST https://tohu.takilabs.io/api/oauth/agent/register`, Personal API Keys `sdk_...`)

## 3. Two-Hop Machine Discovery

1. Fetch `GET https://www.takilabs.io/.well-known/oauth-protected-resource` (RFC 9728).
2. Fetch `GET https://www.takilabs.io/.well-known/oauth-authorization-server` (RFC 8414) and inspect `agent_auth` for `register_uri`, `claim_uri`, `revocation_uri`, `identity_types_supported`, and `credential_types_supported`.
