{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "apromisedland-trustworthy-agent-simulation--connect-real-model-with-budget-cap",
 "repo": "apromisedland/trustworthy-agent-simulation",
 "repo_url": "https://github.com/apromisedland/trustworthy-agent-simulation",
 "repo_slug": "apromisedland-trustworthy-agent-simulation",
 "title": "Run the smoke scenario with a real model and budget cap",
 "page_title": "How to run the smoke scenario with a real model and budget cap with Trustworthy Agent Simulation",
 "summary": "Send real provider requests in LLM mode while staying under the default request and token budget.",
 "who": "A researcher who wants to test real model behavior in the town and must keep API spending bounded.",
 "problem": "Model-driven runs call a paid provider, so credentials must be set safely and usage must be capped and auditable.",
 "outcome": "An LLM-mode smoke run in runs/llm-smoke with recorded model requests and responses, and a budget that stops the run at the last committed world state if exhausted.",
 "steps": [
  "Complete the install steps from the README Linux section so `.venv` exists",
  "Run `cp .env.example .env`, then set TASS_API_KEY, TASS_BASE_URL and TASS_MODEL in `.env` (inferred, check the README)",
  "Run `.venv/bin/python -m tass.cli run --config configs/smoke.yaml --mode llm --output runs/llm-smoke` (inferred, check the README)",
  "Review the recorded requests and budget use in the run database before running anything larger"
 ],
 "agent_prompt": "In the apromisedland/trustworthy-agent-simulation repo, check that TASS_API_KEY, TASS_BASE_URL and TASS_MODEL are set in .env without printing the key, then ask the user to confirm before running configs/smoke.yaml in --mode llm into runs/llm-smoke. Report the number of requests and tokens used against the default budget of 500 requests, 1,000,000 input tokens and 100,000 output tokens. Verify that the run stops at the last committed state if the budget is exhausted.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "60 minutes",
 "basis": "readme",
 "caveat": "Cost figures are estimates only, shown when prices are configured, and are not provider billing data.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.12 or 3.13 installed, with access to the python3.12 command on Linux",
  "A terminal opened at the repository root",
  "Internet access to install locked dependencies with uv",
  "For real model runs only: an API key and a Chat Completions compatible endpoint with tool calling"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The API key must come from .env or environment variables and should never be pasted into YAML, the dashboard or shared logs."
  }
 ],
 "best": false,
 "score": 0.6,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/apromisedland-trustworthy-agent-simulation/connect-real-model-with-budget-cap/",
 "md": "https://dedupedai.com/use-cases/apromisedland-trustworthy-agent-simulation/connect-real-model-with-budget-cap/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/apromisedland-trustworthy-agent-simulation--connect-real-model-with-budget-cap.json",
 "api_version": "v1"
}
