Zing Forum

Reading

Astonish: A Local-First AI Agent Platform for Building Reusable Workflows with YAML

Astonish is a local AI agent platform inspired by OpenClaw, implemented in Go as a single binary file. It supports dynamic tool calling, automatic workflow refinement, a semantic memory system, and the MCP protocol, allowing users to create complex AI workflows via YAML configuration without writing extensive code.

AstonishAI智能体工作流YAMLGoMCP本地AI低代码OpenClaw
Published 2026-03-31 05:15Recent activity 2026-03-31 05:24Estimated read 5 min
Astonish: A Local-First AI Agent Platform for Building Reusable Workflows with YAML
1

Section 01

Introduction / Main Post: Astonish: A Local-First AI Agent Platform for Building Reusable Workflows with YAML

Astonish is a local AI agent platform inspired by OpenClaw, implemented in Go as a single binary file. It supports dynamic tool calling, automatic workflow refinement, a semantic memory system, and the MCP protocol, allowing users to create complex AI workflows via YAML configuration without writing extensive code.

2

Section 02

Project Background and Core Principles

In the field of AI agents, most solutions are either too complex requiring extensive programming or too simplistic to meet practical needs. Astonish aims to strike a balance between the two, providing a powerful yet easy-to-use local AI agent platform.

This project is deeply inspired by OpenClaw— which pioneered several innovations in the personal AI assistant space, including resident daemons, skills as Markdown, multi-channel messaging, and a tool-first architecture. Astonish reimplements these concepts in Go and adds a unique feature: automatic workflow refinement.

The core principles can be summarized as:

  • Local First: All data processing and model inference are done locally to protect privacy
  • Single Binary: The entire system is compiled into an independent executable file for zero-dependency deployment
  • Chat First: Interact with agents via natural language dialogue to lower the barrier to use
  • Reusable Workflows: Successful task executions can be refined into reusable YAML workflows
3

Section 03

Architecture Design and Technical Implementation

Astonish adopts a modular architecture, with core components including:

4

Section 04

Dynamic Agent Engine

The agent dynamically solves problems through LLM-driven tool-use loops. It decides which tools to call and how to combine toolchains based on task requirements, enabling multi-step tasks without predefined workflows.

It has 58 built-in tools covering:

  • System Operations: Shell command execution (supports PTY and background processes), file operations
  • Network Capabilities: Web scraping (with readability extraction), PDF reading, browser automation
  • Communication Functions: Email sending/receiving, search, CAPTCHA waiting
  • AI Capabilities: Semantic memory search, sub-agent delegation, skill lookup
5

Section 05

Native MCP Support

Astonish natively supports the Model Context Protocol (MCP), allowing any MCP server to be plug-and-play. This means users can easily add external capabilities like GitHub, Slack, and databases, extending agent functionality without modifying code.

6

Section 06

Multi-Model Provider Support

Supports over 15 AI providers, including:

  • Commercial APIs: OpenAI, Anthropic, Google Gemini, Groq, OpenRouter, xAI
  • Local Deployment: Ollama, LM Studio
  • Enterprise Solutions: SAP AI Core, LiteLLM

Users can dynamically switch providers and models during a session; the system supports hot-swapping without restarting.

7

Section 07

Automatic Workflow Refinement: Core Innovation

Astonish's most distinctive feature is its three-step workflow refinement mechanism:

8

Section 08

Phase 1: Free Problem-Solving

The agent dynamically handles user requests, calling necessary tools to complete multi-step tasks. The entire execution process is fully recorded as an execution trace.