agents
Skill533 starsChanged 6 months agoMITView on GitHub
Use when designing, deploying, or debugging a Butterbase Agent (declarative LLM/tool graph), registering an MCP server for tool use, or wiring access controls and rate limits. Agents are first-class app resources defined by a `graph_spec` and invoked over `/v1/<app_id>/agents/<name>/runs`.
- Reads credentials
21 other projects use a version of this.
Adopted by
Most recently taken up by
- skynetcmd/m3-memorytheir own version, first seen Oct 3, 2026
- calesthio/OpenMontagetheir own version, first seen Oct 3, 2026
- Quad4-Software/skillstheir own version, first seen Oct 3, 2026
- akillness/jeo-skillstheir own version, first seen Oct 2, 2026
- RobStrayer/voice-agent-skillstheir own version, first seen Oct 1, 2026
- elevenlabs/skillstheir own version, first seen Sep 30, 2026
Used with
Projects with it also use speech-engine, voice-isolator and 4 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
elevenlabsSkillspeech-engine
Add real-time voice conversations to a custom agent runtime with ElevenLabs Speech Engine. Use when building Speech Engine servers, WebSocket handlers, WebRTC browser clients, conversation token endpoints, interruption-aware streaming responses, or voice-enabled chat agents that connect developer-owned server logic to ElevenLabs speech-to-text and text-to-speech.
Also in 3 projects that use this
elevenlabsSkillvoice-isolator
Remove background noise and isolate vocals/speech from audio using ElevenLabs Voice Isolator (audio isolation) API. Use when cleaning up noisy recordings, removing music or background ambience from dialogue, isolating speech from field recordings, preparing audio for transcription, extracting vocals, or any "denoise / clean up / isolate voice" task.
Also in 3 projects that use this
wlzhSkillvoice-changer
音频变声处理工具 - 使用 RVC AI 模型进行真实的声音转换,支持视频直接输入
Also in 3 projects that use this
perso-aiSkilldubbing
Auto-dub (voice-translate) videos into other languages, with lip-sync (Perso AI Dubbing).
Also in 3 projects that use this
martinholovskySkilltext-to-speech
Expert skill for implementing text-to-speech with Kokoro TTS. Covers voice synthesis, audio generation, performance optimization, and secure handling of generated audio for JARVIS voice assistant.
Also in 3 projects that use this
martinholovskySkillspeech-to-text
Expert skill for implementing speech-to-text with Faster Whisper. Covers audio processing, transcription optimization, privacy protection, and secure handling of voice data for JARVIS voice assistant.
Also in 3 projects that use this
Other versions21 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 21
- calesthio/OpenMontage★ 63ksame name
- mex-memory/mex★ 1.8ksame name
- elevenlabs/skills★ 472same name
- aws-samples/sample-well-architected-skills-and-steering★ 272same name
- boadij/pi-herdsman★ 121same name
- claude-world/director-mode-lite★ 80same name
- openbashok/promptzero★ 70same name
- akillness/jeo-skills★ 46same name
- skynetcmd/m3-memory★ 26same name
- itsmostafa/llm-engineering-skills★ 22same name
11 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository40 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- butterbase-skillsSkill
- aiSkill
- auth-setupSkill
- build-appSkill
- contributingSkill
- debug-rlsSkill
- deploy-frontendSkill
- durable-objectsSkill
- function-devSkill
- integrationsSkill
- journey-agentsSkill
- journey-aiSkill
- journey-authSkill
- journey-deploySkill
- journey-docsSkill
- journey-durableSkill
- journey-frontendSkill
- journey-functionsSkill
- journey-ideaSkill
- journey-planSkill
- journey-preflightSkill
- journey-ragSkill
- journey-realtimeSkill
- journey-rlsSkill
- journey-schemaSkill
- journeySkill
- journey-storageSkill
- journey-submitSkill
- journey-substrateSkill
- journey-templatesSkill
- meetingsSkill
- migrationsSkill
- paymentsSkill
- rag-devSkill
- realtimeSkill
- schema-designSkill
- storageSkill
- substrateSkill
- templatesSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 19 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Don't use for plain LLM chat completions — use the ai skill (manage_ai / /v1/ai/chat).
- Very specific: line 57
All builtins respect role: end_user runs as butterbase_user with their user id (RLS applies).
- Very specific: line 82
Register MCP servers: if used: agent_mcp_servers table (MCP-tool wrapper TBD.
- Very specific: line 94
Check error.code: validation_failed (spec issue), tool_error (named tool, named arg), budget_exceeded, rate_limited, timeout.
“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Butterbase Agents
A Butterbase agent is a declarative graph of LLM and tool nodes — not a free-running chat loop. The runtime traverses the graph, calls tools (builtin / MCP / function), and resolves the end node's output_template. State, rate limits, and budgets are enforced by the control plane.
When to use
- The user wants to add a workflow that combines an LLM with tool calls (DB writes, storage reads, MCP servers, app functions).
- The user wants to expose an agent endpoint to end users (
visibility: publicorauthenticated). - Debugging a failing agent run (look at
list_agent_runs, thenget_agent_run). - Registering an external MCP server for the agent to use.
Don't use for plain LLM chat completions — use the ai skill (manage_ai / /v1/ai/chat). Agents are for stateful, multi-step, tool-using workflows.
Concepts
graph_spec (validated by validate_agent_spec before anything is persisted)
| Field | Required | Notes |
spec_version | yes | Literal "1". |
entry | yes | ID of the first node. |
nodes | yes | Record { id → node }. |
edges | yes | [{ from, to }]. Both endpoints must exist in nodes. |
tools | yes | { builtin: [], mcp_servers: [], functions: [] } — declares what nodes can call. |
limits | yes | max_steps (1–200), max_tool_calls (0–500), max_parallel_tools (1–16), timeout_seconds (5–3600), human_timeout_seconds (60–7×24×3600). |
Node types:
llm—model,system_prompt,input_template,output_key,tools: [toolRef], optionaltemperature(0–2),max_tokens.tool—tool_ref,args_template(record),output_key.end—output_template(string; can interpolate{{output_key}}values).
toolRef is a discriminated union by source:
{ source: 'builtin', name }{ source: 'mcp', server_id, name }{ source: 'function', name }
Each may carry mode_override (read_only | read_write) and exposed_to_override (developer_only | end_user).
Builtin tools (always available, no setup)
| Name | Purpose | Args |
query_table | Select rows (RLS enforced) | table, filter, limit (≤200) |
insert_row | Insert | table, values |
update_row | Update by id | table, id, patch |
delete_row | Delete by id | table, id |
read_storage | Get object (≤5 MB) | key |
write_storage | Put object (≤1 MB b64) | key, content_base64, content_type? |
auth_user_lookup | Find a user | email OR id |
All builtins respect role: end_user runs as butterbase_user with their user id (RLS applies); developer_only runs as butterbase_service.
MCP servers
Register before referencing in graph_spec.tools.mcp_servers. Transports: sse, http, streamable_http. The control plane probes on register (calls listTools()), stores status='healthy'|'unhealthy'. Re-probe with the same endpoint after a server URL change.
Access & limits
| Field | Default | Notes |
visibility | private | private (owner only), authenticated (any app user), public (anyone, with rate limits). |
max_runs_per_user_per_hour | null | null = unlimited. |
max_runs_per_ip_per_hour | null | Primary public-agent throttle. |
max_runs_per_app_per_hour | null | App-wide cap. |
daily_budget_usd | null | Hard kill once exceeded. |
max_concurrent_runs | null | |
safety_acknowledged | false | Required true if visibility ≠ private AND any node calls a write tool (insert_row, update_row, delete_row, write_storage, or a write-mode MCP/function tool). |
Procedure
Designing a new agent
- Sketch the graph in prose first. "User asks X → LLM rephrases → query_table for context → LLM answers → end." Concrete node IDs.
- Write the spec as a JSON file in the repo (e.g.
agents/<name>.json) — versioning it in git makes templates portable and letsbutterbase repo pushcarry it to clones. - Validate without persisting — call
validate_agent_spec(MCP) or pass the file to avalidate_agent_speccall. Surface any Zod issues to the user with field paths. - Register MCP servers if used:
agent_mcp_serverstable (MCP-tool wrapper TBD; use the dashboard or POST/v1/<app_id>/agent-mcp-serversdirectly). Wait forstatus: healthy. - Create —
create_agentwith name, graph_spec, default_model, access fields. Ifvisibility ≠ 'private'and any write tool is reachable, require the user to explicitly say "yes, I acknowledge" and setsafety_acknowledged: true. - Smoke —
invoke_agentwith a small input. Pollget_agent_rununtil terminal. Show the user the run timeline (steps, tool calls, final output).
Editing
update_agentis a PATCH. Pass only changed fields. Bumpinggraph_specrevalidates; runs in flight against the old spec finish unmolested.- Disabling an agent:
update_agent { status: 'disabled' }— new runs return 403, existing runs keep going.
Debugging a failing run
list_agent_runsfiltered by agent name, thenget_agent_run(run_id)for the event timeline.- Check
error.code:validation_failed(spec issue),tool_error(named tool, named arg),budget_exceeded,rate_limited,timeout. - For tool errors, re-run the same
args_templatewith the underlying tool directly (select_rows,invoke_function, etc.) to confirm the issue is in the tool's surface, not the agent runtime. - For
human_input_requiredcheckpoints, resume withresume_agent_run(run_id, user_input).
CLI
butterbase agents list/get <name>/create -f spec.json/update <name> -f patch.json/delete <name>— read/write specs from files. Useful for version-controlling agents alongside app code.
Anti-patterns
- ❌ Skipping
validate_agent_spec. Zod issues are clearer than the runtime errors you get from a bad spec at first invocation. - ❌ Setting
visibility: publicwith write tools and no rate limits. The control plane will refuse withoutsafety_acknowledged: true, but you should also set per-IP limits and a daily budget. - ❌ Putting secrets in
system_promptorargs_template. Read them fromctx.envinside a function tool instead — agent specs are visible to anyone who can read the agent. - ❌ Letting an LLM node call itself recursively without a
max_stepsceiling. Always cap. - ❌ Forgetting that builtin DB tools respect RLS. If
query_tablereturns empty, the calling role probably can't see the rows — checkexposed_to. - ❌ Treating agents as part of clone replay. Agent records are not copied when an app is cloned — bundle the spec JSON in the repo (
agents/*.json) and document recreation in the README.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

