
Description
Sets Letta Desktop and Letta Code agent profile images by writing profile.png into an agent MemFS repository. Use when the user asks to add, change, generate, or fix an agent avatar, profile picture, profile image, or Desktop agent photo.
SKILL.md
Setting Profile Images
Key fact
Letta Desktop displays an agent profile image from the agent memory repository at:
$MEMORY_DIR/profile.png
The Desktop/local backend API reads the same file via:
GET /v1/agents/:agent_id/profile-picture
For local Desktop agents, do not PATCH arbitrary agent metadata for the avatar. Write profile.png into MemFS and commit it.
Workflow
- Obtain an image:
- Use a user-provided image path, or
- Generate/create an avatar image with another image/art skill, then save it locally.
- Convert/crop it to a square PNG using
scripts/set_profile_image.py. - Commit the resulting
profile.pngto the target agent's memory repo. - Verify via the profile-picture endpoint when
LETTA_BASE_URLandLETTA_API_KEYare available. - Tell the user to reload/reopen the agent profile in Desktop if the old image is cached.
Current agent quick start
Locate this skill's script if needed:
SCRIPT=$(find ~/letta/skills ~/.letta/skills -path '*/setting-profile-images/scripts/set_profile_image.py' -print -quit)
Set the current agent's profile image:
python3 "$SCRIPT" /path/to/avatar.png
The script uses, in order:
--memory-dir, if passed$MEMORY_DIR$LETTA_MEMORY_DIR~/.letta/lc-local-backend/memfs/$AGENT_ID/memory
Other local agent
python3 "$SCRIPT" /path/to/avatar.png \
--agent-id agent-local-... \
--local-backend-dir ~/.letta/lc-local-backend
Useful options
python3 "$SCRIPT" /path/to/avatar.jpg --size 512
python3 "$SCRIPT" /path/to/avatar.jpg --no-commit
python3 "$SCRIPT" /path/to/avatar.jpg --verify
--sizecontrols the square output size in pixels. Use512unless there is a reason not to.--no-commitwrites the file but leaves the memory repo uncommitted.--verifycalls/v1/agents/:agent_id/profile-pictureafter writing, when API env vars are present.
Manual fallback
If the script is unavailable:
cp /path/to/avatar.png "$MEMORY_DIR/profile.png"
git -C "$MEMORY_DIR" add profile.png
git -C "$MEMORY_DIR" commit --author="$AGENT_NAME <$AGENT_ID@letta.com>" -m 'Add agent profile image'
Make sure the image is a reasonably sized square PNG before copying.
More skills from the skills repository
View all 45 skills1password
manage secrets with 1Password CLI
Jul 13AuthenticationCLISecurityagent-slack
automate Slack messaging and workflows
Jul 13AutomationCLIMessagingSlackai-news
fetch and summarize AI news
Jul 13CommunicationsLLMResearchSummarizationcreating-letta-code-channels
build and debug Letta Code channels
Jul 13AgentsAPI DevelopmentMessagingSlackdatadog
query Datadog observability data
Jul 13DatadogLogsMetricsMonitoring +1discord
automate Discord server and channel tasks
Jul 13AutomationCLIMessaging
More from Letta
View publisheracquiring-skills
discover and install agent skills
letta-code
Jul 13AgentsAutomationGitHubContext Doctor
repair system prompt and memory degradation
letta-code
Jul 13AgentsAI ContextDebuggingconverting-mcps-to-skills
connect MCP servers to create skills
letta-code
Jul 13AgentsAutomationMCPcreating-mods
create and edit Letta Code mods
letta-code
Jul 23AgentsAutomationCodingcreating-skills
create and update agent skills
letta-code
Jul 13AgentsDocumentationPlugin Developmentcustomizing-commands
create and manage Letta slash commands
letta-code
Jul 13AgentsAutomationCLI