Sitelet https://github.com/openclaw/openclaw/pull/1329
Skip to content

feat: add avatar support for agent identity - #1329

Merged
steipete merged 4 commits into
openclaw:mainfrom
dlauer:feature/agent-avatar-support
Jan 22, 2026
Merged

steipete merged 4 commits into
openclaw:mainfrom
dlauer:feature/agent-avatar-support

Conversation

@dlauer

@dlauer dlauer commented Jan 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Add support for custom avatars in the webchat for assistant messages.

Changes

  • Add avatar field to IdentityConfig type in src/config/types.base.ts
  • Add avatar parsing from IDENTITY.md in src/commands/agents.config.ts
  • Update renderAvatar() in webchat to support image avatars
  • Add CSS styling for image avatars in ui/src/styles/chat/grouped.css

Usage

Users can configure a custom avatar by:

  1. Adding Avatar: /path/to/avatar.png to their workspace's IDENTITY.md
  2. Or setting identity.avatar in the agent config in clawdbot.json

For now, the avatar image needs to be manually placed in the control-ui assets folder. Future improvements could include automatic copying or an API endpoint.

Testing

  • Added avatar field to config types
  • Updated IDENTITY.md parsing
  • Modified webchat renderAvatar function
  • Added CSS for image avatars

First open source contribution in many years!

- Add avatar field to IdentityConfig type
- Add avatar parsing in AgentIdentity from IDENTITY.md
- Add renderAvatar support for image avatars in webchat
- Add CSS styling for image avatars

Users can now configure a custom avatar for the assistant in the webchat
by setting 'identity.avatar' in the agent config or adding 'Avatar: path'
to IDENTITY.md. The avatar can be served from the assets folder.

Closes #TBD
@dlauer
dlauer force-pushed the feature/agent-avatar-support branch from 50420f8 to 2af4974 Compare January 20, 2026 21:21
@steipete
steipete merged commit 2fc926a into openclaw:main Jan 22, 2026
21 of 22 checks passed
@steipete

Copy link
Copy Markdown
Contributor

Landed via temp rebase onto main.

  • Gate: pnpm lint && pnpm build && pnpm test
  • Land commit: PLACEHOLDER_LAND
  • Merge commit: PLACEHOLDER_MERGE

Thanks @dlauer!

@steipete

Copy link
Copy Markdown
Contributor

Correction: landed via temp rebase onto main.

  • Gate: pnpm lint && pnpm build && pnpm test
  • Land commit: a2bea8e
  • Merge commit: 2fc926a

Thanks @dlauer!

lovewanwan pushed a commit to lovewanwan/openclaw that referenced this pull request Apr 28, 2026
lovewanwan pushed a commit to lovewanwan/openclaw that referenced this pull request Apr 28, 2026
lovewanwan pushed a commit to lovewanwan/openclaw that referenced this pull request Apr 28, 2026
lovewanwan pushed a commit to lovewanwan/openclaw that referenced this pull request Apr 28, 2026
…port

feat: add avatar support for agent identity
ogt-redknie pushed a commit to ogt-redknie/OPENX that referenced this pull request May 2, 2026
ogt-redknie pushed a commit to ogt-redknie/OPENX that referenced this pull request May 2, 2026
ogt-redknie pushed a commit to ogt-redknie/OPENX that referenced this pull request May 2, 2026
ogt-redknie pushed a commit to ogt-redknie/OPENX that referenced this pull request May 2, 2026
…port

feat: add avatar support for agent identity
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 9, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 9, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 9, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 9, 2026
…port

feat: add avatar support for agent identity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants