SDK Functions
Get API Access
Environment Setup
export TINYHUMANS_TOKEN="YOUR_API_KEY"
export TINYHUMANS_BASE_URL="https://api.tinyhumans.ai" # optionalInstall by Language
npm install @tinyhumansai/neocorteximport { TinyHumanMemoryClient } from "@tinyhumansai/neocortex";
const client = new TinyHumanMemoryClient({ token: process.env.TINYHUMANS_TOKEN ?? "" });pip install tinyhumansaiimport os
import tinyhumansai as api
client = api.TinyHumanMemoryClient(token=os.getenv("TINYHUMANS_TOKEN"))go get github.com/tinyhumansai/neocortex-sdk-goclient, err := tinyhumans.NewClient(os.Getenv("TINYHUMANS_TOKEN"))
if err != nil { log.Fatal(err) }
defer client.Close()[dependencies]
tinyhumansai = "0.1"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }use tinyhumansai::{TinyHumanConfig, TinyHumanMemoryClient};
let client = TinyHumanMemoryClient::new(TinyHumanConfig::new(std::env::var("TINYHUMANS_TOKEN")?))?;cd packages/sdk-java
gradle buildimport xyz.tinyhuman.sdk.*;
TinyHumanMemoryClient client = new TinyHumanMemoryClient(System.getenv("TINYHUMANS_TOKEN"));Core Operations
Operation
TypeScript
Python
Go
Rust
Java
C++
Last updated