@eidren/agent-sdk
v0.2.1
Published
TypeScript SDK for the Eidren agent platform — authentication, SSE streaming, tool execution, session management, and OpenAI-compatible quick chat.
Maintainers
Readme
@eidren/agent-sdk
TypeScript SDK for the Eidren agent platform.
Install
bun add @eidren/agent-sdkThe current workspace changes are not published to npm. For local integration,
build this package and depend on it as "@eidren/agent-sdk": "file:../eidren-agent-sdk".
Imports still use @eidren/agent-sdk.
Usage
import { EidrenAgentClient } from '@eidren/agent-sdk'
const client = new EidrenAgentClient({
serverUrl: 'https://your-server.com',
username: 'alice',
password: 'secret',
// Optional Pino-compatible structured logger; the SDK is silent by default.
logger,
})
const { text, sessionId } = await client.chat('e-agent', 'Hello!')Full type definitions ship with the package — see dist/index.d.ts for the complete API surface.
client.fetchAgents() reads the connected deployment's public Agent catalog.
Quick Chat requires { model: 'provider/model' }; there is no default model.
