Spaces:
Sleeping
Sleeping
| title: AI Agent | |
| emoji: 🤖 | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: docker | |
| pinned: false | |
| # AI Agent | |
| **Deployed by AgentForge** 🚀 | |
| ## About | |
| This is an AI agent for **Business** in the **generic** domain. | |
| ## Features | |
| - **Domain**: Generic | |
| - **Model**: gpt-4o | |
| - **Tools**: 0 specialized tools | |
| ### Available Tools | |
| ## Usage | |
| ### API Endpoint | |
| **POST** `/run` | |
| ```json | |
| { | |
| "message": "Your question here", | |
| "session_id": "optional-session-id" | |
| } | |
| ``` | |
| ### Example | |
| ```bash | |
| curl -X POST "https://huggingface.co/spaces/YOUR_USERNAME/agent-generic-agent/run" \ | |
| -H "Content-Type: application/json" \ | |
| -d '{"message": "Hello, how can you help me?"}' | |
| ``` | |
| ### Response | |
| ```json | |
| { | |
| "status": "success", | |
| "agent_name": "AI Agent", | |
| "user_message": "Hello, how can you help me?", | |
| "agent_response": "...", | |
| "tools_available": [...], | |
| "timestamp": 1234567890.0 | |
| } | |
| ``` | |
| ## Other Endpoints | |
| - `GET /` - Agent info and health check | |
| - `GET /config` - Agent configuration | |
| - `GET /health` - Health check | |
| ## Powered by AgentForge | |
| Built with [AgentForge](https://agentforge.ai) - The fastest way to build and deploy AI agents. | |