Skip to content

iceener/singular-agents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Singular-Agents

Singular Agent: A single-file agentic logic responsible for a specific process, such as managing tasks. These agents are useful for programmers and companies that build tools for their personal or internal use.

Such agents are designed primarily to work 'in the background,' responding to events or operating according to a schedule.

This repository demonstrates how to build simple yet powerful AI agents using minimal dependencies, such as Vercel AI SDK, Zod, and Hono.dev.

Installation

  1. Clone this repository.
  2. Install dependencies using bun install.
  3. Add API keys to the .env file.
  4. Run the project with bun dev.

Linear

Linear integration enables you to interact with Issues (Create / Read / Update / Delete) using natural language. To activate it, first add your LINEAR_API_KEY to the .env file, and set LINEAR_PROJECTS, LINEAR_WORKFLOW_STATUSES, and DEFAULT_PROJECT in the todo-manager.ts file.

Then you can chat with your Linear projects using OpenAI Chat Completion API format like this:

curl -X POST http://localhost:3000/api/linear \
-H "Content-Type: application/json" \
-d '{
  "messages": [
    { "role": "user", "content": "List my tasks I have unfinished yet" }
  ]
}'

Author

Created by overment's lab.

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors