Help us shape the future of Go! Take the 2026 Go Developer Survey

jchat

command module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2025 License: MIT Imports: 12 Imported by: 0

README

JChat - Chat to your AI with an interactive TUI.

A TUI for interacting with AI agents configured via JSON files.

  • Attach MCP tools (text-tools only)
  • Create sub agents recursively

Usage

jchat [flags]

Configuration Files

Configuration files are created on first boot, and can be found at ~/jchat/.

agent.json

Configure the agent's model and MCP servers:

{
    "agent_name": "josh's agent",
    "agent_description": ["a general purpose high-level agent"],
    "model_name": "gpt-4.1",
    "mcp_servers": [
        {
            "addr": "http://localhost:1234/mcp",
            "headers": {
                "Authorization": "Bearer your-token"
            }
        }
    ],
    "sub_agents": [
        <recursive>
    ]
}
models.json

Define available models:

{
    "models": {
        "gpt-4.1": {
            "url": "https://api.example.com/v1/chat/completions",
            "name": "gpt-4.1",
            "key": "your-api-key"
        }
    }
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL