You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One issue I encounter often when I write complex prompts or skills is the agent interpreting my words the wrong way, or deciding to batch or skip steps.
Problem: Human language is inherently ambiguous and when we add that to LLMs tendency to hallucinate and take shortcuts, we get very unpredictable results.
Idea: what if we wrote prompts in a programming language? this should force the agent to follow it step by step, right?
I chose Typescript as the language and built mantiq, a cli and a skill that let's you write prompts and skills using Typescript, some features/benefits are:
Having full control over the execution of the prompt.
The ability to implement determistic logic as Typescript functions that will be called as tools by the agent.
The ability to tell the agent what to think about or which actions to take at any step of the program.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
One issue I encounter often when I write complex prompts or skills is the agent interpreting my words the wrong way, or deciding to batch or skip steps.
Problem: Human language is inherently ambiguous and when we add that to LLMs tendency to hallucinate and take shortcuts, we get very unpredictable results.
Idea: what if we wrote prompts in a programming language? this should force the agent to follow it step by step, right?
I chose Typescript as the language and built mantiq, a cli and a skill that let's you write prompts and skills using Typescript, some features/benefits are:
I am still experimenting with this tool and would love to have your feedbacks on it: https://github.com/webNeat/mantiq
Beta Was this translation helpful? Give feedback.
All reactions