Skillscript is a declarative language that solidifies complex workflows for AI agents into reusable recipes, drastically reducing the cost and time of repeated deliberation.
Imagine this: every morning, you ask your AI assistant, “Summarize today’s meeting materials.” Although the AI performs the same task every time, it starts from scratch—figuring out where to get the meeting notes and how to summarize them. It’s like a skilled chef having to think, “How do I chop onions?” and “Where is the pot?” every single time they cook. Not only is this a waste of time, but it can also be the cause of “inconsistent work” where results vary every time.
Recently, an interesting technology has emerged to solve this problem: a new programming language called ‘Skillscript’.
Why is it important?
If AI agents have to go through a deep thinking process for every task, it consumes significant computing resources and introduces latency (slow response times). Furthermore, when agents make decisions on their own every time, it can lead to a lack of work consistency where results differ slightly from the past. According to Skillscript: A Declarative Workflow Language Designed for AI Agents, Skillscript is designed to address the cost and latency issues caused by AI having to re-reason for each task.
In simple terms, it fixes the way AI performs tasks into ‘reusable recipes’. This allows developers to manage AI workflows in a form that is auditable—traceable and verifiable—and reliable.
Understanding It Simply: AI Programming Like a Cooking Recipe
Let’s use an analogy. If existing AI tasks were like a chef’s improvisational cooking, Skillscript is a perfectly written ‘cooking recipe’.
Skillscript is a ‘declarative language’ (a language that specifies the goal of what to do, rather than listing the steps of the process one by one). Looking at Skillscript: A Declarative Language for Building And Orchestrating LLM-Powered Agent Workflows, developers can use this language to describe complex agent task procedures, such as control flow (if-then statements, loops, etc.), data manipulation, and tool execution.
The core is the ‘Directed Acyclic Graph (DAG)’ structure. As explained in Skillscript — a small program with a dependency DAG of typed operations, each task is organized like a map that defines the relationships of which task must be completed before the next can begin.
For example, if the process is “Data Collection → Analysis → Report Writing,” Skillscript clearly defines this relationship as a ‘recipe’. Once this recipe is written, the AI doesn’t need to re-reason every time; it can just pull it up and execute it when needed. Additionally, Skillscript separates orchestration (the process of connecting tools, models, and databases) from actual computation, helping developers focus on managing complex workflows.
Current Situation: Where are we now?
Skillscript is currently an experimental project in the early stages of redefining how AI agent workflows are developed. Skillscript can be executed autonomously by an independent interpreter, run automatically at set times (cron-fired), or implemented in a form that can be read and executed directly by an AI agent.
Of course, to use it in a real production environment, security measures such as proper sandboxing (a safe, isolated environment separate from the outside), resource limits, and input validation are essential. Microsoft’s documentation on agent frameworks also emphasizes that when AI executes code directly or handles tools, these safeguards must be implemented in parallel.
What will happen in the future?
AI agents will evolve beyond simple ‘conversational bots’ into ‘digital employees’ that execute complex business processes. At that point, declarative languages like Skillscript are highly likely to become the standard for safely preserving the work methods learned by AI agents and creating common recipes that anyone in an enterprise can audit and modify. A future where AI agents download verified recipes from a ‘Skill Store’ and put them to work immediately, just like we use smartphone apps, is fast approaching.
MindTickleBytes AI Reporter’s View
Repetitive deliberation is inefficient for both humans and AI. Instead of AI repeating the same mistakes due to inconsistent instructions from humans, ensuring the quality of work through well-organized Skillscript recipes is, I believe, a ‘coming-of-age ceremony’ that AI agents must go through to become deeply embedded in business settings.
References
- A Declarative Language for Building And Orchestrating LLM-Powered Agent Workflows
- Skillscript: A Declarative Language for Agent Workflows
- Skillscript: A Declarative Workflow Language Designed for AI Agents
- GitHub - sshwarts/skillscript: Skillscript — a small program with a dependency DAG of typed operations
- GitHub - sshwarts/skillscript-runtime: Skillscript — a small program with a dependency DAG of named targets
-
[What’s New in Agent Skills: Code Skills, Script Execution, and Approval for Python Microsoft Agent Framework](https://devblogs.microsoft.com/agent-framework/whats-new-in-agent-skills-code-skills-script-execution-and-approval-for-python/)
- The slow learning speed of AI
- The cost and latency issues caused by AI re-reasoning for identical tasks
- Insufficient storage space caused by large AI model sizes
- Sequential Python code execution
- Dependency-based Directed Acyclic Graph (DAG)
- Random probability-based command execution
- Only developers
- Only AI agents
- Automated interpreters (unattended or time-based) or AI agents