Skip to content

Commit bf39ba6

Browse files
committed
refactor: Update agent skills and version to 0.12.1; refactor tools to skills
Signed-off-by: Eden Reich <[email protected]>
1 parent d71fb5e commit bf39ba6

File tree

9 files changed

+79
-64
lines changed

9 files changed

+79
-64
lines changed

.well-known/agent.json

Lines changed: 15 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 22 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -38,38 +38,33 @@ docker run -p 8080:8080 documentation-agent
3838
- `GET /health` - Health check endpoint
3939
- `POST /a2a` - A2A protocol endpoint
4040

41-
## Available Tools
42-
- **resolve_library_id** - Resolves library by its id
43-
- **get_library_docs** - Get the docs for the specific library
41+
## Available Skills
42+
43+
| Skill | Description | Parameters |
44+
|-------|-------------|------------|
45+
| `resolve_library_id` | Resolves library by its id |id |
46+
| `get_library_docs` | Get the docs for the specific library |library |
4447

4548
## Configuration
4649

4750
Configure the agent via environment variables:
4851

49-
### Core Application Settings
50-
51-
- `ENVIRONMENT` - Deployment environment
52-
53-
### A2A Agent Configuration
54-
55-
#### Server Configuration
56-
57-
- `A2A_SERVER_PORT` - Server port (default: `8080`)
58-
- `A2A_SERVER_READ_TIMEOUT` - Maximum duration for reading requests (default: `120s`)
59-
- `A2A_SERVER_WRITE_TIMEOUT` - Maximum duration for writing responses (default: `120s`)
60-
- `A2A_SERVER_IDLE_TIMEOUT` - Maximum time to wait for next request (default: `120s`)
61-
- `A2A_SERVER_DISABLE_HEALTHCHECK_LOG` - Disable logging for health check requests (default: `true`)
62-
63-
#### LLM Client Configuration
64-
65-
- `A2A_AGENT_CLIENT_PROVIDER` - LLM provider: `openai`, `anthropic`, `groq`, `ollama`, `deepseek`, `cohere`, `cloudflare`
66-
- `A2A_AGENT_CLIENT_MODEL` - Model to use
67-
- `A2A_AGENT_CLIENT_API_KEY` - API key for LLM provider
68-
- `A2A_AGENT_CLIENT_BASE_URL` - Custom LLM API endpoint
69-
- `A2A_AGENT_CLIENT_TIMEOUT` - Timeout for LLM requests (default: `30s`)
70-
- `A2A_AGENT_CLIENT_MAX_RETRIES` - Maximum retries for LLM requests (default: `3`)
71-
- `A2A_AGENT_CLIENT_MAX_TOKENS` - Maximum tokens for LLM responses (default: `4096`)
72-
- `A2A_AGENT_CLIENT_TEMPERATURE` - Controls randomness of LLM output (default: `0.7`)
52+
| Category | Variable | Description | Default |
53+
|----------|----------|-------------|---------|
54+
| **Core Application** | `ENVIRONMENT` | Deployment environment | - |
55+
| **Server** | `A2A_SERVER_PORT` | Server port | `8080` |
56+
| **Server** | `A2A_SERVER_READ_TIMEOUT` | Maximum duration for reading requests | `120s` |
57+
| **Server** | `A2A_SERVER_WRITE_TIMEOUT` | Maximum duration for writing responses | `120s` |
58+
| **Server** | `A2A_SERVER_IDLE_TIMEOUT` | Maximum time to wait for next request | `120s` |
59+
| **Server** | `A2A_SERVER_DISABLE_HEALTHCHECK_LOG` | Disable logging for health check requests | `true` |
60+
| **LLM Client** | `A2A_AGENT_CLIENT_PROVIDER` | LLM provider (`openai`, `anthropic`, `groq`, `ollama`, `deepseek`, `cohere`, `cloudflare`) | - |
61+
| **LLM Client** | `A2A_AGENT_CLIENT_MODEL` | Model to use | - |
62+
| **LLM Client** | `A2A_AGENT_CLIENT_API_KEY` | API key for LLM provider | - |
63+
| **LLM Client** | `A2A_AGENT_CLIENT_BASE_URL` | Custom LLM API endpoint | - |
64+
| **LLM Client** | `A2A_AGENT_CLIENT_TIMEOUT` | Timeout for LLM requests | `30s` |
65+
| **LLM Client** | `A2A_AGENT_CLIENT_MAX_RETRIES` | Maximum retries for LLM requests | `3` |
66+
| **LLM Client** | `A2A_AGENT_CLIENT_MAX_TOKENS` | Maximum tokens for LLM responses |`4096` |
67+
| **LLM Client** | `A2A_AGENT_CLIENT_TEMPERATURE` | Controls randomness of LLM output |`0.7` |
7368

7469
## Development
7570

Taskfile.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

agent.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ spec:
1616
You are a helpful assistant for managing and searching through Documentations queries.
1717
maxTokens: 4096
1818
temperature: 0.7
19-
tools:
20-
- name: resolve_library_id
19+
skills:
20+
- id: resolve_library_id
21+
name: resolve_library_id
2122
description: "Resolves library by its id"
23+
tags: ["docs", "libraries"]
2224
schema:
2325
type: object
2426
properties:
@@ -27,8 +29,10 @@ spec:
2729
description: "Library ID"
2830
required:
2931
- id
30-
- name: get_library_docs
32+
- id: get_library_docs
33+
name: get_library_docs
3134
description: "Get the docs for the specific library"
35+
tags: ["docs", "libraries"]
3236
schema:
3337
type: object
3438
properties:

k8s/deployment.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

main.go

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/get_library_docs.go renamed to skills/get_library_docs.go

Lines changed: 11 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/resolve_library_id.go renamed to skills/resolve_library_id.go

Lines changed: 11 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)