Auggyv0.5.0
PublishedDocs / Start

Run an agent

Create a local Auggy agent and complete the first model turn.

Before you start

  • Node.js 20 or newer for the npm package.
  • Bun 1.2 or newer for the generated agent project.
  • An API key for a hosted model provider, or a running Ollama instance.

Create an agent

Install and scaffoldbash
npm i -g auggy
auggy create my-agent
cd my-agent

The create flow asks for the agent name, purpose, provider, and model, then writes a runnable Bun project.

Add the provider credential

Open .env and set the variable named in .env.example. Provider keys belong in .env, never in agent.yaml, skills, memory, or application code.

.env example for Anthropic.env
ANTHROPIC_API_KEY=sk-ant-...

Start the runtime

Validate and runbash
auggy doctor
auggy run

doctor validates the project and provider configuration. run starts the runtime and opens creator chat.

Run outputtext
Agent "my-agent" is live.

  Chat:     http://localhost:8080/console/chat
  Console:  http://localhost:8080/console
  Health:   http://localhost:8080/health
  Home:     http://localhost:8080/

Verify the first turn

  1. 1Open the printed Chat URL and send: Who are you, and what can you do?
  2. 2Confirm the reply reflects the name and purpose selected during create.
  3. 3If the turn fails, read the foreground terminal, correct the reported provider or configuration error, and rerun auggy doctor.

What just started

PartWhat it did
Runtime kernelLoaded the project and completed the model turn.
Model providerResolved the configured adapter and model client.
Web transportServed chat, console, health, and the agent runtime endpoint.
ConsoleProvided the local creator surface for chat and runtime inspection.

Next: add a capability

ContinueOutcome
Add an augmentInstall peer-scoped memory and see how an augment extends the running agent.

Related