Spaces:
Runtime error
Runtime error
ToolStore Agent
Prepare for HF Spaces deployment: root Dockerfile, persistent /data volume, YAML frontmatter
0af822c | title: AgentToolStore Registry | |
| emoji: π οΈ | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: docker | |
| app_port: 7860 | |
| pinned: false | |
| # π οΈ AgentToolStore Registry | |
| <p align="center"> | |
| <strong>The backbone of the agent tool ecosystem β powering discovery, publishing, and trust.</strong> | |
| </p> | |
| --- | |
| The registry server is what makes AgentToolStore more than just a local tool runner. | |
| It is the **shared index** that turns a scattered collection of tools into a unified, | |
| searchable, versioned ecosystem β the same role that PyPI plays for Python packages. | |
| --- | |
| ## π‘ API Endpoints | |
| | Endpoint | Auth | Description | | |
| |---|---|---| | |
| | `GET /` | Public | Welcome message | | |
| | `GET /health` | Public | Health check + tool count | | |
| | `GET /index.json` | Public | Full tool index β what `toolstore update` pulls | | |
| | `POST /auth/register` | Public | Create a developer account | | |
| | `POST /auth/token` | Public | Obtain an API token (OAuth2 form) | | |
| | `POST /publish` | Token | Publish a new tool (authenticated) | | |
| | `DELETE /tools/{name}` | Token | Delete a tool (authenticated) | | |
| --- | |
| ## π§ Tech Stack | |
| - **Framework:** FastAPI | |
| - **Database:** SQLite (MVP) β PostgreSQL (Production) | |
| - **ORM:** SQLModel (SQLAlchemy + Pydantic) | |
| --- | |
| ## π Quick Start (Local) | |
| ```bash | |
| cd server | |
| pip install -r requirements.txt | |
| uvicorn app.main:app --reload | |
| ``` | |
| --- | |
| ## π’ Private Registry | |
| Point a ToolStore CLI at your own server for a fully private, | |
| enterprise-governed tool catalog: | |
| ```json | |
| { | |
| "registry_url": "https://tools.your-company.com/index.json" | |
| } | |
| ``` | |
| --- | |
| ## π Point your CLI at this Space | |
| ```bash | |
| toolstore config set registry_url https://YOUR_USERNAME-TOOLSTORE-REGISTRY.hf.space/index.json | |
| toolstore update | |
| ``` | |
| > πΎ **Persistent storage**: This Space uses an HF Storage Bucket mounted at | |
| > `/data` β database and user data survive container restarts. | |
| --- | |
| ## π Development Status | |
| **Current Phase:** Alpha β core publishing flow and index generation. | |
| See [`SERVER_SPEC.md`](SERVER_SPEC.md) for the detailed implementation plan. | |