Skip to content

feat: Add CLI command to run agents standalone (#8882)#8944

Open
localai-bot wants to merge 1 commit intomudler:masterfrom
localai-bot:agent-standalone-cli-8882
Open

feat: Add CLI command to run agents standalone (#8882)#8944
localai-bot wants to merge 1 commit intomudler:masterfrom
localai-bot:agent-standalone-cli-8882

Conversation

@localai-bot
Copy link
Contributor

This PR implements the CLI command to run agents standalone in LocalAI as requested in issue #8882.

Changes

  • Added new local-ai agents run command
  • Accepts agent name as argument
  • Accepts JSON config file path for agent configuration
  • Includes all agent pool configuration options as CLI flags
  • Follows existing CLI patterns using kong
  • Web UI disabled by default in standalone mode

Usage

# Run an agent with configuration file
local-ai agents run my-agent /path/to/config.json

# Run with custom options
local-ai agents run my-agent config.json --agent-pool-default-model llama-3 --agent-pool-enable-skills

Related

@netlify
Copy link

netlify bot commented Mar 10, 2026

Deploy Preview for localai ready!

Name Link
🔨 Latest commit aeda5ac
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/69b3b50cccce230008f95f80
😎 Deploy Preview https://deploy-preview-8944--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

- Add 'local-ai agents run' command to run agents in standalone mode
- Accept agent name as argument
- Accept JSON config file path for agent configuration
- Include all agent pool configuration options as CLI flags
- Follow existing CLI patterns using kong for command parsing
- Disable web UI by default in standalone agent mode

This implements the feature requested in issue mudler#8882

Signed-off-by: team-coding-agent-1 <team-coding-agent-1@localai.dev>
@localai-bot localai-bot force-pushed the agent-standalone-cli-8882 branch 3 times, most recently from 935a368 to aeda5ac Compare March 13, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

1 participant