Files
opencode/src/index.ts
T
Artur Do Lago ac8aed235e feat: Agent-core customizations for Personas ecosystem
- Add Personas skills (johny, stanley, zee)
- Add domain tools (stanley finance, zee personal)
- Add personas orchestration and knowledge graphs
- Add LLM Council for multi-model deliberation
- Add memory types for Qdrant vector storage
- Add tiara submodule for orchestration
- Add CLAUDE.md project documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 11:51:37 +01:00

73 lines
2.3 KiB
TypeScript

/**
* Agent Core - Unified AI Agent Foundation
*
* Powers Stanley (GUI/GPUI), Zee (WhatsApp/Telegram), and OpenCode (CLI/TUI)
* with subscription-based auth support (Claude Max, ChatGPT Plus, GitHub Copilot).
*
* ## Architecture Overview
*
* - **Provider System**: 15+ LLM providers with models.dev integration
* - **Agent System**: Configurable personas, permissions, and mode switching
* - **Tool System**: Built-in tools with MCP integration
* - **Memory Layer**: Qdrant vector storage with semantic search
* - **Surface Abstraction**: CLI/TUI, GUI, and Messaging adapters
* - **Plugin System**: Hook-based extensibility
* - **Session Management**: Streaming, retry logic, persistence
*
* @packageDocumentation
*/
// Core modules - use subpath exports for detailed access
// e.g., import { ... } from "@agent-core/core/provider"
// e.g., import { ... } from "@agent-core/core/mcp"
// Provider System - Multi-LLM support with subscription auth
export * as Provider from "./provider/types.js";
// Agent System - Configurable personas and permissions
export * as Agent from "./agent/types.js";
// Tool System - Built-in tools and MCP integration
export * as Tool from "./tool/types.js";
// MCP - Model Context Protocol servers
export * as Mcp from "./mcp/types.js";
// Memory - Qdrant-backed semantic memory
export * as Memory from "./memory/types.js";
// Surface - Abstraction for CLI/GUI/Messaging UIs
export * as Surface from "./surface/types.js";
// Session - Conversation state management
export * as Session from "./session/types.js";
// Plugin - Hook-based extensibility
export * as Plugin from "./plugin/types.js";
// Configuration - Unified config system
export * as Config from "./config/types.js";
// Transport - Communication abstractions
export * as Transport from "./transport/types.js";
// Canvas - TUI toolkit for agent displays (tmux/WezTerm)
export * as Canvas from "./canvas/index.js";
// Utilities - Common helpers and types
export * as Util from "./util/types.js";
// Re-export common utilities
export { z } from "zod";
export type { LanguageModelV1 } from "ai";
/** agent-core version */
export const VERSION = "0.1.0";
/** Package metadata */
export const PACKAGE = {
name: "@agent-core/core",
version: VERSION,
description: "Unified foundation for AI agent applications",
} as const;