soma.cell

Programs using tools

6 verified Soma programs that use tools. Start from one of these when you write a program that needs it.

ProgramLinesUses
A ReAct-style agent whose tools are real, deterministic computations63a state machine, an agent cell, LLM calls (think), pipes (|>), try / catch, lambdas, tools
Sentiment-routing agent: classify a message, route by polarity67a state machine, an agent cell, LLM calls (think), match, tools
Reflective tool-dispatch agent: routes a named action to the right tool77a state machine, an agent cell, LLM calls (think), match, try / catch, tools
Self-auditing agent: it inspects its own execution trace59a state machine, an agent cell, LLM calls (think), try / catch, tools
Support-ticket triage agent65a state machine, an agent cell, LLM calls (think), tools
Refund agent — an LLM decides, the language decides what it may do162a state machine, a memory invariant, an agent cell, a sum type, LLM calls (think), match, try / catch, guard blocks, require / fail, a cost bound, tools