What you will learn
- Draw the hierarchy of organisation, project and agent, and say where environments fit in
- Say where each level is recorded, in the token, in OpenChoreo or in AMS's database
- Explain what a deployment pipeline decides and which environment a deploy lands in
- Tell an internal agent from an external agent
Before you start
- What is Choreo Agent Manager? Not started In progress Done
On this page
Before you create your first agent you need to know where it will live. Agent Manager organises everything in a few levels. Once you can name them and say who keeps each one, most screens in the console make sense.
The levels
Organisation
The top level tenant. Projects, environments, LLM providers and gateways all belong to one organisation. Agent Manager learns which one you belong to from two claims in your token,
ouIdandouHandle, and it refuses a request for an organisation’s resources when either is missing.Project
A group of related agents. In OpenChoreo a project refers to one deployment pipeline. In each environment it is bound to, a project gets its own namespace in the data plane, so its agents are kept apart from those of other projects.
Agent
The AI application itself. In OpenChoreo each agent is a Component inside a project. The agent is one of two kinds, and the kind cannot be changed later.
Environment
A place agents are deployed to, such as development or production. It belongs to the organisation. A project reaches the environments that its pipeline names.
Who keeps what
This is the question that confuses people most, so it gets its own section.
- The token tells AMS which organisation you are in. AMS has no organisation table.
- OpenChoreo holds the main records. When you create a project, AMS sends it to OpenChoreo. Agents are Components, environments are Environment resources and pipelines are DeploymentPipeline resources.
- AMS’s own Postgres database holds only Agent Manager extras, such as LLM providers, gateways, monitors and scores. There is no table for organisations, projects or agents.
Internal and external agents
An internal agent is hosted by the platform. For an agent made from source code, Agent Manager builds it from a Git repository and deploys it. An External agentAn agent that runs outside Agent Manager, on any infrastructure. It is registered so it can be traced and governed, and it is not built or deployed by the platform.See it in the glossary runs somewhere else. It is only registered, so the platform can trace and govern it. Build, deploy and promote are refused for an external agent, and it receives an API token instead.
Environments and pipelines
An environment is an OpenChoreo Environment. It carries a few settings: whether it is production, an optional Isolation tierAn optional setting on an environment, gvisor or kata, that asks for stronger sandboxing for the agents running there.See it in the glossary (gvisor or kata, for stronger sandboxing), which Agent Manager stores as an annotation, and the address its agents are published on. Deploying or promoting to an environment needs the permission amp:agent:env-non-production, and a production environment needs amp:agent:env-production as well.
A Deployment pipelineAn ordered list of environments with promotion paths that say where an agent may move next. A project points at one. A deploy lands in its first environment.See it in the glossary is an ordered list of environments. It is made of promotion paths, and each path has a source environment and the targets it can be promoted to. A project points at exactly one pipeline.
- The lowest environment is a source that no other path targets. A deploy goes there.
- PromotionMoving an agent from one environment to the next allowed one by pointing the next environment at the same release, with that environment's own settings and credentials.See it in the glossary moves a deployment to a target environment of the pipeline.
The chart creates one environment called default, which is not marked as production, and one pipeline with a single path and no targets.
Your turn
Open Try it and play the matcher: pair each level with who keeps it. Then look at the diagram and click AMS, OpenChoreo and Postgres. Which of the three holds the record of a project?
Recap
- Organisation, project and agent are nested. Environments belong to the organisation and a project reaches them through its pipeline.
- The organisation comes from the token. Projects, agents, environments and pipelines are kept in OpenChoreo. AMS’s database holds only its own extras.
- A deploy lands in the lowest environment of the project’s pipeline, and promotion moves it onward.
- An internal agent is built and run by the platform. An external agent is only registered.
Wrap up
Recap
Tick each one when you could explain it to a colleague.
Finished?
Chapter complete. Every lesson in this chapter is done.
Progress cannot be saved in this browser, so it will be forgotten when you leave this page.
Quick check
Spotted something wrong or unclear in this lesson? Report an inaccuracy (opens GitHub in a new tab)