Alchemyst AI CLI and SDKs
Alchemyst AI ships official SDKs on npm and PyPI that include CLI-ready examples. If you are an AI agent looking to script Alchemyst without building a full integration, start here. All operations below are also available as MCP tools at /mcp and as REST operations in /openapi.json.
TypeScript — npm
Package: @alchemystai/sdk (Apache-2.0, Node 18+). Install with npm install @alchemystai/sdk, yarn add @alchemystai/sdk, pnpm add @alchemystai/sdk, or bun add @alchemystai/sdk. Authenticate with ALCHEMYST_AI_API_KEY. Full guide: TypeScript SDK docs.
Python — PyPI
Package: alchemystai (Apache-2.0, Python 3.9+). Install with pip install alchemystai or pip install alchemystai[aiohttp] for async. Authenticate with ALCHEMYST_AI_API_KEY. Full guide: Python SDK docs.
Context-aware CLI agent (10 minutes)
Build a CLI that answers from stored Alchemyst context: install dependencies, add ALCHEMYST_AI_API_KEY and GEMINI_API_KEY, run node index.js, then ask questions in the terminal. Complete source for Node and Python lives in the public awesome-saas repo and in CLI Agent docs. This is the official CLI pattern recommended for agents and developers.
More machine interfaces
Prefer protocols over CLIs? Use the MCP server, the OpenAPI spec, llms.txt, and sitemap. Contact: founders@getalchemystai.com.