Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ k8s/*.yaml linguist-generated=true
k8s/*.yml linguist-generated=true

# Agent capabilities
.well-known/agent.json linguist-generated=true
.well-known/agent-card.json linguist-generated=true

# Documentation (partially generated)
README.md linguist-documentation=true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/ci.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .releaserc.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
6 changes: 3 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ This agent provides 2 skills:

The agent exposes the following HTTP endpoints:

- `GET /.well-known/agent.json` - Agent metadata and capabilities
- `GET /.well-known/agent-card.json` - Agent metadata and capabilities
- `POST /skills/{skill_name}` - Execute a specific skill
- `GET /skills/{skill_name}/stream` - Stream skill execution results
- `GET /history` - Retrieve agent state transition history
Expand Down Expand Up @@ -125,7 +125,7 @@ The agent implements the A2A protocol and can be communicated with via HTTP requ

```bash
# Get agent information
curl http://localhost:8080/.well-known/agent.json
curl http://localhost:8080/.well-known/agent-card.json



Expand Down Expand Up @@ -175,7 +175,7 @@ docker run -p 8080:8080 documentation-agent
│ └── get_library_docs.go # Fetches up-to-date documentation for a library using Context7-compatible library ID

├── .well-known/ # Agent configuration
│ └── agent.json # Agent metadata
│ └── agent-card.json # Agent metadata
├── go.mod # Go module definition
└── README.md # Project documentation
```
Expand Down
8 changes: 4 additions & 4 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ documentation-agent is an A2A (Agent-to-Agent) server implementing the [A2A Prot

### ADL-Generated Structure

The codebase is generated using ADL CLI 0.21.4 and follows a strict generation pattern:
The codebase is generated using ADL CLI 0.21.6 and follows a strict generation pattern:
- **Generated Files**: Marked with `DO NOT EDIT` headers - manual changes will be overwritten
- **Configuration Source**: `agent.yaml` - defines agent capabilities, skills, and metadata
- **Server Implementation**: Built on the ADK (Agent Development Kit) framework from `github.com/inference-gateway/adk`
Expand All @@ -23,7 +23,7 @@ The codebase is generated using ADL CLI 0.21.4 and follows a strict generation p
- A2A server with streaming and background task handlers
- Graceful shutdown handling

- **Agent Configuration**: `.well-known/agent.json` - Serves agent metadata at runtime
- **Agent Configuration**: `.well-known/agent-card.json` - Serves agent metadata at runtime
- **Environment Configuration**: Extensive env vars with `A2A_` prefix (see README for full list)

## Development Commands
Expand Down Expand Up @@ -111,13 +111,13 @@ Activate with: `flox activate` (if Flox is installed)

- **Generated Files**: Never manually edit files with "DO NOT EDIT" headers
- **Configuration Changes**: Always modify `agent.yaml` and regenerate
- **ADL Version**: Ensure ADL CLI 0.21.4 or compatible version for regeneration
- **ADL Version**: Ensure ADL CLI 0.21.6 or compatible version for regeneration
- **Port Configuration**: Default 8080, configurable via `A2A_PORT` or `A2A_SERVER_PORT`

## Debugging Tips

- Enable debug mode: `A2A_DEBUG=true`
- Check health: `GET /health`
- View agent metadata: `GET /.well-known/agent.json`
- View agent metadata: `GET /.well-known/agent-card.json`
- Monitor streaming updates: Set `A2A_STREAMING_STATUS_UPDATE_INTERVAL`
- Use A2A Debugger container for interactive testing
2 changes: 1 addition & 1 deletion Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ docker run -p 8080:8080 documentation-agent

## Endpoints

- `GET /.well-known/agent.json` - Agent metadata and capabilities
- `GET /.well-known/agent-card.json` - Agent metadata and capabilities
- `GET /health` - Health check endpoint
- `POST /a2a` - A2A protocol endpoint

Expand All @@ -59,7 +59,7 @@ Configure the agent via environment variables:
| **Server** | `A2A_SERVER_WRITE_TIMEOUT` | HTTP server write timeout | `120s` |
| **Server** | `A2A_SERVER_IDLE_TIMEOUT` | HTTP server idle timeout | `120s` |
| **Server** | `A2A_SERVER_DISABLE_HEALTHCHECK_LOG` | Disable logging for health check requests | `true` |
| **Agent Metadata** | `A2A_AGENT_CARD_FILE_PATH` | Path to agent card JSON file | `.well-known/agent.json` |
| **Agent Metadata** | `A2A_AGENT_CARD_FILE_PATH` | Path to agent card JSON file | `.well-known/agent-card.json` |
| **LLM Client** | `A2A_AGENT_CLIENT_PROVIDER` | LLM provider (`openai`, `anthropic`, `azure`, `ollama`, `deepseek`) |`` |
| **LLM Client** | `A2A_AGENT_CLIENT_MODEL` | Model to use |`` |
| **LLM Client** | `A2A_AGENT_CLIENT_API_KEY` | API key for LLM provider | - |
Expand Down
2 changes: 1 addition & 1 deletion Taskfile.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/config.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/logger/logger.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions main.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.