Assemble context deliberately
Project rules, the file tree, notes and condensed history are assembled within budgets. A symbol index helps locate relevant declarations in the code.
Charly Agent
A custom coding agent for Java/Maven projects using local LLMs. It answers questions, edits code, verifies results and runs as an interchangeable runner in Charly AI Factory.
Permissions · Token budgets · Step limits · Event log
Inside the harness
Project rules, the file tree, notes and condensed history are assembled within budgets. A symbol index helps locate relevant declarations in the code.
Questions are handled in read-only mode. Writing requires an explicit mode and allowed paths. Tools check write permissions. The agent does not commit or push.
Completion triggers checks against placeholder tests and a Maven build. A build with no executed tests does not count as passing. Failed checks lead to bounded repairs.
The event stream records prompts, model responses, tool calls and builds. Scripted scenarios test behaviour without an LLM; live scenarios add evaluation with a model.
A factory component
CLI, browser UI and a container contract support different uses. In the factory, the agent performs a bounded task. Issue status, push, CI and review remain responsibilities of the orchestrator.
Factory architecture