Skip to content

agk-templates/test-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Test Agent Template

This is a test template for the AgenticGoKit Registry. It serves as a minimal example to verify that templates can be correctly fetched, installed, and instantiated by the agk CLI.

Description

A simple, single-file agent that uses the agenticgokit framework. It includes basic observability/tracing configuration and a streaming response example.

Usage

You can initialize a project using this template via the agk CLI.

From Registry

Since this is an official template in the AGK Registry, you can use it directly by name:

agk init my-agent --template test-agent

From Git Source

Alternatively, you can use the direct Git URL:

agk init my-agent --template github.com/agk-templates/test-agent

Template Structure

  • agk-template.toml: The manifest file defining metadata and variables.
  • main.go.tmpl: The main application code with Go template variables (e.g., {{.ProjectName}}).
  • go.mod.tmpl: The Go module definition.

Variables

This template uses the following variables(can be set via agk initflags):

  • ProjectName: The name of your new project.
  • LLMProvider: The LLM provider to use (e.g., openai, anthropic).
  • LLMModel: The specific model to use (e.g., gpt-4o).

Requirements

  • Go 1.21+
  • agk CLI v0.1.0+

About

test agent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors