Metadata-Version: 2.4
Name: euron-coding-agent
Version: 0.3.0
Summary: Lightweight provider-agnostic agentic coding backend (CLI + server) for the Euron VS Code extension.
Author: Euron Agent contributors
License: MIT
Project-URL: Homepage, https://github.com/euron-tech/Euron-coding-agent
Project-URL: Issues, https://github.com/euron-tech/Euron-coding-agent/issues
Keywords: ai,agent,coding,llm,cli,vscode
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fastapi>=0.110
Requires-Dist: uvicorn[standard]>=0.29
Requires-Dist: pydantic>=2.6
Requires-Dist: python-dotenv>=1.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: openai>=1.30
Requires-Dist: httpx>=0.27
Requires-Dist: rich>=13.7
Provides-Extra: anthropic
Requires-Dist: anthropic>=0.34; extra == "anthropic"
Provides-Extra: mcp
Requires-Dist: mcp>=1.0; extra == "mcp"
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Dynamic: license-file

# euron-agent (backend)

The Python agent backend behind the **Euron Coding Agent** VS Code extension —
also a standalone CLI. Provider-agnostic (Euron/Euri, OpenAI, OpenRouter,
Anthropic, Ollama, or any OpenAI-compatible / self-hosted endpoint).

## Install

```bash
pip install euron-coding-agent   # add: pip install "euron-coding-agent[anthropic]" for Claude
```

## CLI

```bash
euron-agent init                 # scaffold config.yaml + .env (optional)
euron-agent providers            # list providers
euron-agent run "add a /health route to app.py"
euron-agent chat                 # interactive REPL (keeps context)
euron-agent serve --port 0       # run the API/WebSocket server (0 = auto-port)
```

Set a key via environment (`OPENAI_API_KEY`, `EURI_API_KEY`, …) or `config.yaml`.
Built-in provider profiles mean no config file is required — just pick a
provider and supply a key.

## Server

- `GET  /health` — liveness.
- `GET  /providers` — configured providers.
- `POST /agent/run` — one-shot, non-interactive (set `"auto_approve": true`).
- `WS   /ws` — streaming agent with per-action approval (used by the extension).

The WebSocket `init` message accepts `provider`, `model`, `api_key`, and
`base_url` so secrets never need to live on disk.

See the [project README](https://github.com/euron-tech/Euron-coding-agent) for the
full architecture and the VS Code extension.

## License

MIT
