
localagent
Fastagent llm agent server for doing stuff with data collected at home through various iot devices.
Repository Info
About This Server
Fastagent llm agent server for doing stuff with data collected at home through various iot devices.
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
LocalAgent
A simple AI agent server that can respond to questions and interact with local measurements data.
Prerequisites
- Python 3.13 or higher
- uv - Fast Python package installer and resolver
Setup
-
Clone this repository:
git clone <repository-url> cd localagent -
Create a virtual environment using uv:
uv venvThis creates a virtual environment in the
.venvdirectory. -
Activate the virtual environment:
On macOS/Linux:
source .venv/bin/activateOn Windows:
.venv\Scripts\activate -
Install dependencies using uv:
uv pip install -e .This will install all required dependencies including:
- fast-agent-mcp
- FastAPI
- uvicorn
Running the Server
Start the server using uvicorn:
uvicorn agent-server:app --host 0.0.0.0 --port 8999
This will start the server on all network interfaces (0.0.0.0) on port 8999.
Usage
API Endpoints
POST /ask
Send questions to the agent:
curl -X POST http://localhost:8999/ask \
-H "Content-Type: application/json" \
-d '{"question": "Your question here"}'
Running in Interactive Mode
You can also run the agent in interactive mode:
python agent.py
Configuration
The agent uses configuration files for setup, but you'll need to create your own based on your specific needs.
Quick Start
Clone the repository
git clone https://github.com/jussikin/localagentInstall dependencies
cd localagent
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.