Files
plyngent/doc/architecture.md
T

1.3 KiB

Code Architecture

  • plyngent
    • typedef: Shared type aliases.
    • lmproto: Protocols for interacting with LLM service.
      • (common)
        • model: Messages models of specified providers.
        • config: Configurations for specified providers.
        • client: Clients for accessing existent specified services.
        • server: Servers for accepting other clients.
      • openai
      • openai_compatible
      • anthropic
      • ollama
      • deepseek
        • openai_compat
        • anthropic
    • utils: Common utilities for code architecture.
      • components: Utilities for class composition.
    • memory: Storage controlling for sessions and messages.
    • router: Multi-source capability routing (Phase H; not implemented).
    • config: Plyngent configuration center (TOML), including [plugins].
    • agent: Tool loop, streaming, usage, compact; @tool / tags / registry.
    • tools: Workspace file/process/VCS/chat/todo tools; catalog; plugins; instance/session context and views.
    • prompting: Shared ask/choose/form for CLI and tools.
    • cli: Click entry, slash registry, REPL, one-shot chat.
    • web: Web service (Phase H; not implemented).

Plugins (third-party entry points, allowlisted under [plugins]): plugins.md.