Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-meetup-ai-harness

Build your own ai harness

The following examples will walk you through creating a basic AI agent harness in Go.

Learn by following the examples

Example 1

Make a simple chat completion request using an OpenAI-compatible API.

Example 2

Have a conversation with an AI agent by implementing a simple chat loop.

Example 3

Give the agent access to read files by implementing a read tool.

Example 4

Give the agent access to write and edit files by implementing an edit tool.

Example 5

Give the agent the power to call bash commands.

Homework 1

Give the agent access to the web by implementing a web search tool (firecrawl in this example).

Homework 2

Reading system instructions from the filesystem to replace the default system prompt.

Homework 3

Implement a slash command. "/new" should reset the conversation.

About

Build your own ai harness

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages