Skip to content

jameshiew/simple-agent

Repository files navigation

simple-agent

Give an LLM a regular UNIX environment and a workspace, and let it run shell commands until it completes some task. Runs in a Docker container, edits files in workspace/ and reads tasks and prompts from system/.

Example tasks:

Task is passed as an argument to the simple-agent binary in compose.yml.

Why?

This is for quickly experimenting with what LLMs are able to achieve with only straightforward shell access rather than well-defined tools specified ahead of time like ChatGPT functions. In the future, a more general AI should be able to use just a regular command line to achieve a lot of tasks.

Requirements

Quickstart

ollama pull qwen2.5-coder:32b-instruct-q5_K_M  # if you use a different model, also update the compose.yml
docker compose build
docker compose up  # to use a different task, update the compose.yml

About

Agents with only shell access

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •