Catalog PyPI
PACKAGE EXPLORERView in registry

ai-character-sdk

PyPI

A unified SDK for creating AI characters with memory, personality, and decision-making capabilities

agentaicharacterllmmemoryroleplay
Versions collected1
Direct dependencies9From release 0.1.1
Last observed21 Oct, 10:08 UTC

README

Version 0.1.1 documentation

ai-character-sdk

A unified Python SDK for creating AI characters with memory, personality, and decision-making capabilities. Combines an escalation engine, hierarchical memory, and outcome learning into a simple API.

Brand Line

Characters that remember, learn, and decide — built for fleet members.

Installation

pip install cocapn-ai-character-sdk

Quick Start

from ai_character_sdk import Character

# Create a character
hero = Character(
    name="Finn the Brave",
    character_class="paladin",
    personality={"bravery": 0.9, "kindness": 0.8}
)

# Use the character
response = hero.think("I see a goblin approaching")
print(response.content)

# Remember experiences
hero.remember("The goblin was actually friendly", importance=7.0)

# Learn from outcomes
hero.learn(outcome="Made a new ally", success=True, reward=10.0)

Features

  • Unified Character API — Simple, intuitive interface for character creation
  • 6-Tier Memory System — Hierarchical memory inspired by cognitive neuroscience
  • Intelligent Decision Routing — Cost-effective escalation engine (BOT/BRAIN/HUMAN tiers)
  • Dynamic Personality — Trait-based behavior system
  • Outcome Learning — Reinforcement learning from experience
  • Persistence — Save and load character state
  • Character Presets — Pre-built archetypes to get started quickly

Fleet Context

Part of the Cocapn fleet. Related repos:


🦐 Cocapn fleet — lighthouse keeper architecture

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.12 May 20269

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
casey/ai-character-sdk

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:08 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:15321b76187149d994866e5f4f0e2c638ea2f04aa5891a837e9572329f65a279