https://github.com/comigor/jarvis-go
https://github.com/comigor/jarvis-go
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/comigor/jarvis-go
- Owner: comigor
- Created: 2025-07-03T01:00:59.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2025-07-11T21:58:41.000Z (11 months ago)
- Last Synced: 2025-09-30T02:02:06.933Z (8 months ago)
- Language: Go
- Size: 226 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# J.A.R.V.I.S.
Smart-home agent server built in Go 1.24.4.
## Quick start
```bash
# build binary
make build
# run API on :8080
make run
```
POST plain-text prompts to `/`:
```bash
curl -X POST http://localhost:8080/ --data 'Turn on kitchen light'
```
## Tests & lint
```bash
make test # all tests
go test ./... -run Foo # single test
make vet # go vet lint (alias)
```
## Configuration
Create `config.yaml`:
```yaml
server:
host: 0.0.0.0
port: "8080"
llm:
base_url: https://api.openai.com/v1
api_key: YOUR_KEY
model: gpt-4o-mini
# Optional: Sets the base system prompt for the LLM.
# If not set, a hardcoded default system prompt will be used as the base.
# Afterwards, any system prompts discovered from connected MCP servers will be
# appended to this base prompt (each on a new line).
# system_prompt: "You are a master chef specializing in Italian cuisine."
mcp_servers:
# - url: "http://localhost:3000/mcp"
# headers:
# Authorization: "Bearer ..."
- type: "sse"
url: "http://localhost:8123/mcp_server/sse"
```