Open Source LLMs as AI Agents: Exploring Capabilities and Boundaries Through Three Case Studies

    This article evaluates the practical capabilities of open-source large language models (LLMs) acting as AI agents. By analyzing three web development demo cases—commercial aerospace, deep-sea research, and luxury perfume brands—it examines the models' performance in code generation, visual understanding, and long-context planning. Additionally, it provides a four-layer architecture for enterprise adoption, comprehensive testing methodologies, and prompt engineering best practices, highlighting the critical difference between demo results and production-ready deliverables.

    Conclusion First: Demo Results Are Not Deliverable Capabilities

    Recently, an open-source LLM has attracted significant attention from developers. Demo results show it can produce runnable outputs for certain Agent tasks. However, existing materials do not provide the model’s name, version, evaluation benchmarks, or scores, making it impossible to assess its overall gap compared to closed-source models. This article discusses what these three demo cases can actually demonstrate and how enterprises should validate models before deployment.

    Three Demo Cases

    Case 1: Full-Stack Generation for a Commercial Aerospace Website

    The task required the model, acting as an Agent, to independently build a website for a commercial aerospace company. Requirements included brand visuals, flight booking, seat selection, and data persistence.

    The demo showed a frontend featuring a space capsule background, monospace parameter panels, and status indicator animations. The booking process successfully handled date selection, seat selection, and passenger information input. Data was saved, and the limit of six seats per flight functioned as designed.

    This case indicates the model can understand basic fields and state transitions in a booking system, such as seat locking and releasing. However, a single demo only proves it can complete one flow path. To judge reliability, repeated runs are necessary, including checks on concurrent bookings and abnormal inputs.

    Case 2: Content Planning for a Deep-Sea Research Institute Website

    The second task involved building a website for a deep-sea exploration research institute. The model had to simultaneously manage brand tone, scientific content, and visual storytelling.

    The demo implemented a scrolling transition simulating descent from the ocean surface to the depths, using a split-screen design with blue gradients to differentiate depth levels. Parameter cards for three submersibles included propulsion methods and observation window sizes. Six deep-sea creatures each occupied a screen, alongside field notes written from three different perspectives.

    This content suggests the model can enrich industry-specific details based on project context, such as equipment parameters, biological classifications, and personnel roles. However, this supplementary professional information requires verification by domain experts. The parameters provided by the model may appear reasonable but might not be accurate; they must be fact-checked item by item before official release.

    Case 3: Visual Presentation for a Luxury Perfume Brand

    The third task was a website for a high-end perfume brand. The page featured an amber perfume bottle on a marble countertop, with slow-rotating liquid animation inside. Light passing through the glass produced caustic effects, and the serif font remained consistent with the overall style.

    The demo avoided bright promotional colors and kept animations restrained, aligning the overall tone with luxury brand positioning. This indicates the model can maintain a consistent visual language under style constraints. But since this result comes from a single demo, it does not prove the model’s aesthetic judgment is stable. To validate this, design teams can score multiple sets of proposals and document the scoring criteria.

    Technical Clues Behind the Capabilities

    Long Context and Multi-step Planning

    A commonality across the three cases is the lengthy task chain. The model must maintain goal consistency across multiple rounds of generation, from brand concept to page structure, down to components and data logic.

    Common approaches in public materials include expanding the context window, optimizing positional encoding, and using sparse attention. These methods improve long-sequence processing efficiency. However, the demo materials did not specify which method was used, so readers should not directly attribute the case results to specific architectural improvements.

    Code Training and Execution Feedback

    The model’s generated code could run directly, as demonstrated in Case 1. Some training methods introduce execution feedback, allowing the model to observe the code’s runtime results and correct its output accordingly. This helps improve consistency between code and runtime behavior. Still, runnable code does not mean it is bug-free. The code still requires testing to cover boundary conditions and security issues.

    Joint Understanding of Vision and Text

    In Cases 2 and 3, the model needed to understand spatial relationships, colors, and lighting, translating this information into web code. This shows a strong connection between visual description and code generation. The specific effectiveness depends on the model’s training data and prompt quality, requiring isolated testing in target scenarios.

    Four-Layer Architecture for Enterprise Deployment

    If enterprises consider using Agents for business processes, they can refer to the following four-layer division. Each layer should define its inputs, outputs, and acceptance metrics.

    Layer 1: Model Service Layer. Responsible for integrating different models and handling scheduling, rate limiting, and degradation. Input: business requests. Output: model responses. Key metrics: response latency, failure rate, and cost per call.

    Layer 2: Agent Orchestration Layer. Responsible for breaking down tasks, calling tools, and managing state. Input: user goals. Output: execution plans and tool call logs. Key metrics: task completion rate and tool call accuracy.

    Layer 3: Application Building Layer. Provides low-code components and process orchestration, allowing business personnel to participate in building. Input: business rules. Output: deployable application modules. Key metrics: component reuse rate and deployment cycle.

    Layer 4: Scenario Operation Layer. Connects internal systems with external data and continuously adjusts based on operational results. Input: business feedback and runtime logs. Output: optimization plans. Key metrics: user satisfaction and changes in business KPIs.

    How to Evaluate Agent Effectiveness

    Evaluation must cover code, processes, and long-term performance. Here is a three-tier approach with corresponding examples.

    Tier 1: Unit Testing. For each function generated by the model, design normal, boundary, and error inputs to check if outputs meet expectations. For example, the seat limit function should reject a seventh booking request after the sixth seat is taken.

    Tier 2: End-to-End Testing. Check the final deliverable in a complete process. Taking flight booking as an example, test the entire flow from seat selection to payment and data saving, recording where failures occur. The pass criteria can be set to running continuously 100 times and achieving a pre-defined success threshold. The threshold should be determined by the business team.

    Tier 3: Regression Testing. After the model or prompt is updated, rerun a fixed set of test cases and compare the results. If the pass rate of critical cases drops, a rollback or adjustment is necessary.

    How to Write Prompts

    The demo team found that with next-generation Agent models, goal-oriented descriptions are often more effective than step-by-step instructions. For example, “Build a commercial aerospace company website including brand showcase, flight booking, and seat selection features” is more concise than listing page layouts and button positions line by line.

    However, goal-oriented descriptions carry risks. The model might supplement requirements on its own, causing results to deviate from expectations. In practice, the following approach can be adopted: state the goal first, then list constraints that must be met (e.g., data storage method, seat limit, and disabled tech stacks), and finally specify acceptance criteria. The clearer the constraints, the easier the results are to verify.

    Opportunities and Limitations of Open Source Models

    The main advantages of open-source models lie in local deployment, on-demand fine-tuning, and public auditing. Enterprises can use industry data for domain adaptation and study the model’s failure modes on specific tasks.

    The limitations are equally clear. Open-source models require enterprises to bear deployment costs, security protection, and compliance audits independently. Their evaluation results also need independent reproduction. For high-risk scenarios like payments, healthcare, and finance, manual review and strict access control are still mandatory.

    Practical Recommendations

    Step 1: Choose a small task with clear boundaries, such as a single page or a single query flow. Get it running first, then expand the scope.

    Step 2: Document the test environment, including model version, inference parameters, browser, dependency versions, and original prompt, ensuring results are reproducible.

    Step 3: Design failure samples for each case. Failure records are as important as success records; they help the team identify the model’s capability boundaries.

    Step 4: Have humans review critical content before launch, especially data, parameters, and external commitments.

    The evolution of Agent technology is moving from line-by-line coding to goal definition and result auditing. However, this transition must be built on verifiable processes. Before introducing a new model, teams should answer three questions: What are the acceptance criteria for the task? Who is responsible when it fails? How will the results be checked?