How athena-ai-lab/athena-core works
Project type and purpose
• Athena is a general‑purpose AI agent framework written in TypeScript.
• It’s a CLI‑first application with optional Web UI, built around a plugin‑based, micro‑kernel architecture.
• It orchestrates user requests, routes them through a core engine, and delegates work to a variety of plugins (LLM, browser automation, file-system, messaging, etc.).
File structure
• Top‑level “src” houses three main folders:
• core – the orchestrator and entry point (main.ts, athena.ts).
• plugins – every tool Athena can use, each in its own subfolder with init.ts.
• utils – shared constants, logger, crypto, etc.
• “configs” holds YAML templates for runtime configuration.
• “scripts” + Dockerfile provide container build/run automation.
• CI workflows in .github/workflows handle tests.
• package.json + tsconfig.json define the TypeScript build target and dependencies.
README for additional insights
• Core features: plugin‑driven LLM calls (cerebrum), scheduling (clock), memory (short & long‑term), multi‑UI (CLI & webapp), external integrations (HTTP search via Jina, Telegram, Discord).
• Configuration is YAML‑driven, enabling/disabling plugins and providing API keys.
• The roadmap hints at advanced memory and autonomous code writing, implying extension points in the plugin layer.