You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A geographic information agent built with Pickaxe that provides weather, time, and holiday information for any location.
4
+
5
+
## Getting Started
6
+
7
+
1. Install dependencies:
8
+
```bash
9
+
pnpm install
10
+
```
11
+
12
+
2. Set up your environment variables:
13
+
```bash
14
+
cp .env.example .env
15
+
```
16
+
17
+
Edit `.env` and add your API keys (the Hatchet token can be generated at [Hatchet Cloud](https://cloud.onhatchet.run) or by [self-hosting Hatchet]((https://docs.hatchet.run/self-hosting))).
18
+
19
+
3. Run the agent:
20
+
```bash
21
+
pnpm run dev
22
+
```
23
+
24
+
4. Trigger the interactive CLI:
25
+
```bash
26
+
pnpm run trigger
27
+
```
28
+
29
+
## Usage
30
+
31
+
### Interactive CLI
32
+
33
+
The easiest way to interact with the {{name}} agent is through the interactive CLI:
34
+
35
+
```bash
36
+
pnpm run trigger
37
+
```
38
+
39
+
This will launch an interactive menu where you can:
40
+
- Choose from preset queries (weather, time, holidays)
41
+
- Enter custom queries
42
+
- View results and save them to markdown files
43
+
44
+
### Development Mode
45
+
46
+
Run the agent in development mode:
47
+
```bash
48
+
pnpm run dev
49
+
```
50
+
51
+
### Build and Run
52
+
53
+
Build and run the compiled version:
54
+
```bash
55
+
pnpm run build
56
+
pnpm start
57
+
```
58
+
59
+
## Project Structure
60
+
61
+
- `src/agents/{{kebabCasename}}/` - Main agent implementation
62
+
- `src/agents/{{kebabCasename}}/tools/` - Tools used by the agent
63
+
- `weather.ts` - Weather information using Open-Meteo API
64
+
- `time.ts` - Time information using WorldTimeAPI
65
+
- `holiday.ts` - Holiday information using Nager.Date API
66
+
- `src/trigger.ts` - Interactive CLI for running the agent
67
+
- `src/main.ts` - Entry point for standard execution
0 commit comments