Skip to content

spackle0/k8s-agent-mcp

Repository files navigation

k8s-agent-mcp

semver

Python 3.14

pre-commit

CI

codecov

An experiment in Agentic AI with a Kubernetes slant

Docker Compose (interactive agent)

The agent service is interactive — the container keeps STDIN open and allocates a TTY so you can type directly into the running Python process.

Build and run the agent interactively (recommended):

# Build the agent image (optional; compose will build automatically if needed)
make compose-agent
# or run directly:
docker compose run --rm -it agent

If you prefer to run everything in the background and then open an interactive shell inside the agent container:

# Start services in background
docker compose up -d
# Open a shell in the agent container and run the agent interactively
docker compose exec -it agent /bin/sh
python -m app.agent

To attach to the main agent process (only when started with a TTY):

docker compose ps
docker attach <container-name-or-id>
# Detach without stopping: Ctrl-p Ctrl-q

The Makefile includes helpers make compose-agent and make compose-up that wrap the common commands.

About

An experiment in Agentic AI with a Kubernetes slant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors