Back to Agentic

@agentic/platform-types

packages/types/readme.md

8.4.41.9 KB
Original Source
<p align="center"> <a href="https://agentic.so/publishing"> </a> </p> <p> <a href="https://github.com/transitive-bullshit/agentic/actions/workflows/main.yml"></a> <a href="https://www.npmjs.com/package/@agentic/platform-types"></a> <a href="https://prettier.io"></a> </p>

@agentic/platform-types <!-- omit from toc -->

Core schemas and types shared across the Agentic platform.

[!TIP] You likely don't need this package directly. See @agentic/cli, @agentic/platform, and @agentic/platform-tool-client for more public-facing packages.

Install

bash
npm i @agentic/platform-types

Usage

ts
import {
  agenticProjectConfigSchema,
  type AgenticProjectConfigInput,
  resolvedAgenticProjectConfigSchema,
  type ResolvedAgenticProjectConfig,
  type User,
  type Project,
  type Deployment,
  type Consumer,
  type AdminMcpRequestMetadata
  // etc...
} from '@agentic/platform-types'

Notes

Some types are raw TS, some are derived from zod schemas, and most of the core database models are inferred from a generated OpenAPI spec exposed by Agentic's backend API.

License

GNU AGPL 3.0