Skip to content

Latest commit

 

History

History
269 lines (198 loc) · 7.08 KB

agents.md

File metadata and controls

269 lines (198 loc) · 7.08 KB

AI agents

adios agent runs repository-aware engineering tasks and published catalog agents. Managed Adios AI is the default, while OpenAI, Gemini, an HTTP model endpoint, and local Ollama can be selected explicitly.

Repository agent

Start the interactive console in the current directory:

adios agent

Or run one task and return to the shell:

adios agent run "Add tests for the authentication middleware"

Target another directory with --dir:

adios agent --dir ./services/api
adios agent run --dir ./services/api "Explain the request lifecycle"

The hosted model decides which bounded local tools to request, while repository reads, file changes, and commands are performed by the CLI against the selected directory. Modifying tools require terminal confirmation by default. Review the proposed operation before approving it.

Disable specialist delegation for a focused run:

adios agent run --sub-agents=false "Update the package documentation"

Model providers

Use managed Adios AI without provider flags:

adios agent

Select OpenAI or Gemini explicitly:

adios agent --provider openai
adios agent --provider gemini

When OPENAI_API_KEY or GEMINI_API_KEY is present, the selected credential is used locally. When the matching local key is absent, Adios can resolve an eligible team-stored provider connection without returning that credential to the CLI.

Override the provider model when needed:

adios agent --provider openai --model <model-name>

Use a compatible HTTP model endpoint:

export HTTP_MODEL_BASE_URL=https://models.example.com/v1
export HTTP_MODEL=provider-model-name
adios agent --provider http

Set HTTP_MODEL_API_KEY through your normal secret-injection mechanism if the endpoint requires authentication.

Or use Ollama running locally on its default endpoint:

adios agent --ollama

Provider environment variables are listed in Configuration and contexts. Do not put provider keys in a repository or committed shell script.

Durable interactive sessions

Interactive repository chats can be resumed for the same local project and Git branch. Inside the console, use:

/sessions
/resume <session-id>
/new pricing redesign
/history

Chats and Git work can branch independently:

/branch chat alternate pricing
/branch git feature/storefront
/branch both feature/checkout
/branches

A chat-only branch shares the working directory but starts an independent conversation. A Git-only branch retains the chat. A combined branch requires a clean working tree so source and conversation history stay aligned.

Machine-specific paths, local-provider transcripts, and the cloud-session index are kept in a private agent-sessions.json beside the selected Adios configuration file. Managed conversations keep their API-owned session state.

Agent catalog

List built-in and team-published agents:

adios agent catalog
adios agent catalog --scope system
adios agent catalog --json

Inspect a definition and start a conversation by immutable ID, stable slug, or qualified namespace/slug:

adios agent show <definition-id>
adios agent chat company \
  "Continue my company plan and ask for the most important missing decision"

Continue an existing pinned conversation:

adios agent chat company --session <session-id> \
  "Turn the chosen priorities into next steps"

Use --async when automation should return as soon as a run is accepted, and --json when the response will be consumed by another program.

Landing Page Creator

The landing-page catalog agent can write a new Next.js project to an empty directory and start a local preview:

adios agent chat landing-page \
  "Build a multilingual Italian restaurant website for Barcelona"

Choose the output and make workspace creation non-interactive:

adios agent chat landing-page \
  --output-dir ./restaurant-site \
  --no-workspace \
  "Build a multilingual Italian restaurant website for Barcelona"

Generate files without installing dependencies or starting the preview:

adios agent chat landing-page \
  --output-dir ./restaurant-site \
  --no-preview \
  --no-workspace \
  "Build a multilingual Italian restaurant website for Barcelona"

The output directory must be empty. A generated local preview is not a production deployment; deploy it with adios up or import it into a workspace and use adios workspace deploy.

Catalog agents are also available from the interactive console:

/agents
/agent landing-page Build an Italian restaurant website for Barcelona

Agent Kits

Agent Kits expose immutable specialist functions with structured JSON input. List kits and invoke an entrypoint:

adios agent kits
adios agent kits invoke company-suite plan-marketing \
  --input-file ./marketing-brief.json

Run a specialist against a workspace or a Company Project:

adios agent kits invoke company-suite plan-tech \
  --workspace <workspace-id> \
  --input-file ./technical-brief.json

adios agent kits invoke company-suite plan-marketing \
  --project <project-id> \
  --repository <repository-id> \
  --input-file ./marketing-brief.json

Use adios agent kits invoke --help for the exact context and idempotency flags supported by the installed version.

Company Projects, checkpoints, and tasks

Company Projects connect durable agent sessions to shared Git-backed source. The operational commands return JSON suitable for automation:

adios agent overview
adios agent projects
adios agent projects show <project-id>
adios agent sessions --project <project-id>
adios agent sessions checkpoints <session-id>
adios agent tasks --project <project-id>
adios agent usage

Start a catalog agent from a project repository and optional immutable checkpoint:

adios agent chat company \
  --project <project-id> \
  --repository <repository-id> \
  --checkpoint <checkpoint-id> \
  "Improve the plan using the latest customer evidence"

Project work uses an isolated branch. Pull-request creation is explicit, and project archive, source detach, pull-request merge, and pull-request close operations require --yes. Inspect the target project, source, or work cycle before confirming one of those operations:

adios agent projects work-cycles --help
adios agent projects sources --help

Agent-proposed tasks do not execute merely because they were created. Use adios agent tasks update to approve, prioritize, complete, block, or dismiss a task deliberately.

Runs and published definitions

Advanced command groups support normalized version-pinned runs and team-owned agent definitions:

adios agent runs
adios agent runs show <workspace-id> <run-id>
adios agent runs logs <workspace-id> <run-id>

adios agent definition pull <definition-id>
adios agent definition validate <definition-id>
adios agent definition publish <definition-id>

Definition publishing creates an immutable version. Read adios agent definition --help and validate the draft before publishing.

Back to the documentation index