AIM streamlines onchain programming by leveraging a Markdown-inspired language that lets you write near-natural language instructions for AI-driven blockchain workflows without the usual verbosity.
Instead of writing extensive boilerplate, AIM enables you to perform tasks like filtering tokens on Uniswap or checking your balance with simple, intuitive commands, seamlessly integrating with Ethereum’s ecosystem.
This approach not only reduces the overhead associated with traditional coding and LLM token usage but also frees you from vendor lock-in, offering a more accessible, cost-effective, and adaptable solution for decentralized applications.
For this hackathon, I extended AIMX (the CLI tool for executing AIM documents) to support tools and plugins, adding Coinbase Agentkit tools and The Graph for fetching onchain data as tools. See aim.config.ts
I've implemented several core features for AIM—a Markdown-based language for onchain agentic workflows—including filesystem support to load referenced documents at runtime, an aim.config.ts for project configuration, a minimal server with GET/POST endpoints for managing docs, and a Tailwind-styled UI to neatly visualize workflow flows.
Additionally, I enabled running inference locally via a CLI that respects environment variables and deployed the application on fly.io. These implementations lay the groundwork for AIM’s extensible framework—including the new plugin system—which will allow further integration of external data sources and services.
- Add your AI provider API keys in the .env file
- Create your content files in the /files directory
- Run
npm install
to install the dependencies - Run
npm run start
to start the development server
For full documentation, visit aim.microchipgnu.pt Read blog post, visit Syntax Decisions