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.
- Clone this repository.
- Install dependencies using
bun install. - Add API keys to the .env file.
- Run the project with
bun dev.
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" }
]
}'Created by overment's lab.