Codicent App SDK

A comprehensive SDK for building AI-powered applications with Codicent

Installation

Install from GitHub (Recommended for now)

Install directly from GitHub:

npm install github:izaxon/codicent-app-sdk

Or using yarn:

yarn add github:izaxon/codicent-app-sdk

Install from NPM (Coming soon)

Install the Codicent App SDK using npm:

npm install @izaxon/codicent-app-sdk

Or using yarn:

yarn add @izaxon/codicent-app-sdk

Usage

Import components and utilities:

import { CodicentService, useChat, Markdown } from 'codicent-app-sdk';

Basic Example


import React from 'react';
import { CodicentService, useChat, Markdown } from 'codicent-app-sdk';

const App = () => {
  const codicentService = new CodicentService({
    API_BASE_URL: 'https://codicent.com/',
    APP_NAME: 'my-app',
    // other required options...
  });

  const { messages, sendMessage } = useChat(codicentService);

  return (
    
{messages.map(msg => (
))}
); };

Downloads

Releases

Download the latest release from the GitHub Releases page.