The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore(agent): remove account_admin_agent and tinyplace_agent builtins
Steven Enamakel051b4b265c51
diff --git a/src/openhuman/agent/registry/agents/account_admin_agent/agent.toml b/src/openhuman/agent/registry/agents/account_admin_agent/agent.tomldeleted file mode 100644index ee4c0f7531..0000000000--- a/src/openhuman/agent/registry/agents/account_admin_agent/agent.toml+++ /dev/null@@ -1,59 +0,0 @@-id = "account_admin_agent"-display_name = "Account Admin Agent"-delegate_name = "manage_account"-when_to_use = "Account, billing, team and credential specialist. Use for plan, balance, cards, transactions, top-ups, coupons, auto-recharge, team membership, invites, roles, login/session and connected OAuth state, or referral claims."-temperature = 0.2-max_iterations = 8-sandbox_mode = "none"-agent_tier = "worker"-omit_identity = true-omit_memory_context = true-omit_safety_preamble = false-omit_skills_catalog = true-omit_profile = true-omit_memory_md = true--[model]-hint = "agentic"--[tools]-named = [- "session_state",- "session_get_user",- "credential_list",- "oauth_connect_url",- "oauth_list",- "referral_get_stats",- "referral_claim",- "billing_get_plan",- "billing_get_balance",- "billing_list_transactions",- "billing_get_auto_recharge",- "billing_list_cards",- "billing_list_coupons",- "billing_create_stripe_portal",- "billing_purchase_plan",- "billing_top_up_credits",- "billing_create_coinbase_charge",- "billing_create_setup_intent",- "billing_update_card",- "billing_delete_card",- "billing_redeem_coupon",- "billing_update_auto_recharge",- "team_list",- "team_get_usage",- "team_get",- "team_list_members",- "team_list_invites",- "team_create",- "team_update",- "team_delete",- "team_switch",- "team_join",- "team_leave",- "team_create_invite",- "team_revoke_invite",- "team_remove_member",- "team_change_member_role",- "ask_user_clarification",-]diff --git a/src/openhuman/agent/registry/agents/account_admin_agent/mod.rs b/src/openhuman/agent/registry/agents/account_admin_agent/mod.rsdeleted file mode 100644index 8bf84783cb..0000000000--- a/src/openhuman/agent/registry/agents/account_admin_agent/mod.rs+++ /dev/null@@ -1 +0,0 @@-pub mod prompt;diff --git a/src/openhuman/agent/registry/agents/account_admin_agent/prompt.md b/src/openhuman/agent/registry/agents/account_admin_agent/prompt.mddeleted file mode 100644index bce067f2f6..0000000000--- a/src/openhuman/agent/registry/agents/account_admin_agent/prompt.md+++ /dev/null@@ -1,14 +0,0 @@-# Account Admin Agent--You own account/session, OAuth connection, billing, referral, and team administration tools.--This surface can affect money, access, membership, or auth state:--- Inspect current state before every mutation: session, credentials/OAuth, billing plan/balance/cards/transactions, referral stats, or team membership/invites.-- Ask for explicit confirmation before money-moving or admin actions: plan purchase, top-up, Coinbase charge, setup intent, card update/delete, auto-recharge change, coupon redemption, team create/update/delete/switch/join/leave/invite/revoke/remove/change-role, or referral claim.-- Never ask the user to paste raw secrets into chat. Use OAuth URL tools or existing credential/session tools.-- For billing, state amount, plan, interval, payment method/card id, and resulting portal/charge/setup URL before or after the action as applicable.-- For team changes, include the target team id and user/invite id in the confirmation and final summary.-- Refuse to fabricate identifiers. If an id is missing, list or get first.--Return a concise audit trail: inspected state, confirmed action, tool result.diff --git a/src/openhuman/agent/registry/agents/account_admin_agent/prompt.rs b/src/openhuman/agent/registry/agents/account_admin_agent/prompt.rsdeleted file mode 100644index 4b1065b02f..0000000000--- a/src/openhuman/agent/registry/agents/account_admin_agent/prompt.rs+++ /dev/null@@ -1,38 +0,0 @@-//! System prompt builder for the `account_admin_agent` built-in agent.--use crate::openhuman::agent::context::prompt::{- render_safety, render_tools, render_user_files, render_workspace, PromptContext,-};-use anyhow::Result;--const ARCHETYPE: &str = include_str!("prompt.md");--pub fn build(ctx: &PromptContext<'_>) -> Result<String> {- let mut out = String::with_capacity(4096);- out.push_str(ARCHETYPE.trim_end());- out.push_str("\n\n");-- let user_files = render_user_files(ctx)?;- if !user_files.trim().is_empty() {- out.push_str(user_files.trim_end());- out.push_str("\n\n");- }-- let tools = render_tools(ctx)?;- if !tools.trim().is_empty() {- out.push_str(tools.trim_end());- out.push_str("\n\n");- }-- let safety = render_safety();- out.push_str(safety.trim_end());- out.push_str("\n\n");-- let workspace = render_workspace(ctx)?;- if !workspace.trim().is_empty() {- out.push_str(workspace.trim_end());- out.push('\n');- }-- Ok(out)-}diff --git a/src/openhuman/agent/registry/agents/loader.rs b/src/openhuman/agent/registry/agents/loader.rsindex c45815dcf8..7f7b7554d9 100644--- a/src/openhuman/agent/registry/agents/loader.rs+++ b/src/openhuman/agent/registry/agents/loader.rs@@ -114,12 +114,6 @@ pub const BUILTINS: &[BuiltinAgent] = &[prompt_fn: super::flow_memory_agent::prompt::build,graph_fn: None,},- BuiltinAgent {- id: "tinyplace_agent",- toml: include_str!("../../../tinyplace/agent/agent.toml"),- prompt_fn: crate::openhuman::tinyplace::agent::prompt::build,- graph_fn: None,- },BuiltinAgent {id: "tools_agent",toml: include_str!("tools_agent/agent.toml"),@@ -144,12 +138,6 @@ pub const BUILTINS: &[BuiltinAgent] = &[prompt_fn: super::profile_memory_agent::prompt::build,graph_fn: None,},- BuiltinAgent {- id: "account_admin_agent",- toml: include_str!("account_admin_agent/agent.toml"),- prompt_fn: super::account_admin_agent::prompt::build,- graph_fn: None,- },BuiltinAgent {id: "scheduler_agent",toml: include_str!("scheduler_agent/agent.toml"),diff --git a/src/openhuman/tinyplace/agent/agent.toml b/src/openhuman/tinyplace/agent/agent.tomldeleted file mode 100644index 3cca99c9aa..0000000000--- a/src/openhuman/tinyplace/agent/agent.toml+++ /dev/null@@ -1,59 +0,0 @@-id = "tinyplace_agent"-display_name = "Tinyplace Agent"-delegate_name = "use_tinyplace"-when_to_use = "tiny.place specialist - handles tiny.place social economy workflows: Agent Cards, discovery, jobs, proposals, groups, encrypted messages, escrow, wallet-funded actions, and x402 payment challenges. Use for any request that names tiny.place/tinyplace, @handles on tiny.place, tiny.place jobs/work, proposals, escrows, messages, groups, registration/status, or applying to tiny.place work. It owns the tinyplace_* tool surface and keeps paid/irreversible actions behind explicit confirmation."-temperature = 0.2-max_iterations = 8-iteration_policy = "extended"-sandbox_mode = "none"-omit_identity = true-omit_memory_context = true-omit_safety_preamble = false-omit_skills_catalog = true--[model]-hint = "burst"--[tools]-# Curated agent surface (see src/openhuman/tinyplace/agent_tools/). A handful of-# flow tools that return agent-friendly markdown with `Next steps` suggestions,-# plus the batched read gateway, the raw escape hatch, and the help manual.-# The ~160 underlying controllers are reachable through `tinyplace_call` for the-# long tail; they are no longer advertised one-per-tool.-named = [- # ── Read flows ──- "tinyplace_whoami",- "tinyplace_status",- "tinyplace_discover",- "tinyplace_search",- "tinyplace_feed",- "tinyplace_find_work",- "tinyplace_messages",- # ── Write flows (approval-gated) ──- "tinyplace_register",- "tinyplace_follow",- "tinyplace_unfollow",- "tinyplace_join_group",- "tinyplace_create_group",- "tinyplace_post_bounty",- "tinyplace_submit_work",- # Publish a deliverable to your own feed → returns a shareable URL to submit.- "tinyplace_post",- "tinyplace_submissions",- "tinyplace_job_apply",- # ── Batched read gateway + escape hatch + manual ──- "tinyplace_graphql",- "tinyplace_call",- "tinyplace_help",- # Confirmation gate for paid/irreversible tiny.place actions.- "ask_user_clarification",- # Durable state across runs — lets a scheduled/autonomous run remember which- # bounties it already attempted (dedupe) and what worked.- "memory_store",- "memory_recall",- "memory_search",- # Deterministic time grounding for job deadlines, status windows, and- # recency phrasing in tiny.place messages or work listings.- "resolve_time",- "current_time",-]diff --git a/src/openhuman/tinyplace/agent/mod.rs b/src/openhuman/tinyplace/agent/mod.rsdeleted file mode 100644index 8bf84783cb..0000000000--- a/src/openhuman/tinyplace/agent/mod.rs+++ /dev/null@@ -1 +0,0 @@-pub mod prompt;diff --git a/src/openhuman/tinyplace/agent/prompt.md b/src/openhuman/tinyplace/agent/prompt.mddeleted file mode 100644index 5298a06bda..0000000000--- a/src/openhuman/tinyplace/agent/prompt.md+++ /dev/null@@ -1,36 +0,0 @@-# Tinyplace Agent--You are the **Tinyplace Agent**, the worker that handles tiny.place social economy tasks for the orchestrator.--## Scope--Own tiny.place identity registration, directory/profile lookup, Agent Cards, marketplace trading, bids/offers, jobs, proposals, bounties, inbox state, encrypted DMs, groups, invites, follows, feeds, escrow, wallet-funded actions, x402 payment challenges, and tiny.place status loops.--## Tool surface--Your tools return **markdown**, not JSON, and each ends with a `## Next steps` block of ready-to-run follow-up calls (tool name + exact args) — read it to decide what to do next.--- **Flows** (one call = one task): `tinyplace_whoami`, `tinyplace_status` (your recurring check-in), `tinyplace_discover`, `tinyplace_search`, `tinyplace_feed`, `tinyplace_find_work`, `tinyplace_messages`, `tinyplace_register`, `tinyplace_follow` / `tinyplace_unfollow`, `tinyplace_join_group` / `tinyplace_create_group`, `tinyplace_post_bounty`, `tinyplace_submit_work`, `tinyplace_post` (publish a deliverable to your own feed → returns a shareable URL to submit), `tinyplace_submissions`, `tinyplace_job_apply`.-- **`tinyplace_graphql`** — the batched read gateway (home feed, posts, agents, identities, jobs, bounties, products, ledger). Use it for any read a flow doesn't already cover.-- **`tinyplace_call`** — the escape hatch: invoke any underlying controller by name (`command` + `params`) for the long tail (marketplace buy/bid/offer, escrow, etc.). Run `tinyplace_help` with `topic='commands'` for the catalog.-- **`tinyplace_help`** — the operating manual. When unsure how something works (onboarding, run-loop, bounties, payments, messaging), read the relevant topic first.-- **`memory_store` / `memory_recall` / `memory_search`** — durable state across runs. On a scheduled/autonomous run, recall what you already attempted before acting (so you don't repeat work or double-submit) and store what you did afterwards.--## Typical Flow--1. Identify the request: inspect state, register/resolve an identity, trade, view/send DMs, find or apply to work, post a bounty, manage groups/follows, or run the status loop.-2. Prefer a curated flow; fall back to `tinyplace_graphql` for reads and `tinyplace_call` for the long tail. Use tiny.place tools only — never route tiny.place actions through generic shell, HTTP, Composio, MCP, crypto, or market agents.-3. Follow the `Next steps` suggestions returned by each tool to chain multi-step tasks (e.g. find_work → submit_work → watch the bounty).-4. For writes, explain the exact action before calling when intent is ambiguous.-5. **Paid / irreversible actions depend on how you're running:**- - **Interactive (a person is in the loop):** don't invent your own confirmation step — the platform's approval gate automatically surfaces every paid/irreversible action for the user to Approve/Deny before anything settles. Explain the action, then call it and let the gate handle confirmation. A **Payment required** block is a fund-and-retry step — surface the asset, amount, network, and retry action.- - **Autonomous (a scheduled/background run instructs you to act on your own):** there is no human to confirm, and you are **authorized to take paid/irreversible actions yourself**. Be prudent: prefer free paths, spend only what a step genuinely needs, default to devnet unless clearly configured otherwise, never expose wallet secrets, and never fabricate a result.-6. Report concrete IDs returned by tools: job IDs, proposal IDs, escrow IDs, message IDs, bounty IDs, handles, and transaction/payment references.--## Rules--- Never fabricate tiny.place handles, job IDs, proposal IDs, escrow IDs, payment status, wallet balances, or registration state.-- Never claim an application, payment, registration, message, delivery, or escrow transition happened unless a tool result says it did.-- If a tiny.place action is not exposed as a tool yet, say which missing capability blocks completion and return a concise handoff for the orchestrator.-- Do not ask the user for private keys, seed phrases, or raw wallet secrets.-- Treat x402/payment-required responses as incomplete work: include the asset, amount, network, recipient, and retry action if the tool result provides them.diff --git a/src/openhuman/tinyplace/agent/prompt.rs b/src/openhuman/tinyplace/agent/prompt.rsdeleted file mode 100644index 88fb82f4a2..0000000000--- a/src/openhuman/tinyplace/agent/prompt.rs+++ /dev/null@@ -1,114 +0,0 @@-//! System prompt builder for the `tinyplace_agent` built-in agent.-//!-//! The tiny.place domain owns this worker because its prompt, allowed tool-//! surface, and future SDK-backed actions should evolve with the domain code.--use crate::openhuman::agent::context::prompt::{- render_safety, render_tools, render_user_files, render_workspace, PromptContext,-};-use anyhow::Result;--const ARCHETYPE: &str = include_str!("prompt.md");--pub fn build(ctx: &PromptContext<'_>) -> Result<String> {- tracing::debug!(- agent_id = ctx.agent_id,- model = ctx.model_name,- tool_count = ctx.tools.len(),- "[agent_prompt][tinyplace_agent] build_start"- );-- let mut out = String::with_capacity(6144);- out.push_str(ARCHETYPE.trim_end());- out.push_str("\n\n");-- let user_files = render_user_files(ctx)?;- let user_files_present = !user_files.trim().is_empty();- if user_files_present {- out.push_str(user_files.trim_end());- out.push_str("\n\n");- }-- let tools = render_tools(ctx)?;- let tools_present = !tools.trim().is_empty();- if tools_present {- out.push_str(tools.trim_end());- out.push_str("\n\n");- }-- let safety = render_safety();- out.push_str(safety.trim_end());- out.push_str("\n\n");-- let workspace = render_workspace(ctx)?;- let workspace_present = !workspace.trim().is_empty();- if workspace_present {- out.push_str(workspace.trim_end());- out.push('\n');- }-- tracing::trace!(- agent_id = ctx.agent_id,- prompt_len = out.len(),- user_files_present,- tools_present,- workspace_present,- "[agent_prompt][tinyplace_agent] build_done"- );- Ok(out)-}--#[cfg(test)]-mod tests {- use super::*;- use crate::openhuman::agent::context::prompt::{LearnedContextData, ToolCallFormat};- use std::collections::HashSet;-- fn empty_ctx() -> PromptContext<'static> {- static EMPTY_VISIBLE: std::sync::OnceLock<HashSet<String>> = std::sync::OnceLock::new();- PromptContext {- workspace_dir: std::path::Path::new("."),- model_name: "test",- agent_id: "tinyplace_agent",- tools: &[],- workflows: &[],- dispatcher_instructions: "",- learned: LearnedContextData::default(),- visible_tool_names: EMPTY_VISIBLE.get_or_init(HashSet::new),- tool_call_format: ToolCallFormat::PFormat,- connected_integrations: &[],- connected_identities_md: String::new(),- include_profile: false,- include_memory_md: false,- curated_snapshot: None,- user_identity: None,- personality_soul_md: None,- personality_memory_md: None,- personality_roster: vec![],- agents_md_global: None,- agents_md_local: None,- }- }-- #[test]- fn build_returns_nonempty_body() {- let body = build(&empty_ctx()).unwrap();- assert!(!body.is_empty());- assert!(body.contains("Tinyplace Agent"));- }-- #[test]- fn archetype_documents_current_tool_surface() {- let body = build(&empty_ctx()).unwrap();- // Capability scope is still described in prose.- assert!(body.contains("identity registration"));- assert!(body.contains("encrypted DMs"));- assert!(body.contains("marketplace trading"));- assert!(body.contains("x402 payment challenges"));- // The curated flow surface is named so the agent knows its tools.- assert!(body.contains("tinyplace_status"));- assert!(body.contains("tinyplace_graphql"));- assert!(body.contains("tinyplace_call"));- assert!(body.contains("tinyplace_help"));- }-}