gemini_agents
Create Gemini Agent
Create a named custom agent on the Gemini side.
Example:
curl -X POST "http://localhost:4000/v1beta/agents" \
-H "Authorization: Bearer sk-..." \
-H "Content-Type: application/json" \
-d '{
"name": "my-custom-slides-agent",
"base_agent": "waverunner",
"instructions": "You are a helpful assistant that creates slides.",
"base_environment": {
"type": "remote",
"sources": [
{"type": "gcs", "source": "gs://eap-templates/slides-skill",
"target": "/.agents/skills/slides-skill"}
]
}
}'
post/v1beta/agents
Response
Successful Response
{"stackTrail":"paths:/v1beta/agents:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
Changed in 2 of the 42 revisions of this API.3
- ○
api tag
gemini_agentsaddedapi-tag-added
- ○
api tag
gemini managed agentsremovedapi-tag-removed
- ○
- ○
endpoint added
endpoint-added
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○