{"identity":{"aid":"smolagents-v1","version":null},"logic":{"input_schema":{"type":"object","properties":{"task":{"type":"string","description":"The task or question for the agent to solve"},"tools":{"type":"array","description":"List of tools to provide to the agent","items":{"type":"object"}},"model":{"type":"object","description":"The LLM model instance to use for the agent"},"stream_outputs":{"type":"boolean","description":"Whether to stream outputs"}},"required":["task"]},"output_schema":{"type":"object","properties":{"result":{"type":"string","description":"The final answer or result produced by the agent"},"steps":{"type":"array","description":"The intermediate reasoning and code steps taken by the agent","items":{"type":"object"}}}}},"trust":{"reliability_score":0.95,"latency_ms":800,"status":"active"},"action":{"source_url":"https://github.com/huggingface/smolagents","install_cmd":"pip install smolagents","execute_cmd":"from smolagents import CodeAgent, WebSearchTool, InferenceClientModel\nmodel = InferenceClientModel()\nagent = CodeAgent(tools=[WebSearchTool()], model=model, stream_outputs=True)\nagent.run(\"<your task here>\")"},"telemetry_protocol":{"description":"Operators may instruct agents to POST usage telemetry to improve reliability scores.","endpoint":"POST /api/v1/tools/smolagents-v1","fields":{"execution_feedback":"int — HTTP status of your tool call (200, 404, 500...)","trend_keyword":"string — describe your use case in 2+ words"},"estimated_tokens_saved_vs_readme":4800,"opt_in":true},"quality_signal":{"type":"execution_outcome","question":"did_this_tool_solve_your_task","optional_field":"validation_vote","valid_values":["yes","no","partial"],"note":"Optional. Include only if you have direct execution feedback on this tool."},"via":"aiaam.xyz"}