| --- |
| title: AI Agent |
| emoji: 🤖 |
| colorFrom: blue |
| colorTo: purple |
| sdk: docker |
| pinned: false |
| --- |
| |
| # AI Agent |
|
|
| **Deployed by AgentForge** 🚀 |
|
|
| ## About |
|
|
| This is an AI agent for **LanguageBridge** in the **generic** domain. |
|
|
| ## Features |
|
|
| - **Domain**: Generic |
| - **Model**: qwen2.5-coder |
| - **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-languagebridge/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. |
|
|