Spaces:
Running on Zero
Running on Zero
|
Download README.md from Ark4u/First_agent_template: direct link, hf CLI and curl.
- Browser
- Download file 2.4 kB
-
https://huggingface.co/spaces/Ark4u/First_agent_template/resolve/main/README.md
- Command line
-
hf download hf://spaces/Ark4u/First_agent_template/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Ark4u/First_agent_template/resolve/main/README.md
2.4 kB
| title: ArkAssistant Multi-Agent System | |
| emoji: π§ | |
| colorFrom: indigo | |
| colorTo: purple | |
| sdk: gradio | |
| sdk_version: 5.23.1 | |
| app_file: app.py | |
| pinned: false | |
| tags: | |
| - smolagents | |
| - agent | |
| - multi-agent | |
| - hierarchical-agents | |
| - tool | |
| - agent-course | |
| # π§ ArkAssistant - Hierarchical Multi-Agent System | |
| **ArkAssistant** is an autonomous multi-agent system built with [`smolagents`](https://github.com/huggingface/smolagents) for the [Hugging Face AI Agents Course](https://hf.co/learn/agents-course) (Units 1 & 2). | |
| ## ποΈ System Architecture | |
| ArkAssistant uses a **Hierarchical Multi-Agent** design where a senior manager orchestrates specialized worker agents: | |
| ``` | |
| ββββββββββββββββββββββββββ | |
| β ArkAssistant_Manager β | |
| βββββββββββββ¬βββββββββββββ | |
| β | |
| ββββββββββββββββββ΄βββββββββββββββββ | |
| βΌ βΌ | |
| ββββββββββββββββββββ ββββββββββββββββββββ | |
| β web_researcher β βlocal_info_agent β | |
| β - DuckDuckGo β β - Live Weather β | |
| β - Wikipedia API β β - Timezone Clock β | |
| ββββββββββββββββββββ ββββββββββββββββββββ | |
| ``` | |
| - π **`ArkAssistant_Manager`**: Deconstructs user requests, delegates sub-tasks to specialists, and synthesizes the final response. | |
| - π **`web_researcher`**: Specialist agent equipped with DuckDuckGo web search and Wikipedia REST API lookups. | |
| - π¦οΈ **`local_info_specialist`**: Specialist agent equipped with worldwide live weather (wttr.in) and IANA timezone time conversion. | |
| - π¨ **Image Generation**: Manager tool capable of text-to-image generation via Hugging Face Hub. | |
| ## βοΈ Configuration & Secrets | |
| To ensure the agent has full access to the Hugging Face serverless inference API and image generation tool: | |
| 1. Go to **Settings** -> **Variables and Secrets** in this Space. | |
| 2. Add a new secret named `HF_TOKEN` with your Hugging Face User Access Token (with inference permissions). | |